Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
ishanbansal1204
Contributor III
Contributor III

Total Value for a calculated dimension

Hi Experts,

I have a pivot table where my row is

=IF(DT= 'Response',BU)

Column

=IF(DT= 'Response',SR)

My first measure is

Count(ID)

In the second measure, I am trying to calculate the percentage. Tried with 2 formula but both are not working

COUNT(TOTAL ID)

COUNT(TOTAL <row> ID)

Please help

1 Solution

Accepted Solutions
MayilVahanan

Hi @ishanbansal1204 

Try like below

Count(ID)/

COUNT({<DT={ 'Response'}>}TOTAL ID)

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

View solution in original post

4 Replies
Taoufiq_Zarra

@ishanbansal1204 

Maye be likek :

=num(count(ID)/count(total ID),'#,##0.0%')

or  you can share a sample data and the expected output

Regards,
Taoufiq ZARRA

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

(you can mark up to 3 "solutions") 😉
ishanbansal1204
Contributor III
Contributor III
Author

Not working. 

I have a conditional row so may be thats the problem.

MayilVahanan

Hi @ishanbansal1204 

Try like below

Count(ID)/

COUNT({<DT={ 'Response'}>}TOTAL ID)

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

can you share sample data and the expected output ?

the conditional row formule

Regards,
Taoufiq ZARRA

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

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