Forum Discussion

haniizz's avatar
haniizz
Helper II
1 year ago

conditional color change

Hello community,

from this data 

Product codeProductUsage
TRN001Smart TVYes
TRN002BicycleNo
TRN003MobileNo
TRN004ACNo
TRN005washing machineYes
TRN006hand blenderYes
TRN007hair clipperNo
TRN008screenYes
TRN009ovenNo
TRN010digital receiverNo

 

I need to have a shape that change it's color with the following condition 

 

if the product is Mobile and used change the shape to green

if the product is smart TV and used change the shape to green

if any product is not used change the shape to red

 

you can find the excel and Pbix file in this link 

or here https://we.tl/t-GBME9vvNQb

 

thank you in advance

12 Replies

    • haniizz's avatar
      haniizz
      Helper II

      Thank you Ibendlin
      this is much appreciated, does this works with a shape like trinagle instead of table?
      and can you share the pbix with me

      can not thank you enough

      • v-dineshya's avatar
        v-dineshya
        Community Support

        Hi haniizz ,

        Thanks for reaching out to the Microsoft fabric community forum.

         

        We can't use shapes (traingle) instead of table, to represent the data.

         

        If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
        Thanks and Regards

  • this solution didn't work actually 

    here is what I get
    "The value for 'Usage' cannot be determined. Either the column doesn't exist, or there is no current row for this column"