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: 
Taavu82
Contributor II
Contributor II

Calculating Percentage Differences in Pivot Table

Hello Qlik Community! 

I have a pivot table that shows counts for checks that have been cleared vs. issued by check date. In the pivot table, I have the totals turned on so I can see the total number of checks for each date. What I'm trying to do is calculate the percentage of checks in each status by check date.  So far, I have been able to determine the percent of checks still in the "Issued" status by using the expression below, but I would also like to see the percentage displayed for the "Cleared" status. Any thoughts on how I can accomplish this? 

Count({<[PAYMENT_STATUS]-= {'Cleared'}>} [PAYMENT_NUMBER])/Count(TOTAL <CHECK_DATE> {<[PAYMENT_STATUS]-= {'Issued'}>} [PAYMENT_NUMBER])

Taavu82_0-1680220801310.png

Thank you! 

 

Labels (1)
1 Solution

Accepted Solutions
Taavu82
Contributor II
Contributor II
Author

No need for a response. I was able to determine that I can get what I'm looking for using the following: 

Count([PAYMENT_NUMBER])/Count(TOTAL <CHECK_DATE> [PAYMENT_NUMBER])

Taavu82_0-1680298098585.png

 

View solution in original post

1 Reply
Taavu82
Contributor II
Contributor II
Author

No need for a response. I was able to determine that I can get what I'm looking for using the following: 

Count([PAYMENT_NUMBER])/Count(TOTAL <CHECK_DATE> [PAYMENT_NUMBER])

Taavu82_0-1680298098585.png