Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count Duplicate values

Hi,

I need output as following as data with me is ID, FID, please help

IDFIDOutput
1103 (As 10 3 times in FID)
2202 (As 20 2 times in FID) and so on
3303
4103
5202
6303
7401
8303
9501
10103
3 Replies
vincent_ardiet
Specialist
Specialist

Hi Patel,

Try this expression:

 

=count(TOTAL <FID> FID)

Regards,

Vincent


Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

If you want to do that on expression:

Count(TOTAL <FID> FID)

If you want to do that on script:

TEST:

LOAD * INLINE [

ID, FID

1, 10

2, 20

3, 30

4, 10

5, 20

6, 30

7, 40

8, 30

9, 50

10, 10

];

Join(TEST)

TEST2:

LOAD

  FID,

  Count(FID)as tt

Resident TEST

Group By FID

;

Regards,

Aurélien

Help users find answers! Don't forget to mark a solution that worked for you!
israrkhan
Specialist II
Specialist II

hi, PFA