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
Wresen
Post Patron
Post Patron

Combine values on each row

Hi and thanks for reading this.

I have a little problem and i have no clue how to do it , it seemed easy when i started to think about it 🙂

I have a tabel like below:
Tablestore.PNG

I would like to create a column like the picture below(Yellow column) where i combine All column "store" values on each row.
Tablestore1.PNG

Thanks so much.

1 ACCEPTED SOLUTION
halfglassdarkly
Resolver IV
Resolver IV

Try adding this as a calculated column:

 

 

Comb =
CALCULATE(CONCATENATEX('your table name',[Store],"/",1),ALL('your table name'),your table name'[What]=EARLIER('your table name'[What]) 

 

View solution in original post

6 REPLIES 6
Wresen
Post Patron
Post Patron

Hi again
@halfglassdarkly 

It worked as i asked for but found a thing that i did not want .

It is possible to do the the store value unique.

If i would have like below: 
store3.PNG

Comb on Red will A/A/B
I would like it to be only A/B

Try this and see if it works for you:

Comb =
CALCULATE(CONCATENATEX(DISTINCT('your table name'),[Store],"/",1),ALL('your table name'),your table name'[What]=EARLIER('your table name'[What]) 

 

Hi @halfglassdarkly 
Did not get yours to work , but with small modification as below it worked .
Thanks so much

Found the solution:

Comb = 
 CALCULATE(CONCATENATEX(DISTINCT('Table'[store]),'Table'[store],"/",1),ALL('Table'),'Table'[What]=EARLIER('Table'[What]) )
halfglassdarkly
Resolver IV
Resolver IV

Try adding this as a calculated column:

 

 

Comb =
CALCULATE(CONCATENATEX('your table name',[Store],"/",1),ALL('your table name'),your table name'[What]=EARLIER('your table name'[What]) 

 

Thanks so much @halfglassdarkly 

really appriciate it 🙂

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.