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: 
jewseppie
Contributor
Contributor

Count of Friday's in every month

How do I count the amount of Fridays in a specific month?

1 Solution

Accepted Solutions
Not applicable

Hi,

You can use this expressions:

Count(if(WeekDay(FieldDate) = 4, FieldDate)) // 0=Monday, 1= Tuesday, 2=...

or

Sum(if(WeekDay(FieldDate) = 4, 1)) // More efficient

But, first select a month in your app.

Regards,

Ricardo

View solution in original post

2 Replies
Not applicable

Hi,

You can use this expressions:

Count(if(WeekDay(FieldDate) = 4, FieldDate)) // 0=Monday, 1= Tuesday, 2=...

or

Sum(if(WeekDay(FieldDate) = 4, 1)) // More efficient

But, first select a month in your app.

Regards,

Ricardo

Not applicable

Hi ,

     Please find the answer in the below thread ,which is alreaady answered .

http://community.qlik.com/message/335201

Thanks & Regards

Yusuf Ali