Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
TaufikMaggangka
Helper II
Helper II

Concatenate Text in DIRECT QUERY MODE

Hi All Expert,

Need your help to create measure or add column to concenate text from multiple column (Please note I used direect query mode, it is why i choose measure or add column to solve this case).

Here my table, I call id "redflagsymptoms"

Column AColumn BColumn CResult when I try to created dax(Please also see my image attached, below only a sample to give you a picture of my issue)
Fever more than 5 days, Rash on student skin, Felt pain when student turn head in all 4 directionsVery sleepy, Mouth very dry Unbearable abdominal (belly, stomach) painSwelling or redness in the area of pain, Cough more than 5 daysFever more than 5 days, Rash on student skin, Felt pain when student turn head in all 4 directions Very sleepy, Mouth very dry Unbearable abdominal (belly, stomach) pain Swelling or redness in the area of pain, Cough more than 5 days
Felt pain when student turn head in all 4 directionsVery sleepy Felt pain when student turn head in all 4 directions Very sleepy,
  Mouth very dry Unbearable abdominal (belly, stomach) painSwelling or redness in the area of pain,Mouth very dry Unbearable abdominal (belly, stomach) pain Swelling or redness in the area of pain
Fever more than 5 days, Rash on student skin Cough more than 5 daysFever more than 5 days, Rash on student skin,,Cough more than 5 days
  Swelling or redness in the area of pain,,Swelling or redness in the area of pain
   ,,,

 

I hope the result will be like this : 

Column AColumn BColumn CExpected Result
Fever more than 5 days, Rash on student skin, Felt pain when student turn head in all 4 directionsVery sleepy, Mouth very dry Unbearable abdominal (belly, stomach) painSwelling or redness in the area of pain, Cough more than 5 daysFever more than 5 days, Rash on student skin, Felt pain when student turn head in all 4 directions, Very sleepy, Mouth very dry Unbearable abdominal (belly, stomach) pain, Swelling or redness in the area of pain, Cough more than 5 days
Felt pain when student turn head in all 4 directionsVery sleepy Felt pain when student turn head in all 4 directions, Very sleepy
  Mouth very dry Unbearable abdominal (belly, stomach) painSwelling or redness in the area of painMouth very dry Unbearable abdominal (belly, stomach) pain, Swelling or redness in the area of pain
Fever more than 5 days, Rash on student skin Cough more than 5 daysFever more than 5 days, Rash on student skin, Cough more than 5 days
   *ignore null here*

 


If you see there, there were some delimiter issues, as follows:

1. in one dax, there is blank delimiter
2. in other dax, blank can be ignore.

Please note: the image attached only one of dax that i try to use. but my problem describe in first table, and the expected result in second table.



Stress about this, Hopefully theare some help from expert. 

Thank you

123121231.PNG

1 REPLY 1
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @TaufikMaggangka ,

Create a calculted column
Result= Coumn A & "," & Column B & "," & Column C

 

 


Mark this as a solution if it answers your question. Kudos are always appreciated!
Thanks.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors