Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 45 | |
| 35 | |
| 24 | |
| 23 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 64 | |
| 38 | |
| 31 |