Hi,
I am looking for a formula to give me the GrandTotal of the displayed values and all the applied filters. So far I have tried the two following formulas:
CALCULATE(SUM(Products[NetSales]),ALLSELECTED(Products))
That does give me the Grand Total, but only if I have one column and no other filters applied. If I have e.g. two FinYears in the columns, the value given is the sum of total 2013 and 2014, but I want the total displayed (and calculated further) with the total of the selected year.
I did also try ALLEXCEPT, which would give me the total in each row for each column, but if I use inside filters (like excluding some categories) then the value is not correct anymore.
The picture attached is what I want as Total Sales the same value in each row.
Anyone an idea?
Cheers,
Andy
I am looking for a formula to give me the GrandTotal of the displayed values and all the applied filters. So far I have tried the two following formulas:
CALCULATE(SUM(Products[NetSales]),ALLSELECTED(Products))
That does give me the Grand Total, but only if I have one column and no other filters applied. If I have e.g. two FinYears in the columns, the value given is the sum of total 2013 and 2014, but I want the total displayed (and calculated further) with the total of the selected year.
I did also try ALLEXCEPT, which would give me the total in each row for each column, but if I use inside filters (like excluding some categories) then the value is not correct anymore.
The picture attached is what I want as Total Sales the same value in each row.
Anyone an idea?
Cheers,
Andy