The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Solved! Go to Solution.
Hi, Richard. @cottrera
The quickest way to do this is using the ampersand & character. Like this,
Column D = [column a] & " - " & [column b] & " - " & [column c]
Hi, Richard. @cottrera
The quickest way to do this is using the ampersand & character. Like this,
Column D = [column a] & " - " & [column b] & " - " & [column c]
ésto me funciono realmente, Muchas Gracias
The proposed solution worked well in 2019 and for just three columns but in case anyone stumbles across this now, I would like to point out there is a better way that probably wasn't available in 2019
The DAX "COMBINEVALUES" function joins text using a delimiter.
COMBINEVALUES("-",Column1, Column2, Column2)
and this can be used for many more columns as well
Note that the delimiter cannot be a blank or empty string so if you don't want to join your values with a delimiter, then just use one that will definitely not be in the columns and then substitute it afterwards (e.g. "~" or similar).
SUBSTITUTE(
COMBINEVALUES("~",
Column1,
Column2,
Column3
),
"~",""
)
Fantastic. Reading in 2023, none of the above solved my issue (trying to Concat 3 columns when in DirectQuery), but this function did. Thank you!
Works perfect thank you for the quick reponse
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
80 | |
71 | |
51 | |
50 |
User | Count |
---|---|
129 | |
123 | |
78 | |
64 | |
60 |