Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have the following dataset
Year | Product | Value |
---|---|---|
2011 | PC | 1 |
2012 | MAC | 1 |
2012 | PC | 1 |
2012 | PC | 1 |
2012 | MAC | 1 |
2012 | PC | 1 |
2012 | MAC | 1 |
2012 | PC | 1 |
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:
Product | SUM(Value) |
---|---|
MAC | 3 |
PC | 4 |
Now I'd like to add the following column :
Product | SUM(Value) | SUM(Value) / TOTALSUM(Value) |
---|---|---|
MAC | 3 | 3 / 7 |
PC | 4 | 4 / 7 |
Note: record for year 2011 is not included in calculation.
How to get this 7?
simply sum(Total value)
hope it helps
WOW! Thanks!