I am looking to build a beast mode calculation to give me the sum of my data based on the max date currently in my card.
So if I have the card at the day level I show the sum of inventory position of that day. If I have the card at the week level I show the sum of inventory position of my last day within the time frame.
This formula seems to give me the date value correctly but I can't get the actual positional value of a column on the date dictated by this formula.
MAX(MAX(`PoPDate`)) OVER (PARTITION BY DAY(`PoPDate`),WEEK(`PoPDate`),YEAR(`PoPDate`))