We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Power BI Community Good Day!
I am using the following measure in my dashboard as a label.
The number is negative. How can I modify the dax measure below to show red if the number is negative?
Solved! Go to Solution.
Hi, @PBI-Curious
Conditionally formatted measures need to be written separately.
Color measure = IF([Amount Lost]<0,"Red")
This is the Card view.
This is the Table view.
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @PBI-Curious
Conditionally formatted measures need to be written separately.
Color measure = IF([Amount Lost]<0,"Red")
This is the Card view.
This is the Table view.
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can use conditional formatting on the visual - see this guide for how to do that: https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
28 | |
20 | |
14 | |
11 | |
5 |