Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

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?

1 ACCEPTED SOLUTION
v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

 

 

View solution in original post

4 REPLIES 4
Eric_Zhang
Employee
Employee

@v-viig may have more idea.

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

pbicvsupport@microsoft.com

Anonymous
Not applicable

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

v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.