POWER BI CATEGORIES▼
POWER BI VIDEOS▼
- Power BI Part 1.1 - Installing Power BI Desktop
- Power BI Part 1.2 - Creating and Publishing Your First Report
- Power BI Part 2.1 - Install and Configure Power BI Report Server
- Power BI Part 2.2 - Report Builder for Power BI Report Server
- Power BI Part 2.3 - Connect Power BI Reports to Shared Datasets
- Power BI Part 3.1 - Getting Data from Excel
- Power BI Part 3.2 - Import Multiple Text or Excel Files
- Power BI Part 3.3 - Import and Transform Data from PDF Files
- Power BI Part 3.4 - Get Data from Websites
Power BI videos | Power BI Part 3.1 - Getting Data from Excel
Posted by Andrew Gould on 17 June 2019
This video shows you how to import data from Excel into a Power BI report. You'll learn about the importance of Excel tables and range names and how to select the appropriate range to import. You'll see how to import multiple tables and create one-to-many relationships between them. You'll also learn about using the Power Query Editor to clean up untidy data by deleting rows, promoting headers and altering data types. The final part of the video explains a couple of techniques for appending multiple tables into a single list, and how to merge multiple queries into a single table to make it easier to create reports.
This video has the following accompanying files:
|01 - Movies Single Table.xlsx||Excel workbook|
|02 - Movies Related Sheets.xlsx||Excel workbook|
|03 - Movies Related Tables.xlsx||Excel workbook|
|04 - Top 10 UK Films Single Table.xlsx||Excel workbook|
|05 - Top 10 UK Films Table with Subtotals.xlsx||Excel workbook|
|06 - Top 10 UK Films Multiple Sheets.xlsx||Excel workbook|
Click to download a zipped copy of the above files.
Making a video bigger
You can increase the size of your video to make it fill the screen like this:
Play your video (the icons shown won't appear until you do), then click on the full screen icon which appears as shown at its bottom right-hand corner.
When you've finished viewing a video in full screen mode, just press the Esc key to return to normal view.
Improving the quality of a video
To improve the quality of a video, first click on the Settings icon:
Make sure you're playing your video so that the icons shown appear, then click on this gear icon at the bottom right-hand corner.
Choose to change the video quality:
Click on Quality as shown to bring up the submenu.
The higher the number you choose, the better will be your video quality (but the slower the connection speed):
Don't choose the HD option unless you have a fast enough connection speed to support it!
Is your Wise Owl speaking too slowly (or too quickly)? You can also use the Settings menu above to change your playback speed.
Having watched this video, in particular the part about merging tables, it leads me to think that it is actually doing a vlookup. Many people have expressed their desire to use Power Query to do vlookups because of its speed. My question is: how do you incorporate the vlookup performed using Power Query into VBA?
Suppose in Excel on Sheet1 column 1, I have the values 1,2,3,4,5 and in column 2 the values a,b,c,d,e.
Also on Sheet2 I have the value 1 in cell A1. Running the following simple code would return the value of "a" into cell B1 on Sheet2, as expected:
Dim SourceArray() As Variant
SourceArray() = Sheet1.Cells(1, 1).CurrentRegion.Value
Sheet2.Cells(1, 2).Value = Application.WorksheetFunction.VLookup(Sheet2.Cells(1, 1).Value, SourceArray(), 2, False)
My question is: if the Lookup subroutine was done manually using Power Query, how can that code be generated? As far as I'm aware, (and do correct me if I'm mistaken), clicking the macro recorder button then performing Power Query steps manually DOES NOT generate any VBA.