Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is it possible to show the frequency of column in chart?

hi,

I have a column CustomerID, name, date in table where CustomerID have duplicates. Can anyone suggest me is it possible to show the frequency of CustomerID in chart?

Thanks.

15 Replies
Not applicable
Author

Thanks. I tried this. This is not giving what I need. Any solution please.

I want output should appear as below

                                                                             

CustomerIDnamedateFrequency
129870580XX11/03/2015
  15:42:17
5
129870580XX09/03/2015
  16:46:09
5
129870580XX11/03/2015
  13:57:47
5
129870580XX11/03/2015
  13:44:51
5
129870580XX09/03/2015
  16:31:47
5
160642783YY10/03/2015
  10:45:05
3
160642783YY10/03/2015
  17:53:37
3
160642783YY06/03/2015
  11:36:11
3
190526569ZZ09/03/2015
  12:54:49
3
190526569ZZ09/03/2015
  12:57:42
3
190526569ZZ09/03/2015
  15:32:50
3
buzzy996
Master II
Master II

u have try with this,

=Aggr( Count( CustomerID),CustomerID,name) for frequency.

giakoum
Partner - Master II
Partner - Master II

See my post further above. It was just a correction. And when the exact requirement is not known, all options should be mentioned.

sebastianlettner
Partner - Creator
Partner - Creator

Hi,

use this Expression

Count(Total<CustomerID> CustomerID)

Anonymous
Not applicable
Author

Hi Amelia2000 just remove date column from table as it is unique for each record

. Your solution will work .

Thanks

BKC

aapurva09
Creator
Creator

Hi Amelia,

Try this in the script and just use sum(Frequency) as  expression-

Table1:

Load CustomerID,

         name,

         Date

From Path;

Table2:

Load CustomerID,

         name AS name1,

        Count(CustomerID) AS Frequency,

Resident Table1

GROUP BY CustomerID, name;

Thanks,

Apurva