Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
prahlad_infy
Partner - Creator II
Partner - Creator II

How to put an expression to find ID shared by multiple group and region ?

Hello Sirs,

I have two requirement from a simple data :

1)  View something like (expression to find ID shared by multiple group and region)

IDGROUPS WHICH SHARE SIMILAR IDREGION WHICH SHARE SIMILAR ID
ID17 , 10EUR , PAFAC
ID212 , 16US , EUR


2) User based identification (parameterised condition) using input box 

I have created an input box with values 2 to 10 .

If user selects 2 then , i should get yield me list of Group whose id is shared by two different groups 

If user selects 3 then , i should get yield me list of Group whose id is shared by three groups groups 

 

SOURCE DATA

GROUPREGIONID
1AMENAID9
1AMENAID11
2PAFACID7
2PAFACID12
3EURID8
3EURID18
4USID6
4USIDC1
5AMENAID4
5AMENAID22
6PAFACID3
6PAFACID44
7EURID1
8USID6
9AMENAID6
10PAFACID1
11EURID3
12USID2
13AMENAID8
15PAFACID5
16EURID2
16USIDC1
17AMENAID4
18PAFACID7
18USIDC1
19EURID3
20USID6
21AMENAID9
22PAFACID3
23EURID7

 

Thank you 

2 Replies
prahlad_infy
Partner - Creator II
Partner - Creator II
Author

@tresesco 

@marcus_sommer 

@sunny_talwar 

 

Please help . You guys have given help to me earlier .

DavidM
Partner - Creator II
Partner - Creator II

How about adding counted field to your script:

 

Load

ID,

Count(ID) as ID_Count,

resident SourceData

Group by ID;

 

You can create the filter with field ID_Count which will show you the ID's you need (you decide whether to Map or Join the table with Count, or leave it as it is)