Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to Create new field - Max date before current quarter
Q1 Nov-JanQ2 Feb-Apr (Current Quarter)Q3 May-JulQ4 Aug-Oct
SQLSelect Product_ID,Max(Date(Sales_Date)) as Max_Sales_dateFrom Table1 Awhere Sales_Date='01/31/2019' (Not Hardcoded)Group by Product_ID