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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Responsive Resident
Responsive Resident

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
Responsive Resident
Responsive Resident

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.