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

Summarise data as a pivot table or normal table

Hi Experts

 

how would you summarise the following data into a simple cross tavb table with summed values for each region.

So i have

Apple         100

Apple         200

Apple         300

Oranges     50

Oranges     150

 

i want to show the final table as follows

Aples       600

Oranges   200

 

thats it for each column in the main tables

1 ACCEPTED SOLUTION
petrovnikitamai
Resolver V
Resolver V

new table = summarize(tableName;[column1];"total";sum([column2]))

try this

View solution in original post

2 REPLIES 2
petrovnikitamai
Resolver V
Resolver V

new table = summarize(tableName;[column1];"total";sum([column2]))

try this

Anonymous
Not applicable

many thanks testing

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.