Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have to display a Straight Table like this below:
ID | Plant | Sales by Plant | Sales by ID |
100 | A | 50 | 220 |
100 | B | 70 | 220 |
100 | C | 60 | 220 |
100 | D | 40 | 220 |
200 | A | 30 | 190 |
200 | B | 60 | 190 |
200 | C | 80 | 190 |
200 | D | 20 | 190 |
I tried using the AGGR(), like this: AGGR( SUM(Sales_1) + SUM(Sales_2) , ID) , but the result is like in this format in the chart. It's not filling up the Cells in the Chart.
D | Plant | Sales by Plant | Sales by ID |
100 | A | 50 | - |
100 | B | 70 | - |
100 | C | 60 | 220 |
100 | D | 40 | - |
200 | A | 30 | - |
200 | B | 60 | - |
200 | C | 80 | 190 |
200 | D | 20 | - |
Regards!
your aggr is fine, you just need to add the nodistinct, so it be included on every row
AGGR( nodistinct SUM(Sales_1) + SUM(Sales_2) , ID)
rangesum(sum(total <ID> Sales_1),sum(total <ID> Sales_2))
your aggr is fine, you just need to add the nodistinct, so it be included on every row
AGGR( nodistinct SUM(Sales_1) + SUM(Sales_2) , ID)
Thank you very much Gysbert and Ramon!