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
brief001
Helper II
Helper II

Translate values from rows into a single record value

I have the left table below. And I'm looking for how I can make the right table via a calculated table. In which I am mainly looking for how the values of several rows are 'knotted' together and shown as a summary value. (I am referring to column 'Activity')

Screenshot_24.jpg

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@brief001 , Create a measure using concatenatex

concatenatex(table, table[Activity])

 

and use it with order_id

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Thank you!! Solved with:

Tabel_New = SUMMARIZE(Tabel, 
    Tabel[Order_ID] ,
    "Activity_Summary" , concatenatex(Tabel, Tabel[Activity]) ,
    "Duration_Total" , SUM(Tabel[Duration] ))

 

View solution in original post

3 REPLIES 3
smpa01
Super User
Super User

@brief001  you can us ethe following two measures

Activity_Summary= CONCATENATEX(VALUES('Table'[Activity]),'Table'[Activity],"",'Table'[Activity],ASC)

Duration_Total= CALCULATE(SUM('Table'[Duration]),ALLEXCEPT('Table','Table'[Order_ID]))
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
amitchandak
Super User
Super User

@brief001 , Create a measure using concatenatex

concatenatex(table, table[Activity])

 

and use it with order_id

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you!! Solved with:

Tabel_New = SUMMARIZE(Tabel, 
    Tabel[Order_ID] ,
    "Activity_Summary" , concatenatex(Tabel, Tabel[Activity]) ,
    "Duration_Total" , SUM(Tabel[Duration] ))

 

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.