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! Get ahead of the game and start preparing now! 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |