Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Custom Visual Blank Value in Javascript/Typescript

Hi all,   My team is editing the pbiviz file for the "KPI Indicator" custom visual to force the visual to the "None" color it the case the data is BLANK. The issue is described below.     ...
  • dm-p's avatar
    5 years ago

    Hi Anonymous,

    If you're attempting to modify a visual that is already published in AppSource, Power BI will always look it up and load it from there, based on its guid. I suggest you try switching on developer mode in Desktop to test the packaged visual, otherwise you'll never see the results of your changes if loading from a .pbiviz.

    If this works, you'll then need to change the visual's guid in pbiviz.json to something else, so that it doesn't match the one in AppSource. This way, Power BI Desktop will treat your visual as a separate one and load it.

    Bear in mind that because you're doing this, it will no longer treat the visual as certified because it no longer matches AppSource, so if you need these changes incorporating then I'd suggest contacting the developer of the visual to see if they can assist with this or accept your changes.

    Regards,

    Daniel