Skip to main content
cancel
Showing results for 
Search instead 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

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
Europe Fabric Conference

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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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