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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
karandeep
Contributor II
Contributor II

Populating percentage in Qliksense Pivot

Hi there, I am trying to populate the %age in Qliksense Pivot similar to as populated in Excel summary below. 

I have used a formula that gives the **bleep** figures rangeSum(before(count(Item),0,ColumnNo())) however not able to populate the %age, Can you please help. Thank you!

karandeep_0-1746196865252.png

 

 

Labels (1)
1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi there,

For the percentage, divide your cumulative sum by the total by Department:

rangeSum(before(count(Item),0,ColumnNo())) / count( total <Department> Item)

I think this should work.

Cheers,

Ask me about Qlik Sense Expert Class!

View solution in original post

4 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi there,

For the percentage, divide your cumulative sum by the total by Department:

rangeSum(before(count(Item),0,ColumnNo())) / count( total <Department> Item)

I think this should work.

Cheers,

Ask me about Qlik Sense Expert Class!
karandeep
Contributor II
Contributor II
Author

Thank you so much, This worked! 🙂

karandeep
Contributor II
Contributor II
Author

When a day has no value, the pivot table currently displays a hyphen or remains blank. I need an updated expression so that if, for example, Day 5 has no value, it should automatically use the same percentage shown for Day 4 instead of leaving the cell blank. Could you please help? Thank you.

 
karandeep
Contributor II
Contributor II
Author

and if the first cell is blank against the department then automatically start with 0.0%, thank you.