Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
102 | |
99 | |
38 | |
37 |
User | Count |
---|---|
158 | |
125 | |
76 | |
74 | |
63 |