Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I have 3 measures: [Cover_Wk0],[Cover_Wk1],[Cover_Wk2] and I'd like to combine all of them in one column.
have tried the method below but is failing stating that multiple columns cannot be convert to a scalar value.
Combine:=UNION (
ADDCOLUMNS ( IBPData1, "Cover_Wk0", [Cover_Wk0] ),
ADDCOLUMNS ( IBPData1, "Cover_Wk1", [Cover_Wk1] ),
ADDCOLUMNS ( IBPData1, "Cover_Wk2", [Cover_Wk2] )
)
Any suggestions?
Cheers,
Gilly
hi, @Anonymous
You could just use CONCATENATE Function to get it as below:
Combining = CONCATENATE( CONCATENATE([Measure],[Measure 2]),[Measure 3])
Result:
Best Regards,
Lin
Hi @v-lili6-msft ,
Thank you for replying, actually I didn't stated correctly, what I need is to unpivot these 3 measures and tranpose them in one column.
Regards,
Gilly
hi, @Anonymous
If this is what you want?
Combining = [Measure]&UNICHAR(10)&[Measure 2]&UNICHAR(10)&[Measure 3]
Result:
Best Regards,
Lin
hi, @Anonymous
Do you want to the three measure show in different cell in a column?
If so, it couldn't achieve, for measure is based on the current row context.
Best Regards,
Lin
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |