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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.