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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Summarise data from a different table

Hi All

 

It must be Monday because my brain doesnt work!

 

So here is the problem.........

 

I want to sum a value from another table (table 1 below) to give me a total (in New Table) like this;

 

Table1

NameHours
Dave40
Ted40
Gary40
Gary30
Ted50

 

New Table

NameTotal Hours
Dave40
Ted90
Gary70

 

How?!?!?!  Its driving me mad.  

 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Anonymous not sure you are looking to create a new table in the model or use table visual,

 

for table visual, just drop the name and total hours on value section and if total hours is a number column, it will sum, if not then just click the arrow next to total hours, change the aggregation to sum

 

if you want to create a new table, use following DAX expression

 

New Table = SUMMAARIZE ( Table, Table[Name), "Total Hours", SUM( Table[Total Hours] ) )

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You could use "Group By" feature to get total values in query editor.

3-1.PNG

Here is the result.

3-2.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
parry2k
Super User
Super User

@Anonymous not sure you are looking to create a new table in the model or use table visual,

 

for table visual, just drop the name and total hours on value section and if total hours is a number column, it will sum, if not then just click the arrow next to total hours, change the aggregation to sum

 

if you want to create a new table, use following DAX expression

 

New Table = SUMMAARIZE ( Table, Table[Name), "Total Hours", SUM( Table[Total Hours] ) )

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

ah thanks!  Yeah I've been a bit silly there havent I?  It must have been a Monday thing!!

 

Thanks for your help!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors