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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mastone
Frequent Visitor

Custom Visual Development works on PowerBi.com but not Desktop

I've developed and tested a custom visual. I've tested it by hosting a server using "pbiviz start" and running the developer visual (i.e. the < > visual) on app.powerbi.com in my premium capacity.  Everything looks good there.

 

I then packaged the visual using "pbiviz package --verbose" and it's successfully packaged.

 

When I take my package and import into Power BI desktop, I can see it starts to render but dies. (again it doesn't die with the same data up on app.powerbi.com).  So I need to figure out how to debug while in the desktop.

After it's been packaged, is there any way to see the console.logs or error information?   I am not seeing anything.

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @mastone ,

 

Ensure that the Develop  a Visual option is enabled in Power BI Desktop

Setting up an environment for developing a Power BI visual - Power BI | Microsoft Learn

 

You can click on File—>Option and Settings—>Options—>Diagnostics—>Enable tracing – >Collect diagnostic information, then you will find the Power BI log files.

Power BI Desktop diagnostics collection - Power BI | Microsoft Learn

 

Try clicking F12 in your browser to open the Developer Tools window, and click the Console tab to see any logs or errors that may have been generated by the custom visual object.

How to debug Power BI custom visuals - Power BI | Microsoft Learn

 

You can also contact the Power BI Visual pbicvsupport@microsoft.com . This support channel is for custom visuals developers in the process of developing their own visuals.

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Hi  @mastone ,

 

Ensure that the Develop  a Visual option is enabled in Power BI Desktop

Setting up an environment for developing a Power BI visual - Power BI | Microsoft Learn

 

You can click on File—>Option and Settings—>Options—>Diagnostics—>Enable tracing – >Collect diagnostic information, then you will find the Power BI log files.

Power BI Desktop diagnostics collection - Power BI | Microsoft Learn

 

Try clicking F12 in your browser to open the Developer Tools window, and click the Console tab to see any logs or errors that may have been generated by the custom visual object.

How to debug Power BI custom visuals - Power BI | Microsoft Learn

 

You can also contact the Power BI Visual pbicvsupport@microsoft.com . This support channel is for custom visuals developers in the process of developing their own visuals.

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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