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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Concatnate a Measure and Column

Hi, 

I have a requirement to show the title of a multi row card (highligthed in the snip) as combination of a Text, column and a Measure. 

I am able to get the values correctly for each individual item but if the text, column value and the measure value are concatnated using "&", the value of measure is blank.

 

Measure Details:

TotalSuccess = CALCULATE(SUM(PageAttempts[Attempts]),FILTER(PageAttempts,PageAttempts[Success/failed]="Success"),ALLSELECTED(PageAttempts[Date]))
#Total = sumx(ALLEXCEPT(PageAttempts,PageAttempts[Stepname],PageAttempts[Steps],PageAttempts[Success/failed],PageAttempts[Column2],PageAttempts[Date]),[Total])
%dist = CALCULATE(DIVIDE([TotalSuccess],Sumx(ALL(PageAttempts[Steps],PageAttempts[Stepname],PageAttempts[Success/failed],PageAttempts[Column2]),[#Total])))
Step+Stepname = PageAttempts[Steps] & " " & PageAttempts[Stepname] & " "
 
Show = PageAttempts[Step+Stepname] & ": " & [TotalSuccess] & " / " & [Total]
Show measure is not working as the output has incorrect value of TotalSuccess & #Total measures.
 
Show (marked in Red) is not workingShow (marked in Red) is not working
 
StepsStepnameAttemptsSuccess/failedCountryDate
Step0Initialstep1SuccessUS11/1/2019 0:00
Step1Step1Completed1SuccessUS11/1/2019 0:00
Step0Initialstep1SuccessUS11/2/2019 0:00
Step1Step1inComplete1FailedUS11/2/2019 0:00
Step0Initialstep1SuccessUS11/3/2019 0:00
Step2step2Completed1SuccessUS11/3/2019 0:00
Step0Initialstep1SuccessUS11/4/2019 0:00
Step2Step2Error1ErrorUS11/4/2019 0:00
Step0Initialstep1SuccessUS11/5/2019 0:00
Step2Step2incomplete1FailedUS11/5/2019 0:00
Step0Initialstep1SuccessIN11/10/2019 0:00
Step1Step1Completed1SuccessIN11/10/2019 0:00
Step0Initialstep1SuccessIN11/11/2019 0:00
Step1Step1Completed1SuccessIN11/11/2019 0:00
Step0Initialstep1SuccessIN11/12/2019 0:00
Step2step2Completed1SuccessIN11/12/2019 0:00

Table:1 Sample data

 

Need your help to fix this issue.

Let me know if any additional infomation is required.

 

Thanks in advance,

 

Regards,

Prabir

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous have you tried CONCATENATE function. 

 

Measure = CONCATENATE(MAX(PageAttempts[Column]),CONCATENATE(": ",CONCATENATE([TotalSuccess],CONCATENATE("/",[Total]))))

 

prab.png

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@Anonymous have you tried CONCATENATE function. 

 

Measure = CONCATENATE(MAX(PageAttempts[Column]),CONCATENATE(": ",CONCATENATE([TotalSuccess],CONCATENATE("/",[Total]))))

 

prab.png

Anonymous
Not applicable

 

Thank You Vimal for helping out here. 

However the measure work perfectly in table but when it is added to a Multi Row Card visual, it does not group based on "Steps" column rather it just gives the total.

 
Measure = CONCATENATE(MAX(PageAttempts[Step+Stepname]),CONCATENATE(": ",CONCATENATE([TotalSuccess],CONCATENATE("/",[#Total]))))

card marked in red use the new Measurecard marked in red use the new Measure

Anonymous
Not applicable

Hi @Anonymous something like this?

multicard.png

Anonymous
Not applicable

Thank You @Anonymous. Yes this works..

 

However I was trying to have the concatnate measure as title of the card and %age value as Card data.

 

so added multiple cards with Steps as filter for each card. something like this..

 

 

image.png

Thank you very much for providing the solution of the measure that helped a lot.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.