on 09-04-2020 1:48 PM
I'm using OVP Donut chart and by default, it's not aggregating the data for given measures.
It takes the first record by default and shows the count. The response data is like below:
{ "d": { "results": [ { "MKTUNITID": "Austria", "TOTCOUNT": 1, "STATUSID": "NW", "__metadata": { "type": "Oservice.SOLREQMU" } },
{ "MKTUNITID": "Austria", "TOTCOUNT": 1, "STATUSID": "NW", "__metadata": { "type": "Oservice.SOLREQMU" } },
{ "MKTUNITID": "Austria", "TOTCOUNT": 1, "STATUSID": "NW", "__metadata": { "type": "Oservice.SOLREQMU" } },
{ "MKTUNITID": "Austria", "TOTCOUNT": 1, "STATUSID": "NW", "__metadata": { "type": "Oservice.SOLREQMU" } },
Ideally, it should add the "TOTCOUNT" for Austria and show the data as total "4" but somehow it's not aggregating it by default. Is there any annotation required to add up this data. I'm already using DataPoint annotation.
Hi dheerajahuja000,
I think your measure property needs annotation @DefaultAggregation:#SUM.
Regards,
Mio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.