Forum Discussion

Sravika's avatar
Sravika
Regular Visitor
2 years ago
Solved

Parent Child Matrix Visual - Please help

Hello,

 

I have two tables here Table A and Table B and the data is showing up incorrectly when I am using Matrix visual.

 

Table A

ParentChild DeptBudget
A10B1Health Care$100,000
A10B2Health Care$20,000
A11B3Retail$45,000

 

 

Table B

ParentDeptExpenses
A10Health Care$50,000
A11Retail$5,000

 

Expected Output should be (Using Matrix Visual)

 

ParentChildBudgetExpensesRemaining
A10B1$100,000  
 B2$20,000  
Total $120,000$50,000$70,000
A11B3$45,000  
Total $45,000$5,000$40,000

 

 

What I am actually getting

 

ParentChildBudgetExpensesRemaining
A10B1$100,000$50,000$50,000
 B2$20,000$50,000-$30,000
Total $120,000$100,000$20,000
A11B3$45,000$5,000$40,000
Total $45,000$5,000$40,000

 

 

We have expenses at Parent level but the ouput I am getting is taking at child level. Example: A10 parent has $50,000 expenses but the ouput I am getting is taking $50,000 twice.  Please help.

 

Thank you,

Sravika