Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello to all,
I am looking for a specific case of button configuration:
I already know how to select values from multiple fields with a button but the tricky part is that I want to add the selections of those fields. Here is an example:
I have a visualisation with several dimensions/fields including:
I want my button to select the region "Africa" but at the same time select the country "Japan" which would technically be excluded from the selection due to region being "Africa".
Is there a way of doing so ? So far I have to say that I am not sure if this is possible via a button.
Thanks.
In the end, the best way to do it the way I wanted was to put a 'Tag' system.
Countries in Africa and Parkistan all have the same tag, that I use to filter.
Thanks to all of you for guiding me.
A direct field-selection is not possible but both conditions could be combined within a set analysis, like:
sum({< Region = {'Afrika'} > + < Country = {'Japan'}>} Value)
Thanks for the reply, sadly I want to use this feature as a filter for the whole page but only by having a favorite or a button so I am not sure that this solution by using an aggr would be possible.
You could use a second state and then combine the conditions in your expressions, perhaps?
Sorry, my Qlik Sense is in French so are you talking about Inherited State ?
If so, I would be curious to have an example to understand how this would work.
Even if this is not the way you are talking about, I would be curious to see an example of the solution you are suggesting.
Once again, thanks a lot.
If appropriate set analysis conditions are not practically enough I think I would add the essential information within the data-model, in the simplest way an extra field in the country-dimension-table, like:
if(Region = 'Afrika' or Country = 'Japan', true(), false()) as SheetFilter
and then selecting against this flag.
Another way to control excluding and/or overlapping hierarchically values may be to implement a The As-Of Table - Qlik Community - 1466130.
In the end, the best way to do it the way I wanted was to put a 'Tag' system.
Countries in Africa and Parkistan all have the same tag, that I use to filter.
Thanks to all of you for guiding me.