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: 
evansabres
Specialist
Specialist

Bar Chart with Percentage of Population

I am attempting to create a bar chart to show percentage of accounts by age group.

Dimension = [Age Group]

Expression = COUNT(acctid)

When I do this, i get the correct number of accounts per age group, however, i would like to show this as a percentage.

How can I do this?

1 Solution

Accepted Solutions
inspari_dfg
Partner - Contributor III
Partner - Contributor III

Use this as your expression: COUNT(acctid) / COUNT(TOTAL acctid)

And then change the numberformatting to percentage

View solution in original post

1 Reply
inspari_dfg
Partner - Contributor III
Partner - Contributor III

Use this as your expression: COUNT(acctid) / COUNT(TOTAL acctid)

And then change the numberformatting to percentage