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

First Monday of Month/Quarter

How to  write an expression to calculate number of sales on first specific weekday (Monday) of month/Quarter?

3 Replies
shree909
Partner - Specialist II
Partner - Specialist II

try something like this using weekday function.

if(  weekday(month)='monday', count(sales),null())

if(  weekday(month_number)='monday', count(sales),null())

Not applicable
Author

Hi Shree,

             thanks for reply.I want to calculate only for first monday of each month/Quarter.

MayilVahanan

Hi

Try like this

=if(Day(Date) <= 7 and WeekDay(Date) = 'Mon',Sum(Sales))

May be that helps

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