cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

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

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

Helper I

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

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.