Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Get Power BI data and send in chat

Hey everyone, 

We have a nice dashboard in Power BI. I'd like to create a bot you where you can ask "Sales last month", and then it reports the "Sales last month" from the Power BI it's hooked up to. 

I'm having a hard time wrapping my head around if this is even possible? Any alternatives? 

Super User
Super User



Just to clarify your requirement.


Is it sufficient to send a link of the Power BI report or do you want to include a chart in the chat window of the chat bot?

Hi @Expiscornovus thanks for taking the time to answer. If it's possible I'd like to include a graph, but a simple "Count" of something would be nice. Any content from the Power BI dashboard actually. 

Super User
Super User


One approach could be to use a flow to export the reports as an png and show it via markdown. But as far as I am aware that does require a pro licence. I don't know if you are allowed to use that feature in your Power BI workspace/environment?


Below is an example of such an approach.


Bot setup




Flow setup



@Expiscornovus thats a Power BI pro license right? 

We do have that 😉 This is awesome! Thanks gonna go ahead and test. 

Super User
Super User



Yes, I was talking about the Power BI pro license 🙂

Alright I’ve tried for 4+ hours now and it seems I’m not getting closer. 

if you have the time would you mind sharing what you have under each specific flow in Power Automate? Compared to your skills in there I seem embarrassingly poor at it.

Super User
Super User

1. Initialize variable. Using that later for the markdown image link.




2. This is part of the setup of the Export To File action. In this one you can configure a lot. And like mentioned earlier this action also depends on configuration and licensing on the Power BI side of things.




3. Create file action. This creates a file on OneDrive with the File Content of the previous action.




4. Returning the link of the created OneDrive file in markdown format to the agent. I am using expression where I concatenate the OneDrive variable with the Name of the Create file action.


Which should be valid url for the chatbot to embed it as an image. I wrap it in a Image markdown tag ![Image](linktoimage)


concat(variables('OneDriveUrl'), outputs('Create_file')?['body/Name'])



Good day, 

Could you please elaborate on the steps? Also what is meant by markdown format/image? 

Also if you can give clarity on this step?


I only have these options on the Flow Setup:


Thank you

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Top Kudoed Authors
Users online (3,436)