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 need to make a measure that transforms a column of values to a text list with a separator.
Psuedo-code: Measure = "Combine to text" ( VALUES('Table'[Column]), ',')
[Table]
[Column]
a
b
c
Result: 'a, b, c'
It has to be a calculated measure, since the data source is a SSAS tabular-cube, I cant do anything with power query or calculated columns.
Regards
Niklas
Solved! Go to Solution.
@Anonymous
You can use CONCATENATEX
Measure = CONCATENATEX ( VALUES ( 'Table'[Column] ), [Column], "," )
@Anonymous
You can use CONCATENATEX
Measure = CONCATENATEX ( VALUES ( 'Table'[Column] ), [Column], "," )
Thanks!
Unfortunately i wont work for me, because of the sql server version we have is to old. I found this post:
https://community.powerbi.com/t5/Desktop/CONCATENATE-greyed-out/m-p/207078#M91244
If anyone has a work around to achieve the same thing for SSAS with SQL server 2012, please comment.
@Zubair_Muhammad wrote:@Anonymous
You can use CONCATENATEX
Measure = CONCATENATEX ( VALUES ( 'Table'[Column] ), [Column], "," )
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |