Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Calculated subtotals in pivot table

I want to add calculated subtotals into a pivot table
Like in a finicial report you want to se Margins after different categories

I have the scenario in the tabels below. My datatable is added to the datamodel as connections only.

A table with balance per account, I have created an "Income statement report" in a pivot now I would like to add the 2 subtotals that are seen in the copy of the pivot A/I% and TG%
Is this possible? 

AccountAccountclassPeriosBalanceBudget
3010IncomeJan500500
3010IncomeFeb1000900
3010IncomeMar800800
3020IncomeJan300250
3020IncomeFeb250300
3020IncomeMar300500
7010Personnel CostJan-250-250
7010Personnel CostFeb-250-250
7010Personnel CostMar-250-250
4010ExpensesJan-50-20
4010ExpensesFeb-60-60
4010ExpensesMar-100-100

 

FilterPeriodJan 
    
Rowlabels Sum of BalanceSum of Budget
Incomes 800750
 3010500500
 3020300250
Personnel Cost -250-250
 7010-250-250
Expenses -50-20
 4010-50-20
Grand total 500480



FilterPeriodJan 
    
Rowlabels Sum of BalanceSum of Budget
Incomes 800750
 3010500500
 3020300250
Personnel Cost -250-250
 7010-250-250
A/I% 320%300%
Expenses -50-20
 4010-50-20
Grand total 500480
TG% 160%156,25%

1 Reply

  • v-lili6-msft's avatar
    v-lili6-msft
    Icon for Community Support rankCommunity Support

    hi, Anonymous 

    For add a custom column/row in matrix visual, I'm afraid it couldn't achieve in Power BI for now.

    For your requirement, you could post your new idea in Power BI ideas and make this feature coming sooner.

     

     

    Best Regards,

    Lin