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

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.