Skip to main content

Loading Folders as Data Sources in POWER BI

 

Power BI can connect to a plethora of different data sources.  Did you know Power BI can also make loading multiple files at one time a cinch?  There is an option from the Get Data icon for “Folder”.  Wait, a folder is not a data source, is it?  Well, all the files in that folder are for sure data sources.

So what makes the “Folder” option something you need to know about?  Do you get new files with the same column structure sent to you on a set time frame and then have to go and append them to your existing file?  Have you ever found yourself appending multiple files over and over that have the same column structure?  If you answered yes to any of those last 2 questions, then you are going to fall in love with the “Folder” data source.

Simply put, the “Folder” option allows you to bring in all of your files at once into Power BI.  You will then make all of your transforms on one sample file and Power BI will automate the process across all the files of your choosing and append the files into one query.  Do you remember the phrase “Set it and forget it!” from those infomercials about the Showtime Rotisserie back in the 90's?  Well that’s exactly what the “Folder” option allows you to do.  You can set it and forget it 😉

In my demonstration, I show how to set up the folder option, how to filter out the files you want to load, and a best practice about duplicated records that I address at the end of the video.


Comments

Popular posts from this blog

The Teacher Becomes the Student

My wife asked how my first day was going so I sent her this selfie. Only a picture could capture it.  First, let me tell you that this won’t be your typical Power BI or tech blog that you usually see. Let me set the scene. It was a year and a half ago when I got lucky enough to be introduced to Brian Knight, the CEO of Pragmatic Works over lunch. He had heard from a mutual friend that I was looking to make a career move after teaching Algebra for the past 15 years. Brian started telling me about the company and all the different facets it encompasses. From training, sales, consulting, and app development. Mind you at this time I had never heard of Microsoft Power BI, SQL Server, Microsoft Azure, or have any experience with coding. He told me an opportunity at his company may present itself in the future where I could transfer over my teaching skills into the training side of the above-mentioned programs. I immediately got to work with their On-Demand Learning system to lear

The Power of CALCULATE in Power BI

Last week in my blog and video I discussed how Power BI could have made my life as a teacher much easier.  It is not that Power BI can do things that I could not on my own.  It is the fact that Power BI could have saved me so much time.   This led me to some thoughts and questions.   How could I have impacted the students more in the classroom with this extra time?  Would teachers who were not analyzing student data due to time constraints now start?  How can I make the data tell my students a story that gives them an accurate picture of their progress?   That last question is what leads to this week’s blog.   Many times the metrics (which is just a fancy word for "numbers") of what we want to show are easy to do by hand with a basic math background.  Although easy, it can be very time consuming when dealing with different groups of data: like 6 periods of students instead of 1 period. When we want to do these calculations quickly with minimal effort in Power BI it is not

Roads were made for journeys | An update on my own

It is time for another update on my Power BI Journey which you will soon see has taken a few turns.  Before I go any further, I cannot go another minute without thanking a few special people who have supported me along the way. 1. My wife.   I want to thank my wife for giving me extra time at night and on the weekends to learn, study, and prepare for the demonstrations that I would be delivering.  She even lets me practice! Mollie definitely had no idea she would be unofficially enrolled in so many Power BI classes, haha.  She is a great student who gives me fantastic feedback that I then use when trying to make my demonstrations better. 2. My incredible bosses .  Brian and Devin Knight always provide support daily.  They know how overwhelming it can be to take a deep dive into material that you have never worked with before.  They have been there every step of the way to answer my questions no matter how trivial they may be.  It is a stark contrast compared to what I know some educat