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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
FaisalZahid
New Member

Conditional formatting not qorking correctly for decimal values which are not 0 or 5

16981258450336913407659922153490.jpg

 

Hi everyone,

 

I am comparing two set of data to see if values match. I have applied conditional formatting so the data on the right is green if the data matches and red of it doesn’t. 

 

However, there are values which match but are highlighted as red. It seems to be decimals that do not end in 0 or 5, i.e. not whole or half decimal values.

 

I have formatted the data sets so they are Number values to 2.d.p.

 

Would appreciate any assistance in resolving this matter.

 

Thanks.

1 REPLY 1
rsbin
Super User
Super User

@FaisalZahid ,

Formatting to 2 decimal places is not the same as rounding to 2 decimal places.

Willing to wager if you expand to 3 or more places, you will see 7.63xx <> 7.63yy.

To change the value of your columns, use the ROUND function to round out the value to 7.63

ie. ROUND( [PT1&2], 2 ).

Hope this helps to resolve this matter.

Regards,

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors