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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Simple Set analysis hellp

I have a spreadsheet two two columns

Division and Helps as a column header.

So in the helps column there could be other divisions or Orgs, Sucjh as

Division   Helps

D1          D2

D3          D1

D1          Org1

I want to have a straight table that shows D1 what other divisions D1 helps without the Org1, so basically where Helps=another division name

3 Replies
andrewpettit
Partner - Creator
Partner - Creator

I personally would pre-calculate a flag on the backend that says if they are equal or not and then write my Set Analysis to select either a 1 or 0 in my flag field.

preminqlik
Specialist II
Specialist II

try this !

in UI : if(Helps<>'Org*',Helps)

or

in script:

while loading u can keeep flag as :

load Division,

          Helps,

          if(Helps<>'Org*',1,0)                    as               helps_flag

FROM..............

IN UI CALL AS ; IF(helps_flag=0,Helps)

israrkhan
Specialist II
Specialist II

you can also try like this,

if( Helps = 'D*',Helps)