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: 
Not applicable

Current Month - Expression Builder

Hi,

Can someone help me please, I want to bring back some filtered data via expression builder for the current months data.  Currently I have the following expression which gives me records for the current day, how do I ammend this for everything within the current month?

=SUM(if([TableOpening.Date Instructions Received]=(Today()),1,0))

I will then want to expand that to quarters if possible?

Thanks in advance

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Several ways, one being:

=SUM(if(MonthStart([TableOpening.Date Instructions Received])=MonthStart(Today()),1,0))

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

3 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Several ways, one being:

=SUM(if(MonthStart([TableOpening.Date Instructions Received])=MonthStart(Today()),1,0))

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Thanks Jonathan,

Any suggestions on how best to approach the quarters scenario?

jonathandienst
Partner - Champion III
Partner - Champion III

You can use QuarterStart() in the same way

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein