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.
Hello,
Want to concatenate only the columns that start with Column.
e.g. 3 out of 140 columns that start with Column, but they change in the name like Coumn_1; Column_7; Column_21
Can you help me with the dax for this?
Thank you!
Solved! Go to Solution.
Hi @remi
It seems my pbix provides the same way as you described, could you have a look at it and tell me whether it helps or not?
Best Regards
maggie
Hi @remi
How do you concatenate the columns?
Is it like below?
Original table
Final table
Here is my pbix
Best Regards
Maggie
hello @v-juanli-msft,
Created a new column with the merged content in the query view and then moved to a new formula to check for my text in the table view.
Hi @remi
It seems my pbix provides the same way as you described, could you have a look at it and tell me whether it helps or not?
Best Regards
maggie
AFAIK in DAX whenever you reference a column it has to be explicit reference, there is no equivalent of Excel INDIRECT, so in DAX you need to write the code
what you could try is unpivoting these columns in Query Editor so they would be all in one column with values in the other one and then using CONCATENATEX with criteria on the column with names stored - not sure it applies to your logic though
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 |
---|---|
107 | |
100 | |
80 | |
63 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |