osisoftpi-grafana icon indicating copy to clipboard operation
osisoftpi-grafana copied to clipboard

Ability to return all attributes when using variables

Open cfitzw opened this issue 1 year ago • 4 comments

When using a variable to select/set the AF structured elements (plural), not all of the attributes are returned, only the first attribute for each element is. When selecting a single element using a variable, it does return each attribute.

The use case for this in particular is building out a Geomap, where I'd like to display numerous attributes for each element when clicked upon (i.e. Make, Model, etc.)

cfitzw avatar Dec 29 '23 20:12 cfitzw

@cfitzw we need more information/screenshots to determine the issue.

pvmagacho-nde avatar Jan 02 '24 11:01 pvmagacho-nde

PI_AF_Structure Grafana_Variables Plugin_Multiple_Attributes_Working_with_Single_Variable Plugin_Multiple_Attributes_Not_Working_with_Multiple_Variables

Here are screenshots of the AF structure, the variables defined for the grafana dashboard, a working example using a single variable selection which returns all attributes for the element, and finally a non-working example using multiple variables which only returns the first attribute for each element (thus, this ticket).

cfitzw avatar Jan 02 '24 22:01 cfitzw

do you want to use multiple variables in the same graph?

pvmagacho-nde avatar Jan 04 '24 13:01 pvmagacho-nde

@pvmagacho-nde If you mean attributes, then yes. Specifically for the built-in Geomap (plotting of all assets and allowing to click on them to see all attributes), as this currently is not working/possible.

cfitzw avatar Jan 10 '24 20:01 cfitzw

@cfitzw at the moment selecting "select all" can only be done for one variable only. The other ones cannot have the "select all" option.

coderReview avatar Jun 12 '24 17:06 coderReview