Pie Chart for Table DCI with aggregation

Started by ahasbini, December 08, 2024, 02:06:49 PM

Previous topic - Next topic

ahasbini

Hello,

I have a table DCI with the following data:


      COL1 (integer) |    COL2 (string) | VAL
       -----------------------------------------
          1          |       TEST1      |     5
          2          |       TEST1      |    10
          1          |       TEST2      |      8
          2          |       TEST2      |      6


COL1 is an instance column (key) and COL2 is instance column (key). All columns have aggregation set to SUM.

When creating a Pie Chart on dashboard based on the table DCI, I am setting the instance column to COL1 and Data Column to VAL. The pie chart is displaying two parts/arcs (1 and 2) but the value appearing is only of one row from each instance [5 and 10]. My expectations is that the VAL values are aggregated so that 1 has value 13 and 2 has value 16.

Could someone please tell me what I'm doing wrong here.

Thanks.

Filipp Sudanov

Checked with developers, currently this is not supported. Aggregation settings currently only affect data collection on clusters.
However, the code that displays the chart goes through all table rows anyway, so it will be a small change to add this. 
There's no exact time frame when it will be done, but you can follow the ticket to get notified: https://track.radensolutions.com/issue/NX-2671