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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
rashel2002
Helper II
Helper II

Creating a summary table out of existing table - assistance

Hi everyone!

 

I have a table as the one on the left and i want to sum up the effort per week (creat a new table as the one on the right)-

 

Sum per week.PNG

 

Any ideas how to do it?

Thx.

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Use the oddly named function "SUMMARIZE":

 

Table = SUMMARIZE('Table',[Week No.],"Effort (by hours)",SUM([Effort (by hours)])

😉 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

7 REPLIES 7
Greg_Deckler
Super User
Super User

Use the oddly named function "SUMMARIZE":

 

Table = SUMMARIZE('Table',[Week No.],"Effort (by hours)",SUM([Effort (by hours)])

😉 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

I have a similar issue but I'd like to bring all the rest of the columns from my original table into the summarized table.  I see that I can list them individually.  Is there a command that will bring them all?

Hi again!

there is an oprion to summerize by two categories?

For example, by WW and by Type (imagine there is another column named Type and describing for each line if it's type a or type b).

 

Nevermind, i figured it out! thanks again!! 🙂

How did you do that? As i would like to sumarise based on two colomns. 

Original Data
OrderSufAmount
5000200
5001150
5001200
5002300
5010400
5020300
5020200
5021400
5021300
5022100
5033100

 

Option 1
OrderAmountSufAmount
5008500200
500 1350
500 2300
5014000400
50214000500
502 1700
502 2100
502 3100

 

Option 2 - Prefered  
OrderTotalSufAmountSufAmountSufAmountSufAmount
500850020013502300  
5014000400      
50214000500170021003100

Hi Greg!

 

Thank you for responding 🙂

i'm new at PBI and don't have much experience so it might be a weird question but -

where should i insert the line you wrote? 

I had this same question.

 

It's under the 'Modeling' tab, 'New Table'

 

I followed the instructions here:

 

https://radacad.com/creating-a-table-in-power-bi-using-dax-table-constructor

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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