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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need to add 1 to every friday

Hi All,

I have a monthly analysis for each employee but the conbdition is I need to add 1 to every friday if the total workinmg hours in week is >60.

If the week falls in same month then there is no problem with the expression but if the week falls in two month, then I need to add 1 to Friday.

Let us take an example

EMPL_IDDateHours worked
10013/28/201112
10013/29/201114
10013/30/20119
10013/31/201110
10014/1/201116
10014/2/20110
10014/3/20110
My Output should be (no. of days worked)
EMPL_ID/MonthMarApr
100142


Here as the employee worked morethan 60 days in a week and week is deviding in two months, then I need to add one extra day to him (i.e on Friday only)

Please help either through script or Expression level.

At present I am using set analysis for the same.

Regards,

Veman

1 Reply
Not applicable
Author

Attached excel file of the data and required output