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

Count if X equals LastMonth

Hi,

I want to implement something like

count({<[WorkMonth]=Month(Today())-1>} WorkItem)

WorkMonth is a column represents the month, in which WorkItem was done.

But its a wrong expression. How can I do this?

Thanks a lot.

1 Reply
vamsee
Specialist
Specialist

Try

=Count({<[WorkMonth]={"$(=Month(Today())-1)"}>}WorkItem)