Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
i have calculate same period last month using the below dax
Solved! Go to Solution.
Try
Same period last month =
VAR ThisMonth =
CALCULATETABLE (
DATESMTD ( 'Global Date'[Date] ),
TREATAS ( { TODAY () }, 'Global Date'[Date] )
)
VAR Result =
CALCULATE ( [sales in kg], DATEADD ( ThisMonth, -1, MONTH ) )
RETURN
Result
Try
Same period last month =
VAR ThisMonth =
CALCULATETABLE (
DATESMTD ( 'Global Date'[Date] ),
TREATAS ( { TODAY () }, 'Global Date'[Date] )
)
VAR Result =
CALCULATE ( [sales in kg], DATEADD ( ThisMonth, -1, MONTH ) )
RETURN
Result
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 24 | |
| 18 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 42 | |
| 42 | |
| 37 | |
| 37 |