Quantcast
Viewing all articles
Browse latest Browse all 2067

VizFrame aggregation issue

Hi,

 

 

I have a simple json dataset:

 

var aData = {

  "rawData":[

      {

        "PostingYear":"2006",

  "ItemGroup":"Used Vehicles",

        "NetSalesAmountLC":469350

      },

      {

        "PostingYear":"2006",

  "ItemGroup":"New Vehicles",

        "NetSalesAmountLC":112140

      },

  ]

}

 

when running the attached example to show "PostingDate" as Dimension and "NetSalesAmountLC" as Measure I should expect to see the sum of"NetSalesAmountLC" for year "2006". In this example it shows just the first entry "NetSalesAmountLC":469350.


Does anyone knows if this is the propper functionality and how could I show aggregated data and not just the first value.


Thank you,

Dimitris


Viewing all articles
Browse latest Browse all 2067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>