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,
In the excel, we have option called no-aggregate in pivot table, where values including text just appears as is. however in Matrix table we need measure with aggregated numeric value,
Refer my below screen, where I have questions as columns, and answers as values (alpha-numeric), now how this can be achieved is my problem without aggregation.
Hi @prakchan499
you could have a measure returning text for each column you want to display that way,
e.g.
DisplayAsText = CONCATENATEX( table, table[yourTextColumn], ", ")
does this beahve like you want it to?
HTH,
Frank
Hi Frank,
I've created this measure but I'm not sure how this should then be applied to the matrix? here is the measure
And the matrix prior to adding the measure as value:
It appears to just give me a huge table comma separated when the measure is added as values
I can't seem to get it to separate out along the columns
Any help would be greatly appreciated!
Hey Frank,
I tried this function in my PBI (Direct Query) measure as well as in SSAS Tabular (2012/2014) DAX expression, it seems like unavailable in my environment, let me konw if I missed anything.
Thanks for your response.
Hi @prakchan499,
Do you connect to SQL Server database using "DirectQuery" mode? If so, what is the problem after you create the measure using BetterCallFrank's formula.
Thanks,
Lydia Zhang
Hi Lydia,
Since my data model is in SSAS Tabular model, I am seeking solution in SSAS, however I tried the same in another dashboard where I am pulling data using Direct Query, there it was not supporting either.
However in case of SSAS 2012 SP1 (1103), this function isn't available.
Thanks
Hi @prakchan499,
I am able to use CONCATENATEX function after I connect to SQL Server database from Power BI Desktop via DirectQuery mode.
And as stated in this article, this CONCATENATEX function is included in SQL Server 2016 Analysis Services (SSAS), You are not able to use it in SSAS 2012 or SSAS 2014.
For how to concatenate results of expression evaluated for each row in a table in SSAS data source, you can post the question in the SSAS forum to get better support.
Thanks,
Lydia Zhang
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |