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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
RandomPBIUser
New Member

Incremental refresh for Custom data connector. Store custom data.

We have developed a custom data connector which connects to the Rest API of some sort.

Rest API supplies us with sort of "last committed transaction number", which we can use in our queries in order not to fetch all data from the server.

For example we receive LastTransaction=1000 and we can supply it as a query parameter FromTransaction=1000.

Is it possible to store the LastTransaction somewhere and use it in the next data refresh?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @RandomPBIUser ,

This may require a manual way to get the maximum transaction number in time after the last refresh and store it somewhere (like an excel file) and then connect to that excel file in Power BI Desktop also for your report. Create the parameters and take the values from the query associated with the excel file. You can refer to the video below to do this.

Store max transaction number in excel fileStore max transaction number in excel file

Populate a Power BI parameter list using a query

yingyinr_1-1652435414058.png

Finally, try to do some configuration in the custom connector: add a filter (like: transaction number>[parameter value]) ....

Power BI Data Connector manual

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @RandomPBIUser ,

I don't quite understand your needs. Do you want to have a field inside the Power BI to store the maximum transaction number of the last transfer and then use that for the next refresh of the filter criteria? Please review the following links using Query parameter and check they can help you resolve the problem...

Create Dynamic Query Parameters in Power BI Desktop

Creating Dynamic Parameters in Power Query

Unable to create dynamic function parameters in Power BI Custom Connector

Best Regards

I need to store last committed transaction number somewhere and use that in the next refresh. This would avoid fetching old data I already have.

Anonymous
Not applicable

Hi @RandomPBIUser ,

This may require a manual way to get the maximum transaction number in time after the last refresh and store it somewhere (like an excel file) and then connect to that excel file in Power BI Desktop also for your report. Create the parameters and take the values from the query associated with the excel file. You can refer to the video below to do this.

Store max transaction number in excel fileStore max transaction number in excel file

Populate a Power BI parameter list using a query

yingyinr_1-1652435414058.png

Finally, try to do some configuration in the custom connector: add a filter (like: transaction number>[parameter value]) ....

Power BI Data Connector manual

Best Regards

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.