Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Hiding Rows based on selection

Hi All

I have a requirement where I should hide rows from a straight table based on selection.

Capture1.PNG

The values which are selected is Hide Row filter must be hidden from the table.

For example I have selected Coconut oil and Niacinamide. Both the values must be hidden from the table. But I am not able to hide. Only when a single selection is made in HideRow filter the row is hidden.

There are two dimensions Commodity Number and groupName which has alias name 'Ingredients'

The filter 'Hide Row' denotes groupName. groupName is given a alias name as 'Hide Row'.

The expression which i have used is

=SUM({<groupName={'*'}-{"$(vSelectedGroups)"},INGREDIENT_TYPE={'SUB-INGREDIENT'}>}quantity)


where

vSelectedGroups = GetFieldSelections(groupName,',',20)


Can anyone help me on this.


Thanks

Koushik


1 Solution

Accepted Solutions
PrashantSangle

Hi,

Try e() in set analysis,

try like

=SUM({<groupName=e(groupName),INGREDIENT_TYPE={'SUB-INGREDIENT'}>}quantity)

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

2 Replies
tamilarasu
Champion
Champion

Try expression as,

If(Getselectedcount(groupName)=0,  SUM({<groupName={'*'}-{"$(vSelectedGroups)"},INGREDIENT_TYPE={'SUB-INGREDIENT'}>}quantity), SUM({1-$<groupName={'*'}-{"$(vSelectedGroups)"},INGREDIENT_TYPE={'SUB-INGREDIENT'}>}quantity)

PrashantSangle

Hi,

Try e() in set analysis,

try like

=SUM({<groupName=e(groupName),INGREDIENT_TYPE={'SUB-INGREDIENT'}>}quantity)

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂