Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
dushyant
Contributor III
Contributor III

Help! How to calculate percentage of Sum of Count of a field?

Hello,

I am creating a straight table in qlik view app.

There are 4 dimensions with string values in them.

I have already created a measure in the expressions and used the count aggregation with it.

Now, I need to find out the percentage of the count, out of the total sum of the count calculated.

 How can it be done?

Labels (1)
3 Replies
vinieme12
Champion III
Champion III

that would be

count(YourField) / count(TOTAL YourField)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

or sum of counts would be as below

 

count(YourField) / sum(TOTAL aggr(count(YouField),Dim1,Dim2,Dim3,Dim4))

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
MayilVahanan

HI

You can try with "relative" option also

MayilVahanan_0-1650757729959.png

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.