Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
smalltownbear
Frequent Visitor

Dynamically Fetch and Display Documents in Power BI

I have a business requirement to give the user the ability view a document by clicking a button inside of a report. Basically, there will be a table visual. Each row of the table visual will have a column containing a button. When the button is clicked by the user, the following will need to occur dynamically:

 

1. Execute an HTTP GET request against a URL stored in a field in the model 

2. Receive the HTTP response and extract a binary PDF payload from the body of the request

3. Render the PDF either inside the Power BI report itself, or by opening another program to display it (Adobe, Microsoft Edge, etc.)

 

Based on the research I've done so far, it doesn't look this is possible, but I thought I'd check in with the experts to confirm. Thanks.

1 ACCEPTED SOLUTION

Hi v-priyankata. I think the answer to my original question is that there's not really a way to accomplish what I am trying to do natively within Power BI. Perhaps a Power App application or a PowerAutomate flow can be integrated to accomplish the task, but that's not an option that is open to me at the present time.

View solution in original post

6 REPLIES 6
v-priyankata
Community Support
Community Support

Hi @smalltownbear 

Thank you for reaching out to the Microsoft Fabric Forum Community.

@GeraldGEmerick Thanks for the inputs.

I hope the information provided by user was helpful. If you still have questions, please don't hesitate to reach out to the community.

 

Hi @smalltownbear 

Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.

 

Hi v-priyankata. I think the answer to my original question is that there's not really a way to accomplish what I am trying to do natively within Power BI. Perhaps a Power App application or a PowerAutomate flow can be integrated to accomplish the task, but that's not an option that is open to me at the present time.

GeraldGEmerick
Super User
Super User

@smalltownbear If you include the links to the PDF in the data table, you can set that column to be a URL. That then allows you to include the column in a Table visual as a small "link" icon. Add hyperlinks (URLs) to a table or matrix - Power BI | Microsoft Learn. If you need it to be dynamic, you could create a measure to do the same. This will then link out to the PDF file and open it in whatever default program the user's system uses for viewing PDFs.

Thanks for the reply! Unfortunately, the only way to access the document is through a secured endpoint so I don't think just a bare URL link would do the trick as I would need some way of putting the access token in the header before making the call.

@smalltownbear Then I would look at building a Power App or Power Automate flow which you could then invoke using the Power App or Power Automate visual. 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.