Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I am attempting to create a cumulative sum balance that evaluates two different date columns across an evaluation date array. An example of what I'm trying to achieve is attached below via a series of image snapshots. For example, for a permit to be an "open permit" at the time of the evaluation month, it must have a permit date (column J) that is <= the evaluation date AND a spud date (column K) that is > the evaluation date. The dax formula I have set up does not achieve this result. Any suggestions?
Raw data summary capture:
Desired result calculation and visual in excel:
PowerBI relationships:
PowerBI DAX formula for open permits yielding incorrect result:
Solved! Go to Solution.
You may disable the relationship and change the right side of inequality to MAX ( Date_Table[Date] ).
Hi,
It is impossible to understand your question with such small screenshots. Share the link from where i can download your file. Show the expected result there as well.
Hi,
Sorry for the late revert. I tried but was unsuccessful in solving the problem.
You may disable the relationship and change the right side of inequality to MAX ( Date_Table[Date] ).
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
117 | |
101 | |
71 | |
61 |