Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Interactive Item on Dashboard

Hi!

 

I was wondering if we have an option in power BI where I can manually set the status of an item to either Red/Yellow/Green light from a drop down.

 

For Example :

 

1. Status of Document - "I want to have a droip down here with 3 Color lights Red/Yello/Green and can choose from"

2. Progress Status - "Same here"

3. Completion Status - "Same Here"

4. Overall Status -  "Same Here"

 

Thanks

  • parry2k's avatar
    parry2k
    6 years ago

    Anonymous powerapps is your solution, full stop. otherwise, you will keep going on circles and spend time here looking for a solution. Just a friendly suggestion.

     

    I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    ⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡

16 Replies

  • v-zhenbw-msft's avatar
    v-zhenbw-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    We can create a color table and three color measure to meet your requirement.

     

    1. Create a color table that contains red, green and yellow.

     

     

    2. Create three measures and configure each field’s background.

     

     

    Green measure = 
    var selected_color = SELECTEDVALUE('Table (2)'[Color])
    return 
    IF(ISBLANK(selected_color),"Green",IF(selected_color in {"Green"},"Green",BLANK()))

     

     

     

    Red Measure = 
    var selected_color = SELECTEDVALUE('Table (2)'[Color])
    return 
    IF(ISBLANK(selected_color),"Red",IF(selected_color in {"Red"},"Red",BLANK()))

     

     

     

    Yellow measure = 
    var selected_color = SELECTEDVALUE('Table (2)'[Color])
    return 
    IF(ISBLANK(selected_color),"Yellow",IF(selected_color in {"Yellow"},"Yellow",BLANK()))

     

     

     

     

    3. At last we can get the result like this,

     

     

     

     

    If it doesn’t meet your requirement, could you please show the exact expected result based on the table that we have shared?

    BTW, pbix as attached.

     

    Best regards,

     

    Community Support Team _ zhenbw

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi1

       

      Thanks for your answer, unfortunately that wont be applicable in my scenerio, I just want those threee traffic light signals that I ahve in the screen shot provided to activate when any one is clicked and the other two to be deactivated, for example if red is clicked , the green and yellow should be deactivated and so and so forth.

       Thanks

      • parry2k's avatar
        parry2k
        Icon for Super User rankSuper User

        Anonymous powerapps is your solution, full stop. otherwise, you will keep going on circles and spend time here looking for a solution. Just a friendly suggestion.

         

        I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

        ⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡

  • Anonymous no clue what is the question, please elaborate. 

    • Anonymous's avatar
      Anonymous
      Not applicable

      Something like this, with option that if I click on say Yellow , Red and Green fades out

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Sorry for the confusion. Just to make it in simple. I want to create a Traffic lights against each line item with the ability to select each of the lights . I want the user to be able to select the color of light they want  and when they select say Yellow , the Red and green switches off and similarly if they select any other the other two lights switch off.

         

         

        1.    Item 1                 Red    Green  Yellow

        2. Item 2                    Red    Green    Yellow

         

        etc etc.....