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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (3)
1 Solution

Accepted Solutions
MayilVahanan
MVP
MVP

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
MVP
MVP

@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
MVP
MVP

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
MVP
MVP

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") 😉