Solved! Go to Solution.
@Anonymous , what is the issue ? the first formula and one I am sharing should work with a date table. Marked as date Table. Make sure Date table is Marked as date Table
Previous month = CALCULATE([Count of delivery note] , PREVIOUSMONTH(Dates[Date]))
last MTD (complete) Sales = CALCULATE(SUM([Count of delivery note] ,DATESMTD(ENDOFMONTH(dateadd('Date'[Date],-1,MONTH))))
@Anonymous , what is the issue ? the first formula and one I am sharing should work with a date table. Marked as date Table. Make sure Date table is Marked as date Table
Previous month = CALCULATE([Count of delivery note] , PREVIOUSMONTH(Dates[Date]))
last MTD (complete) Sales = CALCULATE(SUM([Count of delivery note] ,DATESMTD(ENDOFMONTH(dateadd('Date'[Date],-1,MONTH))))
Thanks now it works!
User | Count |
---|---|
216 | |
76 | |
72 | |
71 | |
53 |
User | Count |
---|---|
192 | |
96 | |
78 | |
77 | |
68 |