Forum Discussion
Total in every row
hi,
i have a simple formula where i want the total in every row but it dont work:
4 Replies
- amitchandak
Super User
Pikachu-Power , Try like
Grand total
XYZ = CALCULATE(SUM(Table[Number]), ALL(Table))
XYZ = CALCULATE(SUM(Table[Number]), ALLSELECTED(Table))or sub total
XYZ = CALCULATE(SUM(Table[Number]), ALLexpect(Table,Table[ABC_Categorie]))- Pikachu-Power
Impactful Individual
Ok I didnt use ALL(Table) because I have a time filter at the filter pane where I want to use further. But I include it in the formula.
- amitchandak
Super User
Pikachu-Power , The best way to ignore only the category is to have that in a separate table joining to the fact. So you can use all on that table and another filter can work.
you can try this and check,
XYZ = CALCULATE(SUM(Table[Number]), removefilters(Table[ABC_Categorie]))
new Table wat
XYZ = CALCULATE(SUM(Table[Number]), all(Categorie[ABC_Categorie]))
- AnonymousNot applicable
Hi Pikachu-Power ,
Do you want totals for row or for columns? Can you share some sample data and expected result to us?
Best Regards,
Jay