Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Solved! Go to 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:
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:
Proud to be a 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.
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?
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:
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:
Proud to be a Super User! | |
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
45 |