Hi,
I have created one xs oData, below is the snippet of the aggregates of measure.
aggregates always (SUM of "ZQTY",
SUM of "ZCOST" ,
SUM of "ZREV" ,
AVG of "ZRATE" ,
);
for example, 3 records have ZQTY as 100 , 50 , 150 respectively. I want one result field in which i can retrieve 300 as result (SUM as shown above).
I want to retrieve these result values(aggregated) into some of field on oData run, so that i can bind it to my UI elements.
Please suggest how to do it.
Right now i can not see anything in which i am getting aggregated data on run of xs ODATA (URL execution).
Regards,
Rohit