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

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

Reply
Anonymous
Not applicable

Custom format number result

Hey I format my messaure with dax to show + and - in some cases, so i just do it like that:

 FORMAT(diff,"+#,0.0;-#,0.0;0")
then from this - 5991687, Im able to see this - +5,991,687.0.
I want to show it in 2 diffrent ways:
the first: +5,99M
the second: +599k

What should i change in this "+#,0.0;-#,0.0;0" to get these results?
I expect that to add k or M I will simply have to combine the result of the formula with this text and create 2 separate measures
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Please have a try.

Column = FORMAT('Table'[value], "+#,K")
Column2= FORMAT('Table'[value], "+#,,.00M")

vpollymsft_0-1667192737765.png

If I have misunderstood your meaning, please provide more details with your desired output and pbix file without privacy information. 

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

Please have a try.

Column = FORMAT('Table'[value], "+#,K")
Column2= FORMAT('Table'[value], "+#,,.00M")

vpollymsft_0-1667192737765.png

If I have misunderstood your meaning, please provide more details with your desired output and pbix file without privacy information. 

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.