Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP
cancel
Showing results for 
Search instead for 
Did you mean: 
azmeerrehan
Partner - Creator
Partner - Creator

Exclude Weekends and Holidays Qlik Sense

I am working  on a Data Set. I need to ignore the Weekends and USA Public Holidays.  I need to build a Master calendar for these dates . For example if you look at the chart on Monday it will show previous day data that is Friday (Not Sat or Sun) or ignore any Holidays.

Attached please find the sample data set.  

Please attach a QVF for solution

2 Replies
simonc-cfn
Contributor III
Contributor III

I assume you searched the community and did not find the answer you seek.

I found this thread that may provide some guidance.  Hope it helps.

https://community.qlik.com/t5/QlikView-Documents/Master-Calendar-with-Working-days-Holidays-Flag/ta-...

Simon

Wlad_Masi
Employee
Employee

One thing you may take a look is the function Weekday() where you can get as return, the day of the week for each date record.
After getting it, you can use an expression that will not display dates where weekday = 'Sat' or 'Sun'.
To help users find verified answers, please don't forget to mark a correct resolution or answer to your problem or question as correct.