Forum Discussion
Anonymous
6 years agoNot applicable
previousmonth does not work
Hi, I have two data set. first one is data and second is date table Data: Date Department Staff Staff type Salary 04-01-2019 A Peter R 1 04-01-2019 A Mary C 2 04-01-2019 B John R 3 04-01...
- 6 years agoTry Below
lastmonth = CALCULATE(SUM(Data[Salary]),PREVIOUSMONTH(Data[Date]))
Thanks
Ankit JainDo Mark it as solution if the response resolved your problem. Do like the response if it seems good and helpful.