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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
VoyagerJames
New Member

Queries with conditional sources not refreshing when published to PBI.com

Hi

 

We have a template whose queries can load their data from either a local folder of csv files, or a sharepoint folder of csv files (basically OneDrive Consumer and OneDrive for Business) However, when I publish this to PowerBI.com, the sharepoint files are not refreshing. Also, they don't appear in the Power BI Desktop 'Data source settings' window.

 

The only way I have got the publish working, is to remove all conditions from the query sources. This would therefore appear that I would have to maintain two templates ... one to connect to a local data source and one to connect to the sharepoint folder.

 

Does anyone have any ideas if I can get areound this?

 

Many thanks

 

James

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@VoyagerJames What gateway are you using? The personal gateway should support a mixed scenario, but the other (what was Entperprise Gateway) does not support that yet. Even though you are using only one, if that configuration is set up in the file it may be what is causing the issue upstream.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@VoyagerJames What gateway are you using? The personal gateway should support a mixed scenario, but the other (what was Entperprise Gateway) does not support that yet. Even though you are using only one, if that configuration is set up in the file it may be what is causing the issue upstream.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 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.