Hi Guys,
I am building a dashboard using live office in dashboards 4.1.
The first view is a column chart with the summary data. Then, the user can click on a push button that opens up a list builder component for the user to make the selections. The column chart will change according to the selection.
Now, what I am trying to do is - use the same column chart for both views (summary & filter).
To do so, I have created a series in the list builder with the following source & destination cells. The "Product" column is the label. Yellow cells are there to identify cell location in Excel.
Source cells:
| A | B | C | D |
1 | Product | Jan | Feb | Mar |
2 | A | 1 | 2 | 3 |
3 | B | 4 | 5 | 6 |
4 | C | 7 | 8 | 9 |
5 | Sum: | 12 | 15 | 18 |
Destination cells:
| A | B | C | D |
1 | Product | Jan | Feb | Mar |
2 |
|
|
|
|
3 |
|
|
|
|
4 |
|
|
|
|
5 | Sum: |
|
|
|
The data for the column chart is the Sum values and the Month Names from the destination cells.
The "Sum" row in the destination cells uses the following formula -
If (Sum(B2+B3+B4=0), then get the corresponding sum value from the source cells i.e. B5, else Sum(B2+B3+B4).
Doing this, puts the sum values from the source cells into the destination by default which gives me the summary view when the dashboard is run.
Now, when the user selects the labels from the list builder, the rows from the source cells get inserted into the destination cells. However, if there is no data in one of the columns in the destination cells, there will still be value for "Sum" because of the formula I used. I do not want this.
Could anyone please help me resolve this issue?