Forum Discussion
MatSantos
4 years agoRegular Visitor
Sum Acumulate using 3 measures
Hi,
I need some help.
I have to create a sum acumulating the diference between 3 measures.
These measures are from diferent files.
The rule is: Evolução = PV - FAT - CART in january.
In February is the some, but need to add the value of january.
Incorrect
Would be
Thanks for the help.
2 Replies
- amitchandakSuper User
MatSantos , Assume these are measures
CALCULATE([PV] - [FAT] - [CART] ,filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
example
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
- MatSantosRegular Visitor
I'm confused with this part of the measure ('Date'),'Date'[date].
I use the dCalendario[Data].[Mês] how month.
The return of dCalendario[Data].[Mês] are Janeiro, Fevereiro, etc...