I have a table that has a list of publications, their publishing dates, and their end dates. The end dates being the last date before the publication republishes a new version (but the name of the publication stays the same). Table is named Tracker
I also have a table where a slicer is created to select a range of dates. Table is named Matrix
The tables are related to each other, and the new pivot table I created is connected to the slicer.
What I want to achieve is for the pivot table to display the most recent publication date of each publication, but only if the end date of that years publication is greater than or equal to the minimum or first date in the range of dates selected by the slicer.
The measure I tried was: CALCULATE(LASTDATE(Tracker[Pub Date]), FILTER(Tracker, Tracker[End Date]>=FIRSTDATE(Matrix[Reporting Month])))
But it dawned on me that you cannot Calculate the LastDate function.
Is there another way to pull what I need through powerpivot without needing to create another table? Is there something I can do to change the measure so that it works correctly?
Any information would be extremely helpful
I also have a table where a slicer is created to select a range of dates. Table is named Matrix
The tables are related to each other, and the new pivot table I created is connected to the slicer.
What I want to achieve is for the pivot table to display the most recent publication date of each publication, but only if the end date of that years publication is greater than or equal to the minimum or first date in the range of dates selected by the slicer.
The measure I tried was: CALCULATE(LASTDATE(Tracker[Pub Date]), FILTER(Tracker, Tracker[End Date]>=FIRSTDATE(Matrix[Reporting Month])))
But it dawned on me that you cannot Calculate the LastDate function.
Is there another way to pull what I need through powerpivot without needing to create another table? Is there something I can do to change the measure so that it works correctly?
Any information would be extremely helpful