How to Import Excel Files with Power Query; BUT there’s a PROBLEM

Here is a how-to for importing Excel files from a folder using Power Query (Get and Transform). It’s fairly easy to do.

HOWEVER, in this example, I’m sharing a folder with someone who starts putting goofy stuff into the folder and they break the Power Query query and the process. Now what?

One move is confrontation. Tell the person to ” knock it off!” Another move is to modify the query.

Check out the video. Please comment. Share your thoughts. Ask questions.

The song in the video is “Quintal do Céu” by Seu Jorge

For an intro to Get & Transform (Power Query) try my Lynda.com course:

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2

Connect Power Query to a Dynamic Dropdown List

Can Excel’s Power Query (Get and Transform) be used as contents for a dropdown list in Excel? And what would be a good use for it?

That came across my mind recently and this video is the result of that inquiry. You’ll see COUNTIFS, Dropdown boxes, Fill-Down, and everything!

For an intro to Get & Transform (Power Query) try my Lynda.com course:
https://www.lynda.com/Excel-tutorials/Excel-2016-Get-Transform/608994-2.html
Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2

Excel Data-Cleansing: When Data CanNOT be Cleansed

This is Crap data at its worst–a dataset that cannot be cleansed. This video is a dose of Excel data-cleansing reality.

Someone asked for help cleansing a column of dates so they could be sorted. As I explored the data in Excel and Power Query to see what was wrong, I uncovered deeper problems.

There weren’t just formatting issues. One date had a year “20165.” So many red flags piled up and this is when the responsible thing to so is STOP! This data cannot be trusted. Send the data back to the source for verification and validation.

BTW: you’ll also see use of the Locale feature in Power Query (Get and Transform).

Join me at Patreon: https://www.patreon.com/Data

For an intro to Get & Transform (Power Query) try my Lynda.com course:

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2

Running Totals in Excel’s Power Query: the easy way

As follow up to my previous video on making running totals in Excel’s Power Query (Get and Transform) I show a much simpler solution. Thank you to Wyn Hopkins and Peter Bartholomew.

Special thanks to Gráinne Duggan for an important warning. If we make the running total, sort the source data and then refresh, the running total will turn into a mess.

My Patreon Page: https://www.patreon.com/Data

For an intro to Get & Transform (Power Query) try my Lynda.com course:

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2

The Madness of How to Make Running Totals in Power Query

This video is a wild one! To make running totals in native Excel is pretty easy. However, in this video, you will see the adventure for making Running Totals in Power Query (Get and Transform).

You will see some M Coding in Power Query, Lists, List.Range, List.Sum, custom columns, and putting an entire table inside a single column.

In Excel we can work at the cell level and that’s what makes running totals easy. But, in Power Query, we have to work on entire rows or columns. So, there are a lot of steps to force Power Query to give us what we want.

For an intro to Get & Transform (Power Query) try my Lynda.com course:

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2

Using Power Query to Import Names To Make Dummy Data

I maintain a file of dummy data and I describe the 2 reasons in this video. But where does the data come from?

Here, I show how to import and clean data from this web page of 200 top Brazilian first names.
http://www.studentsoftheworld.info/penpals/stats.php3?Pays=BRA
Once the names are imported, the names have to be fixed using Power Query’s “Add Column by Example.” This makes it easy to correct names that are ALLCAPS or all lowercase.

The result is over 20 Million combinations of names for when it’s necessary to make tutorials and test solutions.

I also mention Excel Weekend 4 that’s happening in January 2018 in São Paulo Brazil. Learn more about it here:
http://www.excelweekend.com.br/
For an intro to Get & Transform (Power Query) try my Lynda.com course:

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2

Test Your PowerQuery Instinct With This 5 Question Quiz

Download the workbook here:
http://datascopic.net/GTInstinct
LET’S WHOOP CRAP DATA!

This 5-question quiz is designed to expose you to Crap Data and test your instinct for what Power Query (Get and Transform) features you’ll need for victory.

The solutions aren’t in this video because we’re focused on INSTINCT–what you think you’ll need before you get started. However, the solutions are in the workbook that you can download here: http://datascopic.net/GTInstinct

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2

How to Split Columns with Power Query with Variable Delimiters

It’s easy to split columns by delimiter but there’s a problem if you need to automate the parsing.

Get & Transform (Power Query) hard-codes a number the first time you create the query, and if that number is exceeded, new data will just disappear.

This video shows how to set up a query so that all future data will be integrated. This involves creating a list of lists in Get and Transform then converting it back to a table.

There is one trick and I learned it from DataChant:

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2

Paqui One-Chip Challenge 2017

Here it is! My Paqui One-Chip Challenge video.
This chip is HOT! You’ll see.

#onechipchallenge
#sweeps

Website: https://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336
My old blog: http://datascopic.net/blog-2-2