Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
please can any one help me how to identify the old , new customers as i have 2 months data in qlik sense
i want to do in the script
hi sunny ,jagan,swuehl
can help me on this
@nareshthavidishetty please share sample dat with expected output?
hi Kush
cannot share the data due to restrictions
im doing this in script
Old_Customer:
LOAD DISTINCT Customer,
Customer as Old_Customer,
1 as Old_Cust
Resident Table
Where businessdt<= '2020-08-31';
New_Customer:
LOAD DISTINCT Customer,
Customer as New_Customer,
1 as New_Cust
Resident Table
Where not Exists(Old_Customer, Customer) and businessdt<= '2020-09-30';
Temp:
LOAD DISTINCT Customer as Temp_Customer,
1 as New_Cust
Resident Table
Where Exists(Old_Customer, Customer) and businessdt<= '2020-09-30';
Lost_Customer:
LOAD Distinct Customer,
1 as Lost_Cust
Resident Table
Where not Exists(Temp_Customer, Customer) and businessdt<= '2020-08-30';
not able to get figure out
DROP Table Temp;
@nareshthavidishetty what is the logic of identify old and new customers?