Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

guid causing errors while creating pbiviz package.

I'm trying to create a bar chart visual for power BI based on the microsoft tutorial on github. I have followed their environment setup steps exactly and was trying to create the visual with static data which is the first step. But when I give the "pbiviz package" command,it results in an error  : TYPESCRIPT/visualplugin.ts : (8,151) error Property visual does not exist on type 'typeof visualD43BC8F0A8674EC2B848AD7E74959EF1'

 

visualD43BC8F0A8674EC2B848AD7E74959EF1 is the guid of the visual.



Can someone Help?

  • v-viig's avatar
    v-viig
    8 years ago

    Looks like you need to type "BarChart" into visualClassName property in pbiviz.json.

     

    Please let me know if it solves the issue.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

     

     

4 Replies

    • v-viig's avatar
      v-viig
      Community Champion

      Hello Anonymous,

       

      Could you please share a name of class that implements IVisual interface?

      Are class name and value of visualClassName property (pbiviz.json) the same?

       

      Ignat Vilesov,

      Software Engineer

       

      Microsoft Power BI Custom Visuals

      [email protected]

      • Anonymous's avatar
        Anonymous
        Not applicable

        class BarChart implements IVisual.
        value of visualClassName property is visual.