Hi !
I have an Qlik sense application whose script contains a master calendar which works very well (thanks to the community for that!)... it allows me to create monthly visualizations using the dimension AsofMonthYear ...
![scriptini.PNG scriptini.PNG](https://community.qlik.com/t5/image/serverpage/image-id/17494iEFCAF2F1E15FB41D/image-size/large?v=v2&px=999)
![DATA MOI.PNG DATA MOI.PNG](https://community.qlik.com/t5/image/serverpage/image-id/17499iBE728F41FE8919E1/image-size/small?v=v2&px=200)
Now I need to add weekly data with (week numbers) for more detailed complementary analyzes.
So I added the following script part
![script add.PNG script add.PNG](https://community.qlik.com/t5/image/serverpage/image-id/17501i67541FEB731A1421/image-size/medium?v=v2&px=400)
![DATA WEEK.PNG DATA WEEK.PNG](https://community.qlik.com/t5/image/serverpage/image-id/17502i55306E06EF6E1E2C/image-size/small?v=v2&px=200)
My problem is that this new script part generates a circular reference
![ISSUE.PNG ISSUE.PNG](https://community.qlik.com/t5/image/serverpage/image-id/17503i5337A72491A0014B/image-size/medium?v=v2&px=400)
Does anyone have an idea that I have to modify the script to be able to create monthly visualizations (AsofMonth) but also weekly visualizations (AsofWeekYear if that's possible?)
Thank you in advance
Regards
Philippe