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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
pbinewdev
New Member

Is it possible to programmatically set the data panel name for a web data source that is a CSV?

If I add a web data source and set it as an api I am developing for my app e.g.  https://www.myapp.com/api?key=12345&data=AppStats (which returns a CSV), then once it's connected it shows as ?key=12345... in the data panel.

 

Is it possible for the api to set the name that will appear in the data panel, so that once connected it shows e.g. App Stats instead?

 

My guess is that there might be a header that can be set to communicate the name to PowerBI, but I haven't been able to find anything so far.

 

Thanks!

1 ACCEPTED SOLUTION

Unfortunately the example didn't work, but the concept is sound! Changing the URL to https://www.myapp.com/api/AppStats.csv?key=12345&data=AppStats did work.

 

Thanks 🙂

View solution in original post

2 REPLIES 2
Adamboer
Responsive Resident
Responsive Resident

It is possible to set the data panel name for a web data source that is a CSV by specifying the name of the file in the URL. For example, if the URL is https://www.myapp.com/api?key=12345&data=AppStats.csv, the data panel name will be "AppStats". Alternatively, you can also rename the data source in Power BI after it has been imported. There is no header that can be set to communicate the name to Power BI.

Unfortunately the example didn't work, but the concept is sound! Changing the URL to https://www.myapp.com/api/AppStats.csv?key=12345&data=AppStats did work.

 

Thanks 🙂

Helpful resources

Announcements
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.