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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Rt123
Frequent Visitor

Rounding of numbers to thousands without rounding up/down

Hello, I am trying to get the right number format for some financial numbers.

e.g.   mymeasusre = 123,456,789.00

 

If I roundit to thousands with #,##0, - it gives me 123457 after rounding up at thousands.

Is there any way I could keep the number as 123456.

 

Any help would be appreciated.

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

How about INT([Value]/1000)

View solution in original post

v-zhouwen-msft
Community Support
Community Support

Hi @lbendlin ,thanks for the quick reply, your thinking is exactly right, I also thought of another way to do it.

Hi @Rt123 ,

Use the following DAX expression to create a measure

Measure 2 = 
VAR _a  = LEFT(FORMAT([Measure],"0"),6)
VAR _b = VALUE(_a)
RETURN _b

vzhouwenmsft_0-1711965694567.png

 

View solution in original post

2 REPLIES 2
v-zhouwen-msft
Community Support
Community Support

Hi @lbendlin ,thanks for the quick reply, your thinking is exactly right, I also thought of another way to do it.

Hi @Rt123 ,

Use the following DAX expression to create a measure

Measure 2 = 
VAR _a  = LEFT(FORMAT([Measure],"0"),6)
VAR _b = VALUE(_a)
RETURN _b

vzhouwenmsft_0-1711965694567.png

 

lbendlin
Super User
Super User

How about INT([Value]/1000)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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