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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Vitalijus
Frequent Visitor

Conditional Formatting One Value Different Icons

Hi,
Created a simple Conditional Formatting rule, but sometimes value 1 shows Yellow which is incorrect, according to the rule value 1 shuld be Green always, where could be the problem? I posted like 14 decimal places but is still 1.

2.png1.png

 

Thanks

4 REPLIES 4
v-lili6-msft
Community Support
Community Support

hi  @Vitalijus 

If you change the data type from decimal number to Fixed decimal number and try it again.

and if you still have the problem, please share your sample pbix file for us have a test.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Agreed with Pragati11, check the data types.  Is there DAX doing the calculation?  If not, try coding the DAX one of three ways:

DivideColumn = Numbers[Actual]/Numbers[Forecast]
DivideMeasure = SUM(Numbers[Actual])/SUM(Numbers[Forecast])
DivideMeasureDiv = DIVIDE(SUM(Numbers[Actual]),SUM(Numbers[Forecast]))
Tested all three and the behavior was the same (June 2020 release).Capture.JPG
Pragati11
Super User
Super User

Hi @Vitalijus ,

 

Are values in "AQ+Orders / Forecast" decimal type?

They look like they are not. I see a comma in them rather than a dot which is for decimal numbers.

Check datatype of your column.

 

Thanks,

Pragati

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!!

amitchandak
Super User
Super User

@Vitalijus ,  Try this, if it can work. Create a rounded 2 or 3 decimal place number and have conditional formatting on that.

 

Also, log and check issue at :

https://community.powerbi.com/t5/Issues/idb-p/Issues

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.