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

Be 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

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
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.