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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Sree_1
Contributor III
Contributor III

Display Bi-Weekly Dates in qlik sense for a given range.

Hi,

I have some given date ranges starting from January to March 15th. I would like to display these dates in bi-weekly in a Bar chart. Can you please help me out. Thanks.

Labels (1)
2 Replies
MayilVahanan

Hi

Try like below

Date(DateField) as DateField,
Week(DateField) as WK,
'BIWK' & Ceil(Week(DateField)/2) as BIWK

 

Use BIWK in the bar chart

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
anat
Master
Master

you can try one of the below logic:

 Date(2+14*Div(create_date-2,14)) as BiweekStart

Date(Floor(Date,14,2)) as BiWeekDate

dual(text(weekstart(Date)),div(weekstart(Date),14)) as BiWeekDate,