Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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