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

Count of Frequency

Hello

I am using two or more input files and consolidating the file as in the attached excel,  I want to bring the Count of frequency as  like Column L and M. How to achieve this in Qliksense Chart.

 

 

-Prabhu
1 Solution

Accepted Solutions
Kushal_Chawda

@Prabhu1204  try below expressions

// for numbering duplicate

=mod(RowNo(TOTAL), Count(total <Supplier>Supplier))+1

// for counting duplicate
Count(total <Supplier>Supplier)

View solution in original post

12 Replies
Prabhu1204
Creator
Creator
Author

@Kushal_Chawda  Could you please help me on this

-Prabhu
Kushal_Chawda

@Prabhu1204  for which column do you need frequency

Kushal_Chawda

@Prabhu1204  create a table with Dimension Supplier and below expressions

//Count of Duplicates
=sum(total aggr(if(Count(Supplier)>1,1,0),Supplier))

// No of Dulicates
=count(Supplier)

You can adjust the expression labels based on your definition of duplicates

Prabhu1204
Creator
Creator
Author

Thanks Kush, Will try and get back

-Prabhu
Prabhu1204
Creator
Creator
Author

Prabhu1204_0-1600787775896.png

@Kushal_Chawda  Kush,

 

I tried in Qlikview and the no duplicate is showing 1 and not a consecutive number 1,2,3,4 etc.. I am making anything wrong

 

-Prabhu
Kushal_Chawda

@Prabhu1204  How would you want the output when you have multiple duplicate supplier? like ABB ,ACC

Prabhu1204
Creator
Creator
Author

@Kushal_Chawda  one code will have one supplier, for example acc supplier will have separate code and for that code number of duplicate values starts from 1,2,3,vice versa for all other code and supplier.

-Prabhu
Kushal_Chawda

@Prabhu1204  Do you want it in script or front end?

Prabhu1204
Creator
Creator
Author

if it is possible in front end na okay in front end..

-Prabhu