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: 
sakamsureshbabu
Creator
Creator

opening sum

Hi All

in my requirement i required opening balance.That menace i want to calculate no.of personae are joined from starting of the scheme to before date of my selected Start date.

i am using below equation

=count(DISTINCT if((InvestDate>=Start and InvestDate<=End), MasterKey))

where Start  is selected Start date

          End  is selected End date

3 Replies
Agis-Kalogiannis
Employee
Employee

You can do something like this:

=count({$<InvestDate={'>=$(StartDate)<=$(EndDate)'}>}DISTINCT MasterKey)

And you can create two variables, StartDate and EndDate, and two Calendar objects that will modify the variable values.

Thanks

Agis

sakamsureshbabu
Creator
Creator
Author

Hi

Thanks Agis.

Agis-Kalogiannis
Employee
Employee

Hi Suresh

Could you please mark the answer as helpful or correct if this is what you are looking for?

Thanks

Agis