Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
hi,
i have a simple formula where i want the total in every row but it dont work:
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
@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]))
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.
@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]))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |