Hi Lorill, that is the best way at the moment. We do have primitive support for logical operators (applies to entire query) so you could combine it like this:
https://play.dhis2.org/demo/api/indicators?filter=numerator:like:fbfJHSPpUQD&filter=denominator:like:fbfJHSPpUQD&rootJunction=OR regards, Lars On Sat, Feb 11, 2017 at 1:07 AM, Lorill Crees <[email protected]> wrote: > Hi, > > What is the best way to find all Indicators that use a specific > DataElement? Do I have to search for the id in the numerator and > denominator strings like this, or is there a better way? > > /api/25/indicators?filter=numerator:like:HifxrAyx4sO > /api/25/indicators?filter=denominator:like:HifxrAyx4sO > > DHIS 2 Version: > 2.25 > Build revision: > a143100 > Build date: > 2017-02-07 14:28 > > Thanks, > > Lorill > > -- > Lorill Crees > Project Leader / Senior Developer > 2Paths Solutions Ltd. <http://www.2paths.com> > > [email protected] > skype: lorill2paths > (604) 689-4123 x 15 > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > > -- Lars Helge Øverland Lead developer, DHIS 2 University of Oslo Skype: larshelgeoverland [email protected] http://www.dhis2.org <https://www.dhis2.org/>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

