Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Week function not working when year changes.

I use the Week function to get the week difference between dates but as the year changed I started facing problems. Can anyone help me with this?

2 Replies
isingh30
Specialist
Specialist

Can you share your data or app?

MarcoWedel

Hi,

maybe you could use some expressions like

I:

Div(Date2-Date1,7)

or

II:

(WeekStart(Date2)-WeekStart(Date1))/7

QlikCommunity_Thread_293849_Pic1.JPG

hope this helps

regards

Marco