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
madhurmalhotra
Frequent Visitor

Complicated Aggregation of multiple Tables using Measures and DAX

3 INPUT Tables

Owned by Table3- 70%

Table1 - StandaloneAmt
SC150000
Table1 RE100000
L200000
  
Total L450000
  
I180000
A270000
Total A450000

 

 

 

 

Owned by Table1- 60%
Table2 - StandaloneAmt
SC300000
Table2 RE40000
L100000
  
Total L440000
  
I0
A440000
Total A440000

 

Ultimate Parent
Table3- StandaloneAmt
SC100000
RE50000
L150000
  
Total L300000
  
Investment105000
A195000
Total A300000

 

 

2 OUTPUT FILES

Output 1 =Table1-consolidated Table 1(Input 1) + Table 2 (Input 2) + ROWS PASSED

Table1 - consolidatedAmt
SC 270000
Table1 consol RE124000
L300000
Table1 reserve16000
Total L710000
  
I0
A710000
Total A710000

 

Table3 - consolidated     AMount 

 

 

 

 

SC265000
RE136800
L450000
Table3 reserve53200
Total L905000
  
I0
A905000
Total A905000

 

 

 

 

 

Output 2 =Table3-consolidated
Input 3(Table3) + Output 1+ROWS passed

 

 

 

  1.  

Q2. POWER BI should be able to identify that Ouptut 1 is consolidation of Table2 and Table1 and Output 2 is consolidation of Table3 and Output 1 (Table1+table2 consolidated)

Q3. POWER BI should be able to insert a new row in Output 1 with the name 'Table1 reserve' by multiplying the 'Table2 RE' by 40%

Q4. Ouput 2 should be created aggregating Ouput 1(also carry forward the new inserted rows as mentioned in above lines) with Input 3

Q5. POWER BI should be able to insert a new row in Output 2 with the name 'Table3 reserve' by multiplying the 'Table1 consol RE' by 30%

Q6. POWER BI should be able to insert a new row in Output 2 with the name 'Table3 reserve' by multiplying the 'Table1 consol RE' by 30%

Q7.At last we should get only single table(Consolidating All) and filters for diiferent levels (Output -1,Output-2, Standalone data of Table1,Table2,Table3) 

Q8. Can there be any reference created to automatically aggregate (Table1 and Table2- or any other similar combination if the number of tables are high) tat is OUTPUT1,the identifying this aggregation is be carry forward and aggregated with Table3

Q9. Please use measures rather than making columns/tables and there are more than 100 tables like this so making this logic for these three can be replicated on other tables as well

1 REPLY 1
MFelix
Super User
Super User

Hi @madhurmalhotra ,

 

Your post is very confusing about the data itself and expected output.

 

Please see this post regarding How to Get Your Question Answered Quickly (courtesy of @Greg_Deckler) and How to provide sample data in the Power BI Forum (courtesy of @ImkeF).

 

If you are abble to provide a sample data and more explicit calculation and expected results would be better.

 

Also the question you place are very confusing, but there is one thing that called my attention on the last question your model is over 100 tables?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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