March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |