Hi
I am trying to use make a pivottable per month and year based on the formulas below.
Gross Sales USD:=CALCULATE(sum(factFin[AmountUSD]), ALL( DateTable), FILTER( DateTable, DateTable[MonthOfYear] = VALUES( DateTable[MonthOfYear])), FILTER(ALL(CoA),CoA[AccSum2] = "398X"))
Gross Sales GWh:=CALCULATE(sum(factFin[belopp]), FILTER( DateTable, DateTable[MonthOfYear] = VALUES( DateTable[MonthOfYear])), FILTER(CoA,CoA[AccSum2] = "E-SOLD-SUM"))
Monomic Price Cent Per kWh:=DIVIDE(([Gross Sales USD]*1000*100),([Gross Sales GWh]*1000000),BLANK())
I am able to get the individual results if I select a month from a Timeline slicer. Why should the error message show up and how can i solve it.
Any suggestions?
brgds,
Inge
I am trying to use make a pivottable per month and year based on the formulas below.
Gross Sales USD:=CALCULATE(sum(factFin[AmountUSD]), ALL( DateTable), FILTER( DateTable, DateTable[MonthOfYear] = VALUES( DateTable[MonthOfYear])), FILTER(ALL(CoA),CoA[AccSum2] = "398X"))
Gross Sales GWh:=CALCULATE(sum(factFin[belopp]), FILTER( DateTable, DateTable[MonthOfYear] = VALUES( DateTable[MonthOfYear])), FILTER(CoA,CoA[AccSum2] = "E-SOLD-SUM"))
Monomic Price Cent Per kWh:=DIVIDE(([Gross Sales USD]*1000*100),([Gross Sales GWh]*1000000),BLANK())
I am able to get the individual results if I select a month from a Timeline slicer. Why should the error message show up and how can i solve it.
Any suggestions?
brgds,
Inge