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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Jnkansayeboah
Contributor
Contributor

How do I count IDs within a particular date range?

I want to count a particular set of ID numbers within a particular fiscal year. I have started with the code below, but it is currently not working. Can anyone help correct the code please?

Count({<[Event Date]={">=$((Date($(vMinFiscalYear),'DD/MM/YYYY'))) <=$((Date($(vMaxFiscalYear),'DD/MM/YYYY')))">}[IDs])

1 Reply
Taoufiq_Zarra
MVP
MVP

@Jnkansayeboah 

can you try

Count({<[Event Date]= {"<=$(=Date(vMaxFiscalYear,'DD/MM/YYYY')) >=$(=Date(vMinFiscalYear,'DD/MM/YYYY'))"}> } [IDs])
Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉