Hi Bharath,
we can use count,Average etc aggregation in the definition of the xsodata
eg:
sample.xsodata
service{
"path_to_the_View" as "Entity Name"
with ("COLUMN1","COLUMN2","COLUMN3")
key generate local "ID"
aggregates always(SUM of "COLUMN3")
}
i guess this will give you some idea for your problem....if not please respond
Regards
Raghu M