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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I am trying to calculate the units fulfilled in a previous month. My table has two date tables. I need the data from the "Fulfillment" date table.
This is the DAX formula I wrote. I received this error.
Solved! Go to Solution.
I ended up solving it. I had to use the fulfillment date table and use [Date] from there. Thanks!
I ended up solving it. I had to use the fulfillment date table and use [Date] from there. Thanks!
Hi @Anonymous ,
It is odd that it doesnt work. You can see in my screenshot below that it does.
Alternatively, try this
Previous Month2 =
VAR __end =
MIN ( Dates[Date] ) - 1
VAR __start =
EOMONTH ( MIN ( Dates[Date] ), -2 ) + 1
RETURN
CALCULATE ( [Sum of Values], DATESBETWEEN ( Dates[Date], __start, __end ) )
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |