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
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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

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

Top Solution Authors