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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

Count

Hi first of all thanks for any help,

What Im looking for i think is relativly simple,

all I want the expression to do is count everything that is less than the date selected.

count ( {$<[Fault Id]={"<[Date Detected]"}>} [Fault Id] )

so basically count the fault ID if the date detected is less than the date I select using a calender

6 Replies
nizamsha
Specialist II
Specialist II

count ( {$<[Fault Id]={"<$(=Date([Date Detected]))} [Fault Id] )

michael_maeuser
Partner Ambassador
Partner Ambassador

is the fault id a date field? if so, make sure it is also loaded with date(fault id) as fault id

MayilVahanan

Hi

Try like this

count ( {$<[Fault Id]={"=[Fault Id]<[Date Detected]"}>} [Fault Id] )

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
v_iyyappan
Specialist
Specialist

Hi

Use like this

=count({$<[Date Detected]={"<$(=Date([Date Detected]))} [Fault Id])

Regards,

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

Try with this

count ( {<[Date Detected]={"<$(=Date(vDateSelected,'Your Date Format'))"}>} [Fault Id])

er_mohit
Master II
Master II

Try this

count ( {$<[Date Detected]={"<$(=Date([Date Detected]))"}>} [Fault Id] )