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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
krishna20
Specialist II
Specialist II

Weekstart day result is not getting as expected

Hi Folks,

I am trying to create a weekstart days for all months and Monday is starting day of week.

But I am not getting result as expected and getting additional days .

The highlighted Mon-27th is belongs to Oct month in calendar. But, it's falling under Nov Month.

I haven't loaded Oct month data in my app.

PFB script and screenshot and advise.

Num(Month(Master_Date))& '-' & Day(weekstart(Master_Date,0))  as ACDWeekMonth

Community.PNG

Thanks

Krishna

1 Solution

Accepted Solutions
sunny_talwar

Try this may be

Num(Month(WeekStart(Master_Date, 0)))& '-' & Day(WeekStart(Master_Date, 0))  as ACDWeekMonth

View solution in original post

5 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Maybe you have more than one year in your data?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
krishna20
Specialist II
Specialist II
Author

I am loading only Nov , Dec and Jan till date data.

krishna20
Specialist II
Specialist II
Author

Can anyone show light on this issue.

sunny_talwar

Try this may be

Num(Month(WeekStart(Master_Date, 0)))& '-' & Day(WeekStart(Master_Date, 0))  as ACDWeekMonth

krishna20
Specialist II
Specialist II
Author

Thank you very Much That's worked perfectly.