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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.