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
Dear Friends,
I am novice to Power BI and try to use CARDS with Player Highest Run and want to show if batter is OUT or NOTOUT (with *).
Its working fine in charts, but same logic/measure does not work in Cards.
Any Idea?
Please see Images and below Measures.
_Label_Display = if(SELECTEDVALUE(Sheet1[Out OR NotOut])="N","*","")
Solved! Go to Solution.
Hi @vinay_naran - Please check the below measure:
This helps.
Proud to be a Super User! | |
Hi @vinay_naran -Create a measure that calculates the maximum run and appends the * for "Not Out" directly within the same measure.
_Max_Run_With_Label =
VAR MaxRun = MAX(Sheet1[Runs])
VAR IsNotOut = SELECTEDVALUE(Sheet1[Out OR NotOut]) = "N"
RETURN
MaxRun & IF(IsNotOut, "*", "")
you can use this measure in your card vis.using this measure in your card, you should be able to achieve the desired output
Hope this helps.
Proud to be a Super User! | |
Hi @rajendraongole1 ,
I have tried with your measure but it NOT working in CARD. See Image below.
Thanks
Vinay
Hi @vinay_naran - Please check the below measure:
This helps.
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |