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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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