Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello PowerBI Pals!
I have this RANKX Measure that ranks products based on turnover.
However, in situations where there is no data, or limited data you can see this situation for example where there is a repeating 1...
Is it possible to display a blank or a dash or something else to deal with these situations?
Thanks very much 🙂
Alex
Solved! Go to Solution.
Hi @Anonymous ,
Try this:
RANK - Turnover - Global BlendRankByMeasureValue =
RANKX (
ALL ( 'Product Metadata'[Blend] ),
CALCULATE ( [Group 2 Turnover] ),
,
DESC
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @Anonymous ,
Try this:
RANK - Turnover - Global BlendRankByMeasureValue =
RANKX (
ALL ( 'Product Metadata'[Blend] ),
CALCULATE ( [Group 2 Turnover] ),
,
DESC
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Can you show the visualization in which you add the measure? because I can't understand the table. How do you know it repeats 1? I can't find the "RANK - Turnover - Global BlendRankByMeasureValue" in that table. Let's also consider to rank by the correct column the "all" function.
Let's recap that RANKX will show the same ranking value when the Measure has the same value for the column inside the ALL.
Regards,
Happy to help!
Hi. I think you can try ALLNOBLANKROW instead of ALL. Otherwise we might need to create a conditions asking for blank in case you don't wan them to be considered.
Hope it works,
Happy to help!
thanks for this! Unfortunately using ALLNOBLANKROW i still see the repeating Rank 1 pattern. Thanks
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
79 | |
74 | |
56 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |