Forum Discussion
Limit import data from SQL based on date
- Anonymous3 years ago
Hi Anonymous ,
According to your statement, I know that your data source is SQL Server and you only need to load data in a rolling date range. Here I suggest you to try incremental refresh in Power BI. You need to configure it in Power BI Desktop. When your publish it and refresh in Power BI Service, the query filters return only those rows within the refresh period dynamically defined by the parameters. Those rows with a date/time within the refresh period are refreshed. Rows with a date/time no longer within the refresh period then become part of the historical period, which isn't refreshed.
For reference:
Configure incremental refresh and real-time data for Power BI datasets - Power BI | Microsoft Learn
Query folding guidance in Power BI Desktop - Power BI | Microsoft Learn
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
According to your statement, I know that your data source is SQL Server and you only need to load data in a rolling date range. Here I suggest you to try incremental refresh in Power BI. You need to configure it in Power BI Desktop. When your publish it and refresh in Power BI Service, the query filters return only those rows within the refresh period dynamically defined by the parameters. Those rows with a date/time within the refresh period are refreshed. Rows with a date/time no longer within the refresh period then become part of the historical period, which isn't refreshed.
For reference:
Configure incremental refresh and real-time data for Power BI datasets - Power BI | Microsoft Learn
Query folding guidance in Power BI Desktop - Power BI | Microsoft Learn
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.