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
Syndicate_Admin
Administrator
Administrator

CSV from a website to Bi

Hello! 

I have an intranet website that has a button to download a file in CSV. 

Is it possible to trigger this function in the website to fetch the CSV file and transform it into a table? If it is doable what info you might need from me to help me? please let me know, thanks. 

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

Is your problem solved? If so, would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirment will find the solution quickly and benefit here, thank you!

Best Regards,
Community Support Team _ kalyj

mahoneypat
Microsoft Employee
Microsoft Employee

It depends. When you hover over the button (or press it), do you see a URL that gives the full path to the file (i.e., ends in .csv)? If so, you can probably use that path in the Web.Contents( ) function to scrape the file from the site.

 

Here is an example url that works in Web.Contents( )

https://people.sc.fsu.edu/~jburkardt/data/csv/addresses.csv

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hi @Syndicate_Admin,

 

Based on my experience, fetching files by immitating HTTP request sent by a button on intranet is at least painful even if possible at all as it involves setting up request details which are not simple to get in PQ. After all this is data manipulation, not general purpose language.

 

Try what @mahoneypat suggested, but buttons are rarely contain address of the file, I would imagine that this is some end-point trigger address for sending the file back over HTTP.

 

It may be simpler if you could find out (from your IT team, I guess) where is the file stored andif you can have access to this location and then use a conventional connector to get the data.

 

If this is not an option, you can play with the Developer functionality of your Internet browser (I am sure this can be summoned by F12 button on both Edge and Chrome). There is a section relating to network calls. You can try to trace what is happening when you pressing the button there and try to replicate the setting in the Web.Content (search on Internet how to set headers, etc.).

 

Kind regards,

John

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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