Thank you for contributing to our forum!
Please keep in mind:
1. To only comment on the topic where the discussion is about. Do you have a new question or topic? Please start a new discussion.
2. Be kind to other users!

Possible to get the state of an indicator?

Is it possible to get the state of an indicator, whether it is active or not? I want to build a graph with the scores from all my active indicators in a custom .xls

Comments

  • Hi Tim,
    This is not yet possible, I will add it as a feature request.
    However, can you tell me a bit about your use case, why you want to create such a graph? Maybe there is some other way to achieve the same results.

  • At the moment we have a custom graph (which you've built :) ) that shows every indicator in the project. Sometimes not every indicator is necessary. So my thought was, if i set an indicator on 'not-active' my custom .xls reads a query (if active or something) and based on the answer the code for the graph will be built. not-active, is not showing and so on.

  • Thanks for your explanation!
    A possible workaround is to add a new attribute to each indicator, for example named ACTIVE. When the indicator is active you activate it and set the attribute value on 1, when the indicator is not active you deactivate it and set this attribute to 0. Then you can query this attribute value with TQL and based on the output, generate the graph with only the active indicators in it. I understand this is not an optimal solution since it is more work. If/when the feature will be available, I will let you know!

  • edited January 10

    Hi Tim,

    I wanted to let you know that the feature will be available on the next Preview release and available mid 2019 on the LTS.
    For your use case it will then be possible to query with TQL if an indicator is active or not, just like it is already possible to query the active state of an area or neighborhood.

Sign In or Register to comment.