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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
renuka_sasikuma
Partner - Contributor II
Partner - Contributor II

Pick Match Function - not bypassing selection in Set Analysis

Hi,

I have a field as Unit. When I select Unit, it should not affect my chart.

Tried using this expression : SUM({1}{<Unit=>}Value) along with Pickmatch, also with Pick(Match(Only(Unit)) but it is not working. Any guidance on this.

UnitValue
1760
250
3300
Total1110

 

Regards,

Renuka S

10 Replies
anat
Master
Master

can u try below one using getfieldselection:

if(getfieldselections(DIM2)='A1',Sum({<Dim1=>}Sales)/Count({<Dim1=>}Distinct Date),
if(getfieldselections(DIM2)='A2',Sum({<Dim1=>}Gross)/Count({<Dim1=>}Distinct Date),
if(getfieldselections(DIM2)='A3',Sum({<Dim1=>}Revenue)/Count({<Dim1=>}Distinct Date)
)))