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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Join multiple rows into a single row

Hi There,

 

My Data model as below

LeadPNFac
MKX113
MKX114
MKX115
MKY113
MKY114
MKY116

 

I'm trying to modify the above into below. 

LeadPNFac
MKX113,14,15
MKY1

13,14,16

 

Its just a sample, I'm delaing with  huge dataset though. Could someone please look into it and help me?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try a measure like

concatenatex(Table, table[Fac],",")

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi Amit,

Thanks for your help. Perfect. That solves the issue. Could you please take a look at the below one

Lets say I've two 13's, is there a way to show just 13,14 (not 13,14,13).

LeadPNFac
MKX113
MKX114
MKX113

 

Thanks,

Srikanth N

 

amitchandak
Super User
Super User

@Anonymous , Try a measure like

concatenatex(Table, table[Fac],",")

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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