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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
AmelieF
Contributor II
Contributor II

Set Analysis: Fix a value for selectors

Hi, 

I have a KPI with this value for today:

sum({$}{<startdate = {"$(=Date(Today(), 'YYYY-MM-DD'))"}>*<alerttype = {'flagAbnormalTolling'}>*<difftolling={1}>} isactive)

 

How can I modify it so the value won't change when the user select a date in the selectors. (but the value still change when the user select another selector)

 

 

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

Try.

=sum({$}{<startdate =,startdate = {"$(=Date(Today(), 'YYYY-MM-DD'))"}>*<alerttype = {'flagAbnormalTolling'},startdate =>*<difftolling={1},startdate =>} isactive)

View solution in original post

3 Replies
Rockstar7
Partner - Creator
Partner - Creator

by pass the date selections like below:

sum({$}{<Date=,startdate = {"$(=Date(Today(), 'YYYY-MM-DD'))"}>*<alerttype = {'flagAbnormalTolling'}>*<difftolling={1}>} isactive)

AmelieF
Contributor II
Contributor II
Author

It does not work 😞

with this statement:

sum({$}{<startdate=,startdate = {"$(=Date(Today(), 'YYYY-MM-DD'))"}>*<alerttype = {'flagAbnormalTolling'}>*<difftolling={1}>} isactive)

 

The KPI return 1 when the startdate selector is empty or contains today's date but it returns 0 when the startdate selector does not contains today's date.

BrunPierre
Partner - Master II
Partner - Master II

Try.

=sum({$}{<startdate =,startdate = {"$(=Date(Today(), 'YYYY-MM-DD'))"}>*<alerttype = {'flagAbnormalTolling'},startdate =>*<difftolling={1},startdate =>} isactive)