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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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

@gustavo80 , refer if this can help

https://docs.microsoft.com/en-us/power-bi/desktop-custom-format-strings

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors