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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Concatenate Text to a Measure

Hello.

I have this measure that I am currently visualizing inside a card visual.

Average_Time_Response (Days) = CALCULATE(SUM('TABLE'[Time_Response]),'TABLE'[ResponseDate/Time]<>BLANK())
/[# Responded]
So, the card will show, for example, "2"
But I want to add the text "Days" after the card value.
How do I do that? How do I concatenate "Days" so the card value shows "2 Days" and not just "2"?
Thanks.
1 ACCEPTED SOLUTION

Average_Time_Response (Days) with Text = CALCULATE( SUM('TABLE'[Time_Response]), 'TABLE'[ResponseDate/Time] <> BLANK() ) / [# Responded] & " Days"




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

5 REPLIES 5
bhanu_gautam
Super User
Super User

@Anonymous , You can try like this

 

Average_Time_Response (Days) = VAR AvgResponse = CALCULATE( SUM('TABLE'[Time_Response]), 'TABLE'[ResponseDate/Time] <> BLANK() ) / CALCULATE( COUNTROWS('TABLE'), 'TABLE'[ResponseDate/Time] <> BLANK() ) RETURN CONCATENATE(AvgResponse, " days")

 

Please accept as solution if it helps




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Anonymous
Not applicable

Thanks. What happened to the original denominator [# Responded]?

Average_Time_Response (Days) with Text = CALCULATE( SUM('TABLE'[Time_Response]), 'TABLE'[ResponseDate/Time] <> BLANK() ) / [# Responded] & " Days"




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Anonymous
Not applicable

Works! Thanks!

@Anonymous , Welcome




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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