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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors