Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 101 | |
| 39 | |
| 29 | |
| 29 |