Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
Is there a way to create an index or rank measure for the following graph, where 'Unknown' is always displayed on the extreme right-hand side of the graph, regardless if it has the lowest value or not?
Thanks in Advance
Solved! Go to Solution.
I am assuming your value is from a measure. In my sample I have another measure that checks the value and returns 0 if it is "Unknown".
Ranking =
VAR _Value = SELECTEDVALUE ( YourTable[Value] )
RETURN
IF ( _Value = "Unknown",0,[Total Amount])
Then I can add this second measure as a tooltip to the chart which will then let me sort by it.
I am assuming your value is from a measure. In my sample I have another measure that checks the value and returns 0 if it is "Unknown".
Ranking =
VAR _Value = SELECTEDVALUE ( YourTable[Value] )
RETURN
IF ( _Value = "Unknown",0,[Total Amount])
Then I can add this second measure as a tooltip to the chart which will then let me sort by it.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |