Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
naveen409
Contributor III
Contributor III

First Seven Days of a month?

Hi All,

I'm New to Qlik,

I have small challenge like, I want to see first 7 days and 14, 21, 28 days of a month.

I'm Passing year and month values through filter pane

date format MM/DD/YYYY.

Your suggestions appreciated.

Thanks,

Naveen

1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

Or..

When loading your date use something like
if(Day(DateField)<=7,1,0) as [7 Day Flag],
if(Day(DateField)<=14,1,0) as [14 Day Flag],
.....

View solution in original post

3 Replies
marcus_sommer

You might cluster them with: ceil(day(DATE) / 7)

- Marcus

dplr-rn
Partner - Master III
Partner - Master III

Or..

When loading your date use something like
if(Day(DateField)<=7,1,0) as [7 Day Flag],
if(Day(DateField)<=14,1,0) as [14 Day Flag],
.....

naveen409
Contributor III
Contributor III
Author

Thanks Dilip,

As a Variable that is working fine

Regards 

Naveen