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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ddorhout
Frequent Visitor

Bug in conditional formatting?

Dear community,

 

I am facing some issues with conditional formatting that I do not understand.

It is based on the share of a category within another table. 

 

ddorhout_0-1637760031106.png

I based the background color (grey) in the left row on a rule of >5%. How can it be that also lower values are colored? (e.g. the 8 in the end represents 0.92%, why is it still in grey?

 

Note:

All filters are removed.

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @ddorhout 

 

You should use 'number' as condition, then it will display correctly.

 

vjaneygmsft_0-1638167845025.png

'Percent' is used to filter the range, not for every percentage of the number.

vjaneygmsft_1-1638170442785.png

Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,
Community Support Team _ Janey

View solution in original post

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

Hi, @ddorhout 

 

You should use 'number' as condition, then it will display correctly.

 

vjaneygmsft_0-1638167845025.png

'Percent' is used to filter the range, not for every percentage of the number.

vjaneygmsft_1-1638170442785.png

Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,
Community Support Team _ Janey

ddorhout
Frequent Visitor

Apperently, when I dont base the rule on the percentage, but the number, then it seems to work.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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