Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
ilanbaruch
Contributor III

qliksense KPI#1 object

hi all,

i am using a couple of  qliksense KPI#1 object in a dashboard, every one of them is with different set analysis calculation.

i notice that some of them dont respond to user selection, for example

one of the object calculate amount as below and retrieve the correct value

sum({$<PLATFORM={'Ios'},USAGETYPE={'Smartphone'}>}Amount)

but when i other platform (Android) value stay the same..

i would expect to see zero.

any ideas?


advanced thanks

1 Reply
shraddha_g
Honored Contributor III

Re: qliksense KPI#1 object

you have hardcoded it as IOS.

Try,

if(getselectedcount(PLATFORM) <>0 or getselectedcount(USAGETYPE) <>0,

sum(Amount),sum({$<PLATFORM={'Ios'},USAGETYPE={'Smartphone'}>}Amount)

)