Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
cheryl
Contributor III
Contributor III

Double dimension bar chart

Hi,

I have data input like this:

cheryl_2-1634228240146.png

 

I want to generate bar chart like this

cheryl_1-1634228108422.png

The numbers in the cell is the average score. For example, the yellow cell would be average score of New customers for Sales Ratings (6+7)/2=6.5. I will also want to use 'Date' field as a filter.

With my input, I can only get this in the bar chart in Qliksense:

cheryl_3-1634228381077.png

cheryl_4-1634228401043.png

Does anyone know how to get the chart I showed above in the Excel?

Labels (2)
1 Solution

Accepted Solutions
joaopaulo_delco
Partner - Creator III
Partner - Creator III

Hi @cheryl !

    I think the best way to solve this is using Crosstable() function on script.

After this, will be more easy to work in the bar chart.

If you can, send a post with a sample data in excel that I try to do here and send you a code.

Another way is using the ValueList() function directly on chart.

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
joaopaulo_delco
Partner - Creator III
Partner - Creator III

Hi @cheryl !

    I think the best way to solve this is using Crosstable() function on script.

After this, will be more easy to work in the bar chart.

If you can, send a post with a sample data in excel that I try to do here and send you a code.

Another way is using the ValueList() function directly on chart.

Help users find answers! Don't forget to mark a solution that worked for you!
cheryl
Contributor III
Contributor III
Author

Thanks Joaopaulo!

I used Crosstable() and it works now.