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.
KPI visual shows BLANK() when there is a GOAL but not callout value.
I tried creating a measure to modify the green colour and show it white (#ffffff) to hide the Blank() within the background with this:
Solved! Go to Solution.
Thanks for your answers, but... placing a 0 does not work, because 0 means 0 and it's different than blank. Also, the second option is not valid for KPI visual, which needs a numeric number.
The solution I found was using LEN(). if (LEN(measure) >0, #colour, #transparent)
Thanks for your answers, but... placing a 0 does not work, because 0 means 0 and it's different than blank. Also, the second option is not valid for KPI visual, which needs a numeric number.
The solution I found was using LEN(). if (LEN(measure) >0, #colour, #transparent)
Hi HoracioRek
Please consider these 2 options and click thumbs up and accept as solution buttons. Thanks 😎
I have added comments to expalin how they work
Answer1 =
// By adding zero you can force dax to always return 0 instead of blank
0 +
LASTNONBLANKVALUE('RAM Indicator ratings'[Target value],0)
Answer2 =
// Use the if command to return "" insteas of blanks
VAR answer = LASTNONBLANKVALUE('RAM Indicator ratings'[Target value],0)
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |