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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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