Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88050

filterbased ranking in powerpivot table

$
0
0

I hope you might be able to help me. My table (T-Brand) consist of the following columns:

Category, Subcategory, Segment, Brand: Benefit, Brand : Benefit, Timeslots, the brands itself and their respective sales also one column (dynamicRank) in which I want to rank the brand sales.

I use this formula to calculate the brand sales for each brand for each category, benfit, brand and timeslots (e.g. years, quarter, etc) combination. This seems to work well.

CALCULATE(SUM('T-Brand'[Value]);ALLEXCEPT('T-Brand';'T-Brand'[Product: Category];'T-Brand'[Product: Brand (global)];'T-Brand'[Product: Benefit];'T-Brand'[Timeslots]))

….but instead of the calculated sales value I am "just" interested in the ranking of each brand based on the above filters. I tried to use RANKX but I am not able to make the ranking based on the filters. it is alway showing me the rank of a brand in the total table not the filtered one..


Viewing all articles
Browse latest Browse all 88050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>