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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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

Anonymous
Not applicable

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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