Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello all,
my coroporate data is for many years and I need to limit the import to the last 5 years so that it wont take much space. Any idea how i can do that?
Solved! Go to Solution.
Hi @Rehab_hassan ,
AFAIK, some of the data connectors support to add advanced option queries to filter on received data before import data to power bi. (e.g. SQL, oracle...)
Power BI Introduction: Working with SQL Server data in Power BI Desktop — Part 5
For dynamic date filter, you can consider splicing query string with query parameters or m query DateTime functions.
Deep Dive into Query Parameters and Power BI Templates
Regards,
Xiaoxin Sheng
HI @Rehab_hassan ,
If you are using import mode, you can write SQL expression to filter the data before importing into Power BI desktop.
Or, you can filter the data inside Power query editor and then do close and apply.
Regards,
Amit
Any hints about the sql expression to limit the date before importing it?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |