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
gustavo80
Helper III
Helper III

Custom format number for a measure

Hi 

 

I think this is a silly question but I couldn't find any solution.

 

In a column I have whole number as decimal numbers too. I need that in a matrix, the whole numbers were displayed without decimals, and decimal numbers with decimals. Is is posible through any custom format ?

 

Currently are showing like this:

 

100,00

2,50

76,38

10,00

 

I need:

 

100

2,50

76,38

10

 

Thanks in advance,

Regards

1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

Hi @gustavo80 ,

 

Check this post:

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand...

 

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

4 REPLIES 4
camargos88
Community Champion
Community Champion

Hi @gustavo80 ,

 

Check this post:

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand...

 

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Thanks, that was exactly what I need!! 

 

Regards

amitchandak
Super User
Super User

hi @amitchandak ,

 

Thanks, I have read that doc previous to my post, but I couldn't find a combination that suits for my need. Is there anyone ? I need that my custom format works in a little differente way for whole numbers or decimal numbers.

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.