Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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