Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
aaronnayan
Creator III
Creator III

Calulcated condition QlikSense!!!!!!!!!!!!!!!!!!!!!

Hi Guys

Trying to write a formula

Could you correct this?

if(GetSelectedCount({<[Product Sub Group]>}={'Cheese'}>}[Sales]))

I only want the chart to populate if cheese is selected

Thankyou

24 Replies
karthikoffi27se
Creator III
Creator III

Hi Aaron,

use the below formula in the conditional tab and Sum(Sales) in a your expression tab

Substringcount(Concat ([Product Sub Group],'|'),'Cheese')

Many Thanks

Karthik

aaronnayan
Creator III
Creator III
Author

Sorry this is for Qlik sense right?

karthikoffi27se
Creator III
Creator III

No this is for QlikView

jonathandienst
Partner - Champion III
Partner - Champion III

Set a chart calculation condition:

=GetSelectedCount([Product Sub Group])

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
aaronnayan
Creator III
Creator III
Author

Thats sort of correct

But how to make it populate when i select  the value cheese?

OmarBenSalem

try:

if( GetFieldSelections([Product Sub Group])=,'Cheese',sum(Sales),0)

aaronnayan
Creator III
Creator III
Author

That does not workqliikk community.PNG

aaronnayan
Creator III
Creator III
Author

Okay Guys

Still not working

How would i write this

if(GetSelectedCount({<[Product Sub Group]>}={'Cheese'}>}

another

if(GetSelectedCount({<[Tshirt]>}={'Black'}>}

I only want the chart to populate if the defined value is selected?

As a calculated condition

Thankyou

OmarBenSalem

you have a "," before cheese..

what if u elminate it?

Capture.PNG