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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
viz_vignesh
Frequent Visitor

Problem in loading data via Native Query

I am developing a report in Power BI Desktop for which I am using a native query through a ODBC connector and for development purposes, I have filtered the query for a small amount of data in the power query.
Also I am not loading the whole data into the memory in PBI Desktop and I am using parameters to filter out for a small chunck to be loaded in the local, so that I can edit them in the service.
I know for a fact that one cannot access power query after the report is published to a workspace or so.
I need for the table to be loaded fully in power query from my native query after which I parameterize the table for a small number of rows of data to be loaded in local.
But that operation is taking a lot of time since the number of rows is in the billions after the native query and filtering gives out a few thousand rows.

Any other relavant approaches on tackling this problem is much appreciated.

PS: I resorted to use native query to load data as the SQL query is complex and time consuming to build in power query fully from scratch.


2 REPLIES 2
AllisonKennedy
Community Champion
Community Champion

@viz_vignesh  have you tried Incremental Refresh?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

No, we're not using Incremental Refresh as the report is looked up only on a monthly basis

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.