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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Parosel
Helper I
Helper I

changing SQL query once pbix loaded to the service

I've loaded a file to the service with the data restricted by the original SQL query importing the data into the PBIX file. I did this because when I ran the whole dataset it has repeatedly failed with a connection termination error at the server side on SQL.

 

Now that I have sucessfully loaded the data into a dataset in my service is there a way I can now change the original SQL statement to remove the where clause filter and so refresh the full dataset in the cloud?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You can use a Parameter to hold the query text. That parameter can then be changed in the dataset's settings in the workspace.

 

Alternatively you can consider using incremental refresh, worst case with partition bootstrapping.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

You can use a Parameter to hold the query text. That parameter can then be changed in the dataset's settings in the workspace.

 

Alternatively you can consider using incremental refresh, worst case with partition bootstrapping.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.