Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
mario-sarkis
Creator II
Creator II

Extraction SpecificDate

Dear All,

I have Table that contains A date field as General Form i.e. "42736" I need to extract the first 20 days in from each month ,

how can I write this in the script.

Thank you

hope you can help

3 Replies
Anil_Babu_Samineni

Perhaps this? Arrange as per your needs

LOAD AutoNumber(RecNo(), Month(Date)) as ID,Month(Date) as Month, Date Where AutoNumber(RecNo(), Month(Date)) <= 20;

LOAD Date(MinDate + IterNo() - 1) as Date

While Date(MinDate + IterNo() - 1) < MaxDate;

LOAD MakeDate(2014) as MinDate,

MakeDate(2015) as MaxDate

AutoGenerate 1;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
MarcoWedel

please post some more sample data and your expected result.

thanks

regards

Marco

mario-sarkis
Creator II
Creator II
Author

Dears , I solve it by Using that "DAY" Function and I extracted my Data with the condition of where Day < 20

Thanks