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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Conditional Formatting for Icon Incorrect Display

Hi,

 

I've a matrix which shows "Discount Band", the number of rows for each band and the percentage of the total. In addition, I've specfied the conditional formatting for the icons to as below. But the icons didn't turn out correctly.

MeiWah_0-1645459560460.png

 

MeiWah_2-1645459677201.png

MeiWah_3-1645459846652.png

 

I've changed the percentage in the conditional formatting to number but it didn't turn out correctly as well. 

MeiWah_5-1645460057458.png

 

MeiWah_4-1645460047407.png

 

Appreciate if anyone can help. Thk u very much! 😉

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

You can update the setting of conditional formatting as below screenshot, please find the details in the attachment.

1. What field should we base this on? Choose [%CT Count of Rows]

2. Rules options: change using Percent to Number

yingyinr_0-1645692248566.png

Best Regards

View solution in original post

6 REPLIES 6
Pragati11
Super User
Super User

Hi @Anonymous ,

 

You are not configuring conditional formatting on the right column.

The screenshot suggests you are doing based on Count of Rows:

Pragati11_0-1645460370852.png

The number type in the conditional formatting needs to be on the column as shown below:

Pragati11_1-1645460429482.png

How can this column have something like 0 to 0.25 which you are defining in the conditional formatting window. This is where things are going wrong.

Correct your conditonal formating rules based on the Coount of Rows column in your original dataset.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hi Pragati,

 

But my user requirement is for conditional formatting of icon to be on the percentage column. Pls there any solution for this? Thks!

MeiWah_0-1645493342139.png

 

mh2587
Super User
Super User

Specify percentage value like 0.35 for 35% , 0.22 for 22% and onward in rules


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Anonymous
Not applicable

Hi mh2587,

I've changed to percentage but the results is not correct as well. 

MeiWah_1-1645494794898.png

 

Anonymous
Not applicable

Hi @Anonymous ,

You can update the setting of conditional formatting as below screenshot, please find the details in the attachment.

1. What field should we base this on? Choose [%CT Count of Rows]

2. Rules options: change using Percent to Number

yingyinr_0-1645692248566.png

Best Regards

Anonymous
Not applicable

Thks Yingyinr, I guess I will need to create a new measure like what u've suggested as a work around. I hope that Microsoft will take note of this 

MeiWah_0-1645693019719.png

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.