Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi @Anonymous ,
Could you please mark the proper answers as solutions?
Best Regards,
Hi @Anonymous,
Please also try these functions.
sameperiodlastyear-function-dax
Best Regards,
Hi @Anonymous
Create a calendar table using CALENDARAUTO() function. Set relationship between this table and Tourtbl as one to Many.
Then create
_Lastmonth Count=CALCULATE(COUNTROWS('TourTbl'),DATEADD(Dates[Date],-1,MONTH)
Thanks
Raj
| User | Count |
|---|---|
| 59 | |
| 47 | |
| 31 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 77 | |
| 66 | |
| 46 | |
| 22 | |
| 22 |