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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors