← Back to team overview

dhis2-users team mailing list archive

Re: (API) Ordering analytics results

 

Will do, thanks for the quick answer.

Regards,

Martin

On Fri, Aug 11, 2017 at 10:44 AM, Lars Helge Øverland <lars@xxxxxxxxx>
wrote:

> Hey Martin,
>
> sorry but that is not currently possible. Feel free to write a Jira issue
> and we can look into it.
>
> regards,
>
> Lars
>
>
> On Thu, Aug 10, 2017 at 8:32 PM, Martin Van Aken <martin@xxxxxxxxxxxxxxxx>
> wrote:
>
>> 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*
>>
>> 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
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> lars@xxxxxxxxx
> http://www.dhis2.org <https://www.dhis2.org/>
>
>


-- 
*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

References