Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 |