Forum Discussion

Ski900's avatar
Ski900
Helper II
8 years ago
Solved

Possible issue with Slim Data Bar KPI Visual - Color is only black when value equals target amount

When my KPI value equals the exact target value the fill color for the bar stays black no matter what I select. I have created a test dashboard to show what I am talking about and uploaded it to Dropbox (link below). Has this happened to anyone else? Thanks!

 

Test dashboard download link (Dropbox)

  • Anonymous's avatar
    Anonymous
    8 years ago

    Hello Ski900,

     

    I found the git repo for this custom visual and the creator of this visual has fixed this bug. For some reason, the visual has not been updated in the app store but you can pull his repo and package the visual with the "guid" field in the pbiviz.json file modifed to something unique. If you do this and then install that visual in Power BI, you will find that this is not an issue anymore.

     

    In case your environment does not have the Power BI Developer Tools installed, which you need to pacakge the visual, you can follow the instructions here and once the environment is set up, jump straight to the packaging step.

     

    Hope this helps! Let me know if you have any questions.

     

    Cheers,

    Sid

10 Replies

  • v-juanli-msft's avatar
    v-juanli-msft
    Community Support

    Hi Ski900

    As tested, under the Colors – Indicators section you can modify the colors used on each indicator under different circumstances.

    However, whatever the color in "Equal to" is selected, when "Metric value" equal to "Target value", the bar always show black. I don't know it is by design or a bug, i am discussing with senior engineer.

     

    Best regrads

    Maggie

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello, do you have an update for this bug? Thank you.

    • Ski900's avatar
      Ski900
      Helper II

      Thank you very much for your help!

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hello Ski900,

         

        I found the git repo for this custom visual and the creator of this visual has fixed this bug. For some reason, the visual has not been updated in the app store but you can pull his repo and package the visual with the "guid" field in the pbiviz.json file modifed to something unique. If you do this and then install that visual in Power BI, you will find that this is not an issue anymore.

         

        In case your environment does not have the Power BI Developer Tools installed, which you need to pacakge the visual, you can follow the instructions here and once the environment is set up, jump straight to the packaging step.

         

        Hope this helps! Let me know if you have any questions.

         

        Cheers,

        Sid

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI All, does anyone have the latest then version of this pbiviz file that can change the black default color when the value is the same as the target?