Forum Discussion

Mustafa_A's avatar
Mustafa_A
Contributor II
3 years ago

Dashboard - How to pass a condition within a label component?

I'm trying to build a label that shows target goals for each entity. Now since each region has different goals. I'm looking for my label to change the value based on the entity selected. 

Here is an example (We're still in development so not the most eye catching)

Its referencing a parameter -- 

How can I pass a condition or a rule that reads the POV entity and shows me that specific value.

  • You will need to create a data adapter which returns a set of data cells and attach it to the label component. Then use curly brackets to reference the data cells within the table. The Data Adapter can use a cube view as it's data source which would assumedly reference the POV Entity (or entity parameter selected in the combo box).   

    An alternative approach would be to use XFBR rules.

     

     

  • TheJonG's avatar
    TheJonG
    Contributor III

    You will need to create a data adapter which returns a set of data cells and attach it to the label component. Then use curly brackets to reference the data cells within the table. The Data Adapter can use a cube view as it's data source which would assumedly reference the POV Entity (or entity parameter selected in the combo box).   

    An alternative approach would be to use XFBR rules.

     

     

    • julieta's avatar
      julieta
      Contributor

      Hi, i am trying this but can't manage to get the number, do you have a screenshot if the part of the cells and if it is row index? thanks