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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
LD1
Helper III
Helper III

Display a result formula in a Text function

Hi everyone, 

 

I have  request, is it possible to insert a calculate function result in a new mesure Text? 

I mean,

 

New measure : "Today our turnover up to" & [Turnover]

Turnover = Sum of turnover in decimal number format

 

I tried but the format was deleted automatically. 

Ex : formating 5m€ => display 59787878,0909090 in New measure.

 

Thank you in advance for your help,

2 ACCEPTED SOLUTIONS
saurabhtd
Resolver II
Resolver II

@LD1 Yes. It is possible. But as you rightly found out whatever format applied to the [Turnover] will be removed.
But if you still want to apply formating like 5m€ this also is possible but we need to modify the logic of [New measure].   You can try this measure .

 

 

New Measure = "Today our turnover up to " & FORMAT([Turnover], "€#,0,,.00#M") 

 

 

here , FORMAT([Turnover], "€#,0,,.00#M") is used to format the turnover measure with currency symbol, two decimal places and comma as the thousands separator.

 

 

View solution in original post

AntrikshSharma
Super User
Super User

@LD1 You can use the FORMAT function, you can find more options here: https://dax.guide/format/

"Today our turnover up to " & FORMAT ( [Total Sales], "$#,0.00" )
-- "Today our turnover up to " & FORMAT ( [Total Sales], "Currency" )
-- "Today our turnover up to " & FORMAT ( [Total Sales], "$#,0,,.0#M" )
-- "Today our turnover up to " & FORMAT ( [Total Sales], "$#,0,,,.0#B" )

 

View solution in original post

3 REPLIES 3
LD1
Helper III
Helper III

Thank you @AntrikshSharma  & @saurabhtd it works ! 

AntrikshSharma
Super User
Super User

@LD1 You can use the FORMAT function, you can find more options here: https://dax.guide/format/

"Today our turnover up to " & FORMAT ( [Total Sales], "$#,0.00" )
-- "Today our turnover up to " & FORMAT ( [Total Sales], "Currency" )
-- "Today our turnover up to " & FORMAT ( [Total Sales], "$#,0,,.0#M" )
-- "Today our turnover up to " & FORMAT ( [Total Sales], "$#,0,,,.0#B" )

 

saurabhtd
Resolver II
Resolver II

@LD1 Yes. It is possible. But as you rightly found out whatever format applied to the [Turnover] will be removed.
But if you still want to apply formating like 5m€ this also is possible but we need to modify the logic of [New measure].   You can try this measure .

 

 

New Measure = "Today our turnover up to " & FORMAT([Turnover], "€#,0,,.00#M") 

 

 

here , FORMAT([Turnover], "€#,0,,.00#M") is used to format the turnover measure with currency symbol, two decimal places and comma as the thousands separator.

 

 

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.