Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
How to get this measure on the card total? I am only looking to get 27 on card visual but it comes blank. I tried aggregation on top of this "Rank Ongoing Selected" but it did not work.
I am looking to show Rank of Avg Ongoing Cost where Z_highlight = 1. There are also slicer changing the filter context hence I am using ALLSELECTED for Rank.
Solved! Go to Solution.
I just found the solution, sharing for the community. The final step was to get Rank 27 from the last column onto the card. I am using the below DAX to create a final summary of the last column.
I just found the solution, sharing for the community. The final step was to get Rank 27 from the last column onto the card. I am using the below DAX to create a final summary of the last column.
Thanks for the response Amit. but if we use ALL in RANK then we will lose the filter context set by the slicers. There are slicers on page that reduces the data set to few brands only. Rank is calculated based on selected values.
@Anonymous , That is a problem, when selecting a brand in visual, you have only that brand. so allselected will be given Rank 1.
Interaction off - it will not work
removefilters, all I tried a few more combinations, but they remove the brand from the context. So did not work for me.
Wait for other users to provide some solution
@Anonymous , assume you create a rank like
Rank Brand = Rankx(ALL('Item'[Brand]),[Net]) // using all
Then this measure can give selected rank for brand
Rank M = maxx(VALUES('Item'[Brand]), [Rank Brand])
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |