Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
VS2
Contributor
Contributor

Creating a new dimension containing the count of a dimension.

Hi, I have a table containing user and units. I would like to create a new column in qlik which contains the count of unit. for example user abc and xyz have unit = 1. so count(unit) for both of them would be 2(as unit = 1 occurs two times).

 

 

image.png

Can anyone help how can I do it ?

Labels (4)
1 Solution

Accepted Solutions
Taoufiq_Zarra

@VS2  maybe like ?

input :

Taoufiq_Zarra_0-1652255646727.png

measure :

=count(total <unit>user)

output:

Taoufiq_Zarra_1-1652255679064.png

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

1 Reply
Taoufiq_Zarra

@VS2  maybe like ?

input :

Taoufiq_Zarra_0-1652255646727.png

measure :

=count(total <unit>user)

output:

Taoufiq_Zarra_1-1652255679064.png

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉