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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Smokey24
Helper I
Helper I

Incremental refresh with select statement

Hi,

I want to incremental refresh and have set the parameters and published the dataset to the server.

We are using an on-premise gateway and I got added as a user. For data load I am using a select * statement. The incremental refresh is not working and I suppose it is because of the select *.

The database where I am loading the data from is not added as a datasource specifically.

When I go and look and the native query it is greyed out - which should be because of the select * statement.

So I suppose the query folding is not working with a select * statement.

If I select data from the database directly I am able to see the native query which has a where clause. But uploading the dataset with this setting won’t show me the on-premise gateway.

Now the question is do I need to insert a where clause into the select * statement so that I can use incremental load?
Or do I need to add the database where the data into as a datasource into the gateway?

Thanks!
1 REPLY 1
GilbertQ
Super User
Super User

Hi there

When using incremental refresh you have to either use a table or view for incremental refresh to work.

With regards to your question on the datasource in the Gateway I would suggest going into your PBIX and clicking on Transform data and selecting Data Source Settings.

Take those settings and add them into your Gateway Data source in the Power BI Service.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors