Forum Discussion
Sum with multiple variables
- 1 year ago
Hi plunkett40
1. User Matrix visual, then use Pay Type(1st level), Ops Center(2nd level) in the rows, Inv. Date(or which ever date column deem necessary) in the Columns(select appropriate level of hierarchy - Year, Quarter, Month,Date), Inv. Amount as Values ( Aggregation - Sum). This will give you an output looking like the below -
2. If you need any specific summarized value, you can use the calculation as mentioned by hnguy71 .
If I have solved your problem, mark my post as solution and give kudos 👍!!
Have a great day!
Thanks
Hi plunkett40 ,
It should just be the sum of your invoice or line item amount. If you only wanted to return the Accounts Payable value, your measure should look something similar to this:
AP.Total = CALCULATE(SUM(YOUR_FACT_TABLE[Inv Amount]), YOUR_FACT_TABLE[Pay Type] = "AP Payable")
Then you would plug that into a visual along with the "Ops Center" column and you should be able to see the required breakdown.