Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi folks
I have a doubt in displaying the count from an excel sheet
I have an excel sheet with 3 fields
Date | Name | Status |
22-Aug-12 | DBA | AU |
22-Aug-12 | DBA | CU |
22-Aug-12 | DPR | AU |
22-Aug-12 | DPR | BU |
22-Aug-12 | DPR | DU |
22-Aug-12 | ABC | AU |
22-Aug-12 | ABC | CU |
22-Aug-12 | MNB | DU |
22-Aug-12 | MNB | AU |
22-Aug-12 | MNB | CU |
22-Aug-12 | MNB | DU |
22-Aug-12 | MNB | BU |
22-Aug-12 | MNB | DU |
if i set a expression to count the number of entries for a Name DBA it is showing the count as 2 and its correct
But i need to find the count of entries based on status also for
eg : for DBA and AU the count is 1
and for MNB and DU count is 3
Regards
see attached, but i´m not sure if this is what you want.
Sorry Michael
Currently am working from a Personal Edition QlikView
if possible please paste the expression here.
Regards
Can you please tell the output format you want?
Hi,
Use a pivot table and use expression as
=aggr(Count(Status), Name, Status)
Please find attached
HTH
Sushil
What you could do, is in your load script:
LOAD
Date, Name, Status
, Name & ' - ' & Status AS yourField....
Now in your front end, you can do a count on the created field, i.e. Count(yourField) should give you a count of unique joins for Name and Status.
Hope this helps.
Hello Bakshi,
If the dimension members(Name, Status) are there in the pivot table, aggr() function would not be required, only Count() would be enogh. Isn't it?
PFA