Forum Discussion
Possible issue with Slim Data Bar KPI Visual - Color is only black when value equals target amount
- Anonymous8 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
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
Thank you very much for your help!
- Anonymous8 years agoNot 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
- Ski9008 years ago
Helper II
Thank you very much for this! I really appreciate the help.
- Anonymous7 years agoNot applicable
It did not work for me, I am still getting the black bars when the value equals the target.
Any suggestion?
Thanks a lot
- Anonymous7 years agoNot applicable
Hi druzado,
How far in the process that I outlined earlier have you gotten? Were you able to pull the repo and package the visual and install it manually in PowerBI?
It is extremely important to modify the "guid" field in the pbiviz.json file before you package it. Else PowerBI will just use the version that is available in the store which is the old version with the error.
Let me know,
Sid
- Anonymous8 years agoNot applicable
My temporary workaround to this was to set my target value at a slightly lower level. My target value was originally 1 but I set it to 0.999999 and I set the "Greater than" colour to the colour of my choice and it seems to get the job done. Hope this helps!