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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
JasonG-BI
Helper I
Helper I

Rounding down to the nearest 0.5

Hi,

 

I am trying to implement a formulae that rounds down to the nearest 0.5. i.e 20.33 would be 20.00. 25.75 would be 25.5........

 

Any help with a formulae would be much appreciated. I've tried INT but to no success as yet.

1 ACCEPTED SOLUTION
JasonG-BI
Helper I
Helper I

Think I've solved my own question with Floor(Column,0.5) using a measure

View solution in original post

2 REPLIES 2
MattWills
Frequent Visitor

I think you can just use this - in this example it's taking a column called Discount which is in the form of a decimal, i.e. 0.63 = 65% and rounding it to the nearest 5%


Number.Round(([Discount]/0.05),0)*0.05
@JasonG-BI 

JasonG-BI
Helper I
Helper I

Think I've solved my own question with Floor(Column,0.5) using a measure

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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