The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
79 | |
77 | |
43 | |
39 |
User | Count |
---|---|
150 | |
117 | |
67 | |
64 | |
56 |