Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SUM(value) for record / SUM(value) for all records in chart

I have the following dataset

YearProductValue
2011PC1
2012MAC1
2012PC1
2012PC1
2012MAC1
2012PC1
2012MAC1
2012PC1

I have ListView with Year and this control allows me to filter dataset by year

I have a Chart (table) with cyclic group by Product. Then I SUM(Value) for those groups

I have something like this when I filter Year = 2012:

ProductSUM(Value)
MAC3
PC4

Now I'd like to add the following column :

ProductSUM(Value)SUM(Value) / TOTALSUM(Value)
MAC33 / 7
PC44 / 7

Note: record for year 2011 is not included in calculation.

How to get this 7?

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

simply sum(Total value)

hope it helps

View solution in original post

2 Replies
alexandros17
Partner - Champion III
Partner - Champion III

simply sum(Total value)

hope it helps

Not applicable
Author

WOW! Thanks!