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 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] ).
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 |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |