Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
count(CustomerID)
or
count(distince CustomerID)
depending on requirement
below is sample data
129870580 |
129870580 |
129870580 |
190526569 |
190526569 |
160642783 |
160642783 |
129870580 |
190526569 |
129870580 |
160642783 |
Hi,
Count(CustomerID) in the expression and CustomerID as dimension will give you CustomerID wise frequency of that CustomerID.
Hope it wil help.
Thanks,
Apurva
sorry this is the correct one :
count(distinct CustomerID)
Hi,
Distinct can not be useful here as it will count as 1 per CustomerID.
Thanks,
Apurva
Thanks. I just want to know how many times it exists. like we have in list box there is an option check box Frequency.
I know I can get from list box. But I need columns CustomerID, name, date appear in table showing frequency of CustomerID
then create an expression with count(CustomerID)
otherwise share a sample app
Hi Amelia,
Follow these steps:
Now you will get CustomerID, name, date wise Frequency of CustomerID.
If you take pivot table, you can check the frequency at all 3 dimensions by Collapsing and Expanding those dimentions.
Thanks,
Apurva
here is the data
CustomerID | name | date |
129870580 | XX | 11/03/2015 15:42:17 |
129870580 | XX | 09/03/2015 16:46:09 |
129870580 | XX | 11/03/2015 13:57:47 |
129870580 | XX | 11/03/2015 13:44:51 |
129870580 | XX | 09/03/2015 16:31:47 |
160642783 | YY | 10/03/2015 10:45:05 |
160642783 | YY | 10/03/2015 17:53:37 |
160642783 | YY | 06/03/2015 11:36:11 |
190526569 | ZZ | 09/03/2015 12:54:49 |
190526569 | ZZ | 09/03/2015 12:57:42 |
190526569 | ZZ | 09/03/2015 15:32:50 |