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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

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.

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

Happy to help 🙂

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors