Building on the answer from Wrong returned Values on simple SUM-Aggregation, I have the following 3 documents in my dataset:
PUT sap-lo-po/_doc/1
{
"EBELN": "4500017596",
"EKPO": [
{
"NETWR": 149314.2
}
]
}
PUT sap-lo-po/_doc/2
{
"EBELN": "4500017596",
"EKPO": [
{
"NETWR": 314.1
}
]
}
PUT sap-lo-po/_doc/3
{
"EBELN": "4500017596",
"EKPO": [
{
"NETWR": 200
}
]
}
I think the visualization based on this data is then correct: