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.
Hi all,
I'm having trouble returning the 2nd to last MAX invoice date inside DAX when I am filtering in Matrix by Client with drilldown to JobID. (Just for reverence, it is 1 Table - Invoices. All Invoices have a Client allocated to it and a JobID. So a Client can have many JobIDs)
The Last Date is no issue
Solved! Go to Solution.
Went a SQL path to solve this.
It seems that you may change "<>" to "<".
This doesn't seem to work. In August context, looking at 1 particular JobID, it returns 30/08/2019
It should be returning 31/07/2019, as this was the last invoice raised for this Job. 30/08/2019 makes no sense, as no invoice was raised on this date for this job.
DAX
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 |
---|---|
113 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |