← Back to team overview

dhis2-users team mailing list archive

(API) Ordering analytics results


We want to retreive the 5 entities with the highest values for a given
period and data element. I can retreive all values easily with an analytics
call, but is there any way to order the results on the values (I can then
limit the call to five entities).

I saw example of "order" or "defaultOrder" clauses, but those were all
related to meta data - in my case I want to order values.

Any help would be most welcome,



*Martin Van Aken - **Freelance Enthusiast Developer*

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>
Call me on Skype : vanakenm
Hang out with me : martin@xxxxxxxxxxxxxxxx
Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
Company website : www.joyouscoding.com

Follow ups