Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
MK_8
Contributor II
Contributor II

Week number to Week dates

MK_8_0-1665654699376.png

Hi, I am new to Qlik sense, and I wanted to check how we can change the week numbers (2021/41) into dates (11/10/2021 -17/10/2021). 

I Used WeekName(Date,0,1)  

I would appreciate it if someone could help me  

Labels (6)
2 Solutions

Accepted Solutions
justISO
Specialist
Specialist

Hi, you can try to use WeekStart() and WeekEnd() functions, like

WeekStart(Date) &' - '&WeekEnd(Date)

View solution in original post

rubenmarin

Hi, you can use: Date(WeekStart(Date)) &' - '&Date(Floor(WeekEnd(Date))).

But that will be too long to show on the label, maybe you can only use the start date (and the start of the next bar tells the user when the previous bar ends: WeekStart(Date).

You can show the full dates in the pop-up of the bar (Properties -> Appearance -> Tootip -> title or description)

View solution in original post

3 Replies
justISO
Specialist
Specialist

Hi, you can try to use WeekStart() and WeekEnd() functions, like

WeekStart(Date) &' - '&WeekEnd(Date)

rubenmarin

Hi, you can use: Date(WeekStart(Date)) &' - '&Date(Floor(WeekEnd(Date))).

But that will be too long to show on the label, maybe you can only use the start date (and the start of the next bar tells the user when the previous bar ends: WeekStart(Date).

You can show the full dates in the pop-up of the bar (Properties -> Appearance -> Tootip -> title or description)

MK_8
Contributor II
Contributor II
Author

Thank you so much, it worked 😀