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
Anonymous
Not applicable

Is it possible to add a specific set of text to the output value of a DAX Measure?

I have a Dax Measure as follows:

 

TotalSales:= SUM (Sales[Revenue])

 

I would like to use it on a Scorecard but instead of showing a single figure (say, 4,000), I would like to display as "4,000 is the Total Sales for the month".

 

So, basically, I want to attach the words "is the Total Sales for the month" to that Measure. Of course, that value will change whenever the user selects another month.

 

Is that possible? Or should I go by using another trick like a Text box (with the words "is the Total Sales for the month") next to the Scorecard.

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , If Q&A is enabled you should be able to that easy in the text box.

 

If you create a measure like this it will become a text measure

 

TotalSales:= SUM (Sales[Revenue]) & " is the Total Sales for the month"

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

View solution in original post

AllisonKennedy
Super User
Super User

@Anonymous  You have a few options here:

 

Option A: DAX only

 

Total Sales Text:= FORMAT( SUM (Sales[Revenue]), $#,0.00 ) & " is the Total Sales for the month"

 

Option B: Text box (aka smart narrative)

 

You can combine DAX measures and text in the same visual within a text box: https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-smart-narrative#edit-the-summary 

 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

2 REPLIES 2
AllisonKennedy
Super User
Super User

@Anonymous  You have a few options here:

 

Option A: DAX only

 

Total Sales Text:= FORMAT( SUM (Sales[Revenue]), $#,0.00 ) & " is the Total Sales for the month"

 

Option B: Text box (aka smart narrative)

 

You can combine DAX measures and text in the same visual within a text box: https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-smart-narrative#edit-the-summary 

 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

amitchandak
Super User
Super User

@Anonymous , If Q&A is enabled you should be able to that easy in the text box.

 

If you create a measure like this it will become a text measure

 

TotalSales:= SUM (Sales[Revenue]) & " is the Total Sales for the month"

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

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.

Top Solution Authors