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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
U156531
Post Patron
Post Patron

Limiting the data returned in a PBI query

My PBI report is accessing an oracle database that has large amounts of data. I want to limit the amount that is imported into the PBI by the date being  = > then 2020. I'm not sure where I should perform the query to filter the data prior to 2020? Can someone make a suggestion.

 

Thanks 

1 ACCEPTED SOLUTION

It is best to have your date and time as separate fields, so I would separate that, then make sure the date field is set to the data type of date. Once that is done, you can click on that field and go into your filter options: 

audreygerred_0-1721751883240.png

You can set it to be after 12/31/2019 or whatever works best for you (perhaps you have to keep the last 4 full years of data and data from this year so you could do something like this: 

audreygerred_1-1721752039107.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
audreygerred
Super User
Super User

Hi! Does your table that you are trying to import have a date field? You would limit the rows in Power Query using the date field and filtering.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





This is how I'm currently filtering the data by the date but I'm not sure if this is the most effective way? 

 

U156531_0-1721751384214.png

 

It is best to have your date and time as separate fields, so I would separate that, then make sure the date field is set to the data type of date. Once that is done, you can click on that field and go into your filter options: 

audreygerred_0-1721751883240.png

You can set it to be after 12/31/2019 or whatever works best for you (perhaps you have to keep the last 4 full years of data and data from this year so you could do something like this: 

audreygerred_1-1721752039107.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.