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 of field values

hi all,

I have a table with two columns user_id and percentage_score in results table. I have attached the sample csv file.

while loading the data i need to load user_id and count of each user_id.

for example: user_id = 476 i have two times in table so i need count as 2.

After loading table should look like below:

User_idcount
1241
221
321
451
572
4762
23
771
141
233
171
4322

Please note this i need this data while loading only.

Thanks,

Pramod

11 Replies
Not applicable
Author

would you please send me that .qvf file.

pokassov
Specialist
Specialist

I'm sorry. I have tried script for QV11.

However, I tried it for QlikSense too.

Here the code, which I checked:

LOAD distinct

    user_id

FROM [lib://Downloads/correct.csv.xlsx]

(ooxml, embedded labels, table is Sheet1);