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

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filtering a Load Table

I am doing a load using the following script and would like to do further filtering based on one of the fields in the load. I am trying to only show data where the Time_Month_Key is equal to the Current Month

The Time_Month_Key is formatted as 'YYYYMM'

How would I write the filter to do this? (See Section in Red Below)

HierarchyLookup:

Load

'Business_Unit',

'Director',

'Manager',

'Rep',

'Reporting_Team',

'Time_Month_Key',

'VP'

Resident vw_EOM_Sales_Leads_Metrics_Detai

where Time_Month_Key = date(Now());

Thanks

Tim

1 Reply
MayilVahanan

HI

where Time_Month_Key = date(Now(),'YYYYMM');

because date(now()) gives DD/MM/YYYY default format. so as per your YYYYMM format, so must change the format..

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.