The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
How can i add a chatbot feature to my Power BI Dashboard ?
Hi @HishamAT ,
Thanks for reaching out to the Microsoft fabric community forum.
Adding a chatbot feature to your Power BI dashboard isn’t something Power BI supports natively, but you can integrate a chatbot experience using a few different approaches depending on your environment.
Here are a few options:
Option 1: Embed a Web Chat (e.g., Microsoft Bot Framework) in Power BI via HTML Viewer
Requirements: Power BI custom visual that allows HTML (like the HTML Viewer custom visual). A chatbot built using Microsoft Bot Framework, Power Virtual Agents, or any web-embeddable bot. Bot hosted with a public URL.
Steps:
Build your chatbot using Power Virtual Agents or the Bot Framework. Publish and host the chatbot on Azure (or similar) and get the iframe/embed code (Web Chat). Add the HTML Viewer custom visual in your Power BI report. Embed the chatbot iframe into the HTML Viewer using a string field in Power BI that contains the iframe code.
Note: Power BI Service may block iframe content unless it's from a trusted source, so local or desktop usage is more flexible.
Option 2: Use Power Virtual Agents with Power BI Integration
Ideal for Microsoft ecosystem users: Power Virtual Agents can be connected to Power BI via Power Automate flows or Direct API calls to query data dynamically.
Steps:
Build your bot in Power Virtual Agents. Use Power Automate to connect the bot to Power BI (e.g., trigger data refresh, get data from a dataset). Share the chatbot via a link, Teams tab, or embed it in a web page alongside the Power BI dashboard (using Power Apps Portal or SharePoint).
Option 3: Embed a Chatbot in Power BI via Power Apps
You can embed a Power App with a chatbot inside your Power BI report using the Power Apps custom visual.
Steps:
Add the Power Apps visual to your Power BI report. Create a Power App that includes your chatbot (e.g., using Power Virtual Agents or custom code). The app can be built to interact with the report’s data or user selections. Publish and embed the app inside the report.
Note: This method works in both Power BI Desktop and Power BI Service.
Option 4: External Web Page with Both Power BI and Chatbot
If embedding inside Power BI directly is too constrained, you can create a web app
where: The Power BI report is embedded via iframe using the Power BI Embed API. The chatbot is also embedded on the same page.
Note :This gives you more flexibility with UI and user experience.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
Can i have an example please
Hi @HishamAT ,
Please refer below community forum threads.
How to embedd Power bi reports into Azure bot framework (chatbot)? - Microsoft Q&A
Solved: Chat widget integration in power bi dashboard - Microsoft Fabric Community
If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.
Thank you
Hi @HishamAT ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Regards,
Dinesh
Hi @HishamAT ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Regards,
Dinesh
Hi @HishamAT ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Regards,
Dinesh
Hi @HishamAT ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
Regards,
Dinesh
Hi @HishamAT ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Regards,
Dinesh
Hi @HishamAT ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Regards,
Dinesh
Hi @HishamAT
Please check a linked videos :
https://www.youtube.com/watch?v=c7icpgEEkqE
https://www.youtube.com/watch?v=0PhRSWJB2VQ
https://www.youtube.com/watch?v=H71FokEEqKo
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @HishamAT You could make use of Power Platforms Virtual Agents for this you could make a chatbot there use Power Automate to automate flows and then integrate it with Power BI and Embed the bot on PBI Page
you could also make bot Azure and then use Api to connect
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
Can i have an example please
User | Count |
---|---|
87 | |
84 | |
36 | |
35 | |
32 |
User | Count |
---|---|
96 | |
75 | |
67 | |
52 | |
52 |