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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
FilipaPereira
Frequent Visitor

Sum valuesintegration account values

Hello, 

I'm having trouble adding up the totals in a chart of accounts.
In the chart of accounts, I have integration accounts (DR), intermediate accounts (GA) and transaction accounts (GM), the transaction accounts are the only ones that have a value, but I needed the integration and intermediate accounts to be totalizers of the transaction accounts, how can I do this calculation?

Can you help?

FilipaPereira_0-1728940093374.png

 

1 ACCEPTED SOLUTION
hnguy71
Memorable Member
Memorable Member

Hi @FilipaPereira 

Seems you have relevant information to build a ragged parent-child hiearchy. Essentially you'll need to build your table into this structure instead:

hnguy71_0-1729194648438.png

 

Follow Imke's guide on how to transform your table and you should be good to go:

https://www.thebiccountant.com/2017/02/14/dynamically-flatten-parent-child-hierarchies-in-dax-and-po...

 

 

 



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

3 REPLIES 3
hnguy71
Memorable Member
Memorable Member

Hi @FilipaPereira 

Seems you have relevant information to build a ragged parent-child hiearchy. Essentially you'll need to build your table into this structure instead:

hnguy71_0-1729194648438.png

 

Follow Imke's guide on how to transform your table and you should be good to go:

https://www.thebiccountant.com/2017/02/14/dynamically-flatten-parent-child-hierarchies-in-dax-and-po...

 

 

 



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
FilipaPereira
Frequent Visitor

Hi @hnguy71 

This is the CoA, I tried to aggregate by level, but I still couldn't do it.

 

AccountIDGroupingCategoryGroupingCodeValor
12GR  
12001GM12100
12002GM12200
12003GM12300
12004GM12400
12005GM12500
12006GM12600
12007GM12700
12008GM12800
12010GM12900
12011GM121000
12012GM121100
13GR  
131GA13 
131003GM131100
21GR  
211GA21 
2111GA211 
21111GA2111 
211110002GM21111100
211110011GM21111200
211110041GM21111300
211110055GM21111400
211110070GM21111500
211110071GM21111600
211110075GM21111700
211110076GM21111800
211110078GM21111900
211110080GM211111000
211110081GM211111100
211110082GM211111200
2114GA211 
21141GA2114 
211410001GM21141100
211410056GM21141200
211410304GM21141300
211410305GM21141400
218GA21 
2181GA218 
21811GA2181 
218110011GM21811100
218110055GM21811200
22GR  
221GA22 
2211GA221 
22111GA2211 
221110006GM22111100
221110007GM22111200
221110010GM22111300
221110011GM22111400
22112GA2211 
221120169GM22112100
221120273GM22112200
221120447GM22112300
221120512GM22112400
221120595GM22112500
221120656GM22112600
221120682GM22112700
221120746GM22112800
22113GA2211 
221130725GM22113100
2214GA221 
22141GA2214 
221410001GM22141100
221410003GM22141200
225GA22 
2251GA225 
22511GA2251 
225110053GM22511100
225110069GM22511200
225110071GM22511300
225110171GM22511400
225110342GM22511500
225110461GM22511600
225110467GM22511700
225110563GM22511800
225110695GM22511900
225110712GM225111000
22512GA2251 
225120447GM22512100
2254GA225 
22541GA2254 
225410003GM22541100
23GR  
231GA23 
2311GM231100
2312GM231200
232GA23 
2322GM232100
238GA23 
2382GA238 
238201GM2382100
24GR  
241GA24 
2411GA241 
24111GM2411100
2412GA241 
24121GM2412100
24122GM2412200
2413GA241 
24131GM2413100
24132GM2413200
24133GM2413300
2415GM241400
2416GM241500
242GA24 
2421GA242 
24211GM2421100
2422GA242 
24221GM2422100
2423GA242 
24232GA2423 
242322GA24232 
2423221GM242322100
2424GA242 
24241GA2424 
242411GM24241100
24242GA2424 
242421GM24242100
243GA24 
2432GA243 
24321GA2432 
243211GA24321 
2432111GA243211 
243211106GA2432111 
2432111061GA243211106 
24321110611GM2432111061100
2432112GA243211 
243211213GA2432112 
2432112131GA243211213 
24321121311GM2432112131100
2432113GA243211 
243211323GA2432113 
2432113231GA243211323 
24321132311GM2432113231100
2432113232GA243211323 
24321132321GM2432113232100
24322GA2432 
243221GA24322 
2432211GA243221 
243221106GA2432211 
2432211061GA243221106 
24322110611GM2432211061100
2432211062GA243221106 
24322110621GM2432211062100
24322110671GM2432211061200
2432212GA243221 
243221213GA2432212 
2432212131GA243221213 
24322121311GM2432212131100
2432212132GA243221213 
24322121321GM2432212132100
24322121371GM2432212132200
2432213GA243221 
243221323GA2432213 
2432213231GA243221323 
24322132311GM2432213231100
2432213237GA243221323 
24322132371GM2432213237100
24323GA2432 
243231GA24323 
2432311GA243231 
243231106GA2432311 
2432311061GA243231106 
24323110611GM2432311061100
2432312GA243231 
243231213GA2432312 
2432312131GA243231213 
24323121311GM2432312131100
2432312132GA243231213 
24323121321GM2432312132100
2432312139GA243231213 
24323121391GM2432312139100
2432313GA243231 
243231323GA2432313 
2432313231GA243231323 
24323132311GM2432313231100
2432313232GA243231323 
24323132321GM2432313232100
2432313237GA243231323 
24323132371GM2432313237100
2432313239GA243231323 
24323132391GM2432313239100
243231390GA2432313 
2432313901GA243231390 
24323139011GM2432313901100
2433GA243 
24331GA2433 
243311GA24331 
2433111GA243311 
24331111GA2433111 
2433111106GA24331111 
24331111061GM2433111106100
24331113GA2433111 
2433111323GA24331113 
24331113231GM2433111323100
243312GA24331 
2433121GA243312 
24331211GA2433121 
2433121106GA24331211 
24331211061GM2433121106100
24331212GA2433121 
2433121213GA24331212 
24331212131GM2433121213100
24331213GA2433121 
2433121323GA24331213 
24331213231GM2433121323100
243313GA24331 
2433131GA243313 
24331311GA2433131 
2433131106GA24331311 
24331311061GM2433131106100
24331312GA2433131 
2433131213GA24331312 
24331312131GM2433131213100
24331313GA2433131 
2433131323GA24331313 
24331313231GM2433131323100
243314GA24331 
2433141GA243314 
24331411GA2433141 
2433141106GA24331411 
24331411061GM2433141100
24331412GA2433141 
2433141213GA24331412 
24331412131GM2433141213100
24331413GA2433141 
2433141323GA24331413 
24331413231GM2433141323100
24336GA2433 
243361GA24336 
2433611GA243361 
24336113GA2433611 
2433611323GM24336113100
243362GA24336 
2433621GA243362 
24336211GA2433621 
2433621106GM24336211100
24336212GA2433621 
2433621213GM24336212100
243363GA24336 
2433631GA243363 
24336312GA2433631 
2433631213GM24336312100
24336313GA2433631 
2433631323GM24336313100
24337GA2433 
243372GA24337 
2433721GA243372 
2433721106GM2433721100
24337212GA2433721 
2433721213GM24337212100
24337213GA2433721 
2433721323GM24337213100
hnguy71
Memorable Member
Memorable Member

Hi @FilipaPereira 

As long as you have the proper Chart of Accounts (CoA) hierarchy, you should be able to aggregate and get the sum at each level. Also, you may want to use a matrix visual instead.

 

Can you share a sample of your CoA table? 



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.