Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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