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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
vpatel55
Kudo Commander
Kudo Commander

Format to two decimal places

I'm trying to use FORMAT to get a measure to report to two decimal places. For example, £1.73M. However, the output is only showing £1.7M. It needs to be manually formatted because it will format part of a larger sentence.

 

Here is the formula being used. Any help would be appreciated.

 

 

FORMAT([value],"£#,##,,.0M"

 

 

Thanks.

1 ACCEPTED SOLUTION
AntonioM
Solution Sage
Solution Sage

Hi @vpatel55 ,

 

I think you need to 0s at the end to force the decimal places, instead of the #s earlier. 

 

FORMAT([Value],"£#,,.00M")

 

AntonioM_0-1662725605958.png

 

View solution in original post

2 REPLIES 2
vpatel55
Kudo Commander
Kudo Commander

Fabulous, thanks @AntonioM !

AntonioM
Solution Sage
Solution Sage

Hi @vpatel55 ,

 

I think you need to 0s at the end to force the decimal places, instead of the #s earlier. 

 

FORMAT([Value],"£#,,.00M")

 

AntonioM_0-1662725605958.png

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.