Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
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)