on 06-02-2015 11:13 AM
Hi Experts,
Is there any way to use COUNT aggregate function in XSODATA,..???
like SUM,MIN,MAX, and AVG..????
If yes, please share a link or sample code for how to use COUNT function in XSODATA..
Thanks & Regards,
Bharath
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.