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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Jardinillo
Contributor II
Contributor II

View data in a bar chart

Hello,

In a graphic, for example, of bars, when you click with the right button and choose "View data". In the table that shows you can you make a total sum of the values? Thank you

4 Replies
Zhandos_Shotan
Partner - Creator II
Partner - Creator II

No, View data and Export table shows only values that represented on chart. But using some tricks let you achieve that with limitations, i think.
Jardinillo
Contributor II
Contributor II
Author

And what would be some of those tricks? 🙂
Zhandos_Shotan
Partner - Creator II
Partner - Creator II

Ok!

1. You need to create real Total bar. Add 'Total' row in your dimension in script.

2. Add expression:
if(Dim<>'Total',
Sum(Value)
, Sum(Total Value))

OR

If you need to show totals only in view/export table, you need to make totals bar color as Background color and Total row must be empty string.
See pic below and expression:

image.png

Color expression:

if(Len(Categ)>0,
LightBlue()
, White())

 

Check attachment

Best regards

Jardinillo
Contributor II
Contributor II
Author


Thank you very much for the reply.