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, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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