Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mastankomatla21
Contributor III
Contributor III

Aggregation count based on count

Hi,

I have a scenario to get the Aggregated count based on the Count.

Table1:

   

Customer NameCount (Transaction No)
AA2
BB1
CC4
DD7
EE2
FF1
GG27
HH18
II8
JJ1
KK34
LL8

 

Table2:

   

Size of Transaction NoBoxes
13
22
41
71
82
181
271
341

 

Based on the table1 I need to get the aggregated count of the count of transaction number.

Like how many 1's are present in the table 1 and how many 8's are present in the table1 likewise I need to store in a column called boxes.

Kindly suggest the possible way.

Thanks in advance

Mastan

1 Solution

Accepted Solutions
sunny_talwar

Try this

Dimension

Aggr(Count([Transaction No]), [Customer Name])

Expression

Count(DISTINCT [Customer Name])

View solution in original post

2 Replies
sunny_talwar

Try this

Dimension

Aggr(Count([Transaction No]), [Customer Name])

Expression

Count(DISTINCT [Customer Name])

mastankomatla21
Contributor III
Contributor III
Author

Hi Sunny,

Its perfectly worked and I got the answer, thank you very much.

Thanks to qlik community.

Regards,

Mastan