Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Fetching only Wednesday

Hi All,

     I need to fetch records only from some particular days, for ex I need to fetch only on max(Wednesday). so if I refresh I need to fetch

only 01/03 . As it is involving in data fetch layer I need to put this condition.

My data source table from Hive. Kindly let me know.

-Jai

1 Reply
Anil_Babu_Samineni

Not sure entirely sure where and what you want?

Set DayNames = 'Monday;Tuesday;Wednesday;..'

Approach-I

Load * Where DateField = Match(WeekDay(DateField), 'Wednesday'); // This string comes from Variable which in blue

Hive Table Loaded;

Approach-II

Sample:

Hive Table Loaded;

Final:

NoConcatenate

Load * Resident Sample;

Drop Table Sample;

Right Join (Final)

Load Max(DateField) as DateField

Resident Final Where DateField = Match(WeekDay(DateField),'Wednesday'); // This string comes from Variable which in blue

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