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! Request now

Reply
JIRAMON
Frequent Visitor

Creating a combined summary table

Hi all,

 

I have a table such as the example below. On one column I have the account for the acquisition value of an asset, the next is the account used for depreciation, the next is the actual acquisition value in EUR, and the last one the depreciation value in EUR.

Company Name
Account - Acquisition valueAccount - Depreciation Amount - Acquisition valueAmount - Depreciation
XAV101AD101500250
XAV102AD1021200800
XAV101AD101700200
XAV103AD103750300
XAV102AD102900500
XAV101AD101200200

 

I need to somehow create a summary like this and make it dynamic as more accounts and data gets added to the model.

Company NameAccountValue
XAV1011400
XAV1022100
XAV103750
XAD101650
XAD1021300
XAD103300

 

I was thinking of using Power Query M for this. Not sure if its the best solution.

 

Thanks in advance,

JIRAMON

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @JIRAMON 

 

You can try the following methods.
Table:

New table = 
Var _table1=SUMMARIZE('Table','Table'[Company Name],'Table'[Account - Acquisition value],"Value",SUM('Table'[Amount - Acquisition value]))
Var _table2=SUMMARIZE('Table','Table'[Company Name],'Table'[Account - Depreciation],"Value",SUM('Table'[Amount - Depreciation]))
Return
UNION(_table1,_table2)

vzhangti_0-1690351586326.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
JIRAMON
Frequent Visitor

Thank you very much! This is exactly what I needed! 🙂

v-zhangti
Community Support
Community Support

Hi, @JIRAMON 

 

You can try the following methods.
Table:

New table = 
Var _table1=SUMMARIZE('Table','Table'[Company Name],'Table'[Account - Acquisition value],"Value",SUM('Table'[Amount - Acquisition value]))
Var _table2=SUMMARIZE('Table','Table'[Company Name],'Table'[Account - Depreciation],"Value",SUM('Table'[Amount - Depreciation]))
Return
UNION(_table1,_table2)

vzhangti_0-1690351586326.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
Top Kudoed Authors