Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am attempting to pull the date of the 101 Movement type that comes directly before a 102 movement.
I have no issues determining the Max date for an order # by movement type however cannot for the life of me determine how through DAX to pull the Maximum Date for Movement Type = 101 that comes before the 102 Movement Type. Below is an example of my data.
Thank you
Solved! Go to Solution.
Create a measure with:
a variable that holds the date of the type = 102 record-> _102Date
Return the largest date from the filtered table of type = 101 and PostingDate < _102Date
Create a measure with:
a variable that holds the date of the type = 102 record-> _102Date
Return the largest date from the filtered table of type = 101 and PostingDate < _102Date
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
28 | |
23 | |
12 | |
8 |
User | Count |
---|---|
74 | |
51 | |
45 | |
16 | |
12 |