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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Week Report

Hi Friends

I have developed a pivot table in my QV doc to obtain weekly income figures. Format shown below

Screenshot_1.png

But in this report date week date start from Tuesday to Monday whereas I want to show Monday to Sunday. The date range for the above  data is give below for your reference pls.

Screenshot_2.png

I have shown current date range and my required range is given in red. My script for master calendar for the above calculation is also shown below.


Screenshot_3.png

Kindly help me get my issue corrected. Thanks

 

5 Replies
agigliotti
Partner - Champion
Partner - Champion

how does your FirstWeekDay environment variable looks like in script?
in your case it should be equal to 0 (monday).
I hope it helps.
upaliwije
Creator II
Creator II
Author

Sorry I can't understand what you say . Pls elaborate a little more 

 

Screenshot_1.png

agigliotti
Partner - Champion
Partner - Champion

try adding the below statement in your script.
SET FirstWeekDay=0;
upaliwije
Creator II
Creator II
Author

That Part I have already added to my script. Still the result is same

Brett_Bleess
Former Employee
Former Employee

Check things against the Help link below, if things are not working as documented, I would submit a support case, but if you are not on the latest service release of the major release you are running, I would recommend trying the latest service release to see if it may work there too:

https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/Nu...

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.