Forum Discussion
Python Visual rendering issue on .Net wrapper
- 7 months ago
Hii prasaddn
Python (and R) visuals are not supported in Power BI Embedded when using a .NET wrapper with “Embed for your customers (app owns data)”, so the visual works in Desktop/Service but fails in the embedded portal. This is a platform limitation, not a coding issue. To resolve it, move the Python logic outside Power BI (for example, run the text summarization in Azure Functions, Databricks, or Fabric and store the results) and only display the output using standard Power BI visuals, or use a custom visual that calls a backend API for dynamic summaries.
thank you for the response rohit1991 . Yes, the only alternate I heard is pre-computing. However, it is not feasible with my current scenario. would be keen to know if you are aware of any such free custom visual that calls a backend API for dynamic summaries and also works in a .NET wrapper environment.
- rohit19918 months agoSuper User
Hii prasaddn
There is no free, out-of-the-box Power BI custom visual that can securely call an external backend API and render dynamic text summaries in an Embed for your customers (.NET / app-owns-data) scenario. Due to sandboxing and security restrictions, custom visuals cannot freely make arbitrary API calls unless they are purpose-built and certified, and most AppSource visuals don’t support this pattern. In practice, the supported approaches are to build your own custom visual that calls a controlled API endpoint, or move the summarization logic outside Power BI (Azure Function/Fabric/Databricks) and load the results into the model for display using standard visuals.
- prasaddn7 months agoFrequent Visitor
Thank you again rohit1991 for sharing your expertise on this. Let me see what best I can do. The last option is to pre-compute and summarize comments for various dimension of filter selections. Thank you again for your time.
- v-sshirivolu7 months agoCommunity Support
Hi prasaddn ,
Thanks for confirming. Given the current limitations with Power BI Embedded, pre computing or periodically refreshing the summarized results outside Power BI and then displaying them using standard visuals is the most reliable and supported approach in a .NET embedded setup. Glad the discussion helped bring clarity on the available options.