March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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 ) )
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |