Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
karan_kn
Creator II
Creator II

Create new field - Max date before current quarter in Load Statement

How to Create new field - Max date before current quarter

Q1 Nov-Jan
Q2 Feb-Apr (Current Quarter)
Q3 May-Jul
Q4 Aug-Oct

SQL
Select Product_ID,
Max(Date(Sales_Date)) as Max_Sales_date
From Table1 A
where Sales_Date='01/31/2019'  (Not Hardcoded)
Group by Product_ID

0 Replies