The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I got 3 differenet columns and I want to create a String Array for them and I want them into a table
Ex:
Cars | Model | Color |
Honda | Civic | White |
Mazda | CX9 | Black |
Toyota | Camry | Red |
I'm not sure about the String function that needed to be used!
Thank you!
Solved! Go to Solution.
Hi @BenMoses ,
You can use COMBINEVALUES to concatenate those columns
You can also use & sign but this will result to a more verbose formula
Hi @BenMoses ,
You can use COMBINEVALUES to concatenate those columns
You can also use & sign but this will result to a more verbose formula
Create a custom column in the Power Query and add this M code.
= "[" & Text.From([Cars]) & ", " & Text.From([Model]) & ", " & Text.From([Color]) & "]".
This should help you achieve the output you are looking for.
Let me know if this works.
formatted String ["Car", "Model", "Color"]
Thank you
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
81 | |
57 | |
48 | |
48 |