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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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