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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
D19PAL
Creator II
Creator II

How do i do count({< field=P(field2)>}ID)

Hi,

How do i do the following in the script?

 count({< field=P(field2)>}ID)

+

 count({< field2=P(field)>}ID)

To see if field1 is in field and if field is in field1.

 

Data

ID,field,field1,

1,NN,CJ

2,NN,CJ

3,CJ,PT

4,DP,TF

 

So result will be 3, ID 1,2,3 because they feature in both columns

 

Thanks 

 

 

 

Labels (1)
0 Replies