Forum Discussion

NewbieJono's avatar
NewbieJono
Post Partisan
4 years ago
Solved

Conditional lookup

Hello all, a bit on a confusing one but hopefully someone can help   i have two tables, i need table 1 to return green, orange or red based on the matching rule. e.g   workstream 4 should bri...
  • parry2k's avatar
    4 years ago

    NewbieJono you should transform the lookup table with these columns and then should be easy, basically each row will become 3 rows, one for green, one for orange, and another one for red.

     

    Work Stream

    Min Value

    Max Value

    Color Value

     

     

    Follow us on LinkedIn and  to our YouTube channel

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to 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.

  • parry2k's avatar
    4 years ago

    NewbieJono see attached and tweak it as you see fit. I just changed the value in lookup table to see different colors:

     

     

    Follow us on LinkedIn and  to our YouTube channel

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to 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.