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,
Thanks,
Martin
···
**Martin Van Aken - **Freelance Enthusiast Developer
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,
Thanks,
Martin
–
**Martin Van Aken - **Freelance Enthusiast Developer
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,
Thanks,
Martin
–
**Martin Van Aken - **Freelance Enthusiast Developer