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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

[ASK] what function to see start and end of custom days-group ?

hello..

i've made a days-group field in edit script with this syntax :

if(weekday(mst_date)<>'Sunday' and weekday(mst_date)<>'Saturday',date(floor(mst_date/3)*3)) as threedaysgroup

and the issue that shows up is how to see start day of group and end of group?

example,

threedaysgroup | startdate | enddate

====================================

03-Jan-2010 | 01-Jan-2010 | 03-Jan-2010

06-Jan-2010 | 04-Jan-2010 | 06-Jan-2010

.

.

.



many thx...

2 Replies
Not applicable
Author

hi please use

this funcation

networkdays (mst_date )



it give no of working day exclude Saturday and Sunday.

according no of day you make 3 day group.

Regards

Ashish

Not applicable
Author

hello Ashish..

i've tried that, and it shows no data