Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jolienjansen
Contributor II
Contributor II

Creating a piechart based on Count()

Hey everyone,

 

I have created a table that shows the totals of certain variables. I have calculated this table by using count()

The table looks something like this:

 

Total assignmentsExecuted assignments(sum)Planned assignments(sum)Future assignments(sum)
65034070250

 

I would like to create a piechart that is based on these numbers (so a pie chart with 3 pieces). However, since these sums are based on other variables, I cannot just select "executed assignments" as a variable for the piechart. In the programs I am used to I would probably  change the table format into a  long table. However, I am still new to qlikview, and I have no idea how to solve it.

 

Thanks for your help!

 

Greetings, Jolien

Labels (2)
1 Solution

Accepted Solutions
hallquist_nate
Partner - Creator III
Partner - Creator III

I don't have an app or example of this readily available, but I think using a ValueList() is a good solution here.  I have used this in the past in situations like this and have had a lot of success.

This is the link to the ValueList help section.

Let us know if this doesn't meet your needs,

Nate

View solution in original post

2 Replies
hallquist_nate
Partner - Creator III
Partner - Creator III

I don't have an app or example of this readily available, but I think using a ValueList() is a good solution here.  I have used this in the past in situations like this and have had a lot of success.

This is the link to the ValueList help section.

Let us know if this doesn't meet your needs,

Nate

jolienjansen
Contributor II
Contributor II
Author

Thanks Nate, that indeed did the trick! Needed some time to figure out the exact working of the function, but it's working fine now.