March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
Solved! Go to Solution.
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.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 |