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: 
jsjavier
Contributor
Contributor

KPI with two date parameters

Hi I am new in using Qlik sense. I am using the KPI chart and I want to have a condition in counting.

Condition:

I want to count all person that is registered between Yesterday 12AM and TODAY 12AM

1.NAME

2.Registration_Date

 

my initial formula for this KPI is the basic formula which is  COUNT(name)

1 Reply
Kashyap_R
Partner - Specialist
Partner - Specialist

Hi

Try this

Make sure that Required_Date  is in DateTime Format

Count({<Required_Date= {">=$(=Timestamp#(Text(Date((Today()-1)))&' '&'12:00:00 AM','DD/MM/YYY h:mm:ss tt'))<=$(==Timestamp#(Text(Date((Today()-1)))&' '&'12:00:00 AM','DD/MM/YYY h:mm:ss tt') )"}>} Value)

 

Hope it helps

Thanks

Thanks and Regards
Kashyap.R