Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
I am using Rank function
Rank = RANKX ( ALLSELECTED ( Table1[STORE] ), CALCULATE ( SUM ( Table1[SPACE] ) ) )
my question is how do I keep Rank as it is when I select Branch B. simple say when I select Only Branch B my output will be
Store | Space | Rank |
BRANCH B | 2500 | 2 |
(Because Rank will be changed according to selection)
I want to keep Rank as my first data set though I selected One branch from the Slicer. ( I don't want to change Rank No)
Thank you,
Harsha
Solved! Go to Solution.
You can use calculate column instead of measure.
Rank Column = RANKX(Table1, Table1[SPACE])
Or you can modify your measure like below.
Rank Measure = RANKX(ALL(Table1), CALCULATE(SUM(Table1[SPACE])))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can use calculate column instead of measure.
Rank Column = RANKX(Table1, Table1[SPACE])
Or you can modify your measure like below.
Rank Measure = RANKX(ALL(Table1), CALCULATE(SUM(Table1[SPACE])))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try replacing allselected with all in your measure
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
70 | |
42 | |
42 |
User | Count |
---|---|
49 | |
42 | |
29 | |
28 | |
27 |