Optimizing PowerBI Performance: Importing Select Data from a Large Workbook

tazeo

Board Regular
Joined
Feb 15, 2007
Messages
132
Office Version
  1. 365
Platform
  1. Windows
So I have a workbook that has 5 worksheets I want to use, but those sheets are huge and have data going back many years. This makes the queries, reports and dashboards in PowerBI cumbersome.

Q1: Is there a way to get PowerBI to only import the last two years from a certain date?

I say "certain" as the WorkBook creator has set up the book so that it includes future dates out to a year.

Workbook gets updated every month.

Q2: Is this even worth trying to do to make my life easier?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hey! You can configure Power Query to import only the last two years of data from a certain date. Here's how you can do it:

  1. In Power Query, select the worksheet that contains the data you want to import.
  2. Click on the "Transform data" button to open the Power Query Editor.
  3. Select the date column you want to filter.
  4. Click on the "Add Column" tab and select "Custom Column".
  5. In the formula bar, enter the following formula:
    Excel Formula:
    = Date.Year([DateColumn]) >= Date.Year(Date.From(DateTime.LocalNow())) - 2


Let me know!
 
Upvote 0
Solution

Forum statistics

Threads
1,215,331
Messages
6,124,311
Members
449,152
Latest member
PressEscape

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top