Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
spagad6263
Post Patron
Post Patron

Is there a visual can show negative value as an icon in table?

Hi, I would like to show the variance % column as an icon, maybe Red light when Variance %<0, and Green light when Variance % >=0. Andy suggestion?

 

spagad6263_0-1716341957960.png

 

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@spagad6263 

you can try to use conditional formatting in table visual

 

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting?wt.mc...

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Ritaf1983
Super User
Super User

Hi @spagad6263 
You can achieve the desired result with conditional formatting.
In the first step create the measure with the wanted logic.
For example :

Variance = DIVIDE(sum('Table'[Budget]),SUM('Table'[Actual]))-1
Then put the measures in the table and on variance apply the conditional formatting :

Ritaf1983_0-1716342991527.png

*The unreal big numbers are just because we need to five to the engine a range

Result:

Ritaf1983_1-1716343113405.png

Please note that from the perspective of effective data visualization, it is preferable to highlight only the negative (red) in the alert.

Green adds unnecessary noise, requires more decoding, and more.

The goal of the alert is always to draw attention to where process improvement is needed, and red stands out much more against neutral colors than when there are other colors next to it.

For your consideration 🙂

Ritaf1983_2-1716343505134.png

 

The pbix with examples is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super User

Hi @spagad6263 
You can achieve the desired result with conditional formatting.
In the first step create the measure with the wanted logic.
For example :

Variance = DIVIDE(sum('Table'[Budget]),SUM('Table'[Actual]))-1
Then put the measures in the table and on variance apply the conditional formatting :

Ritaf1983_0-1716342991527.png

*The unreal big numbers are just because we need to five to the engine a range

Result:

Ritaf1983_1-1716343113405.png

Please note that from the perspective of effective data visualization, it is preferable to highlight only the negative (red) in the alert.

Green adds unnecessary noise, requires more decoding, and more.

The goal of the alert is always to draw attention to where process improvement is needed, and red stands out much more against neutral colors than when there are other colors next to it.

For your consideration 🙂

Ritaf1983_2-1716343505134.png

 

The pbix with examples is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Btw, I remember you have answered quite a few of my questions and the they really help! Much appreciate your advice.

Happy to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thanks for the quick reply. I will give it a try. Thanks

 

ryan_mayu
Super User
Super User

@spagad6263 

you can try to use conditional formatting in table visual

 

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting?wt.mc...

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.