Video není dostupné.
Omlouváme se.
How and why to Unpivot data with Power Query
Vložit
- čas přidán 16. 08. 2024
- This video showcases 2 examples of when you need to unpivot your data.
The first scenario is a simple unpivotting exercise using just Excel
In the second scenario I use Power BI and work around one of the issues that unpivotting may cause.
00:00 Intro
00:26 Basic Example
04:39 More Complex Example requiring Table split and Dimension Table creation
Link to video on the Calendar Table
• What is a Date Table /...
Connect with me
wyn.bio.link/
Access Analytic blog: accessanalytic...
This is great! No surprise as you explain everything very clear and easy to follow. Thank you very much
Thank you for taking the time to leave a kind comment Ana. Greatly appreciated 😀
Excellent video, thanks so much! I did a Power BI course 2 weeks ago, feel like I've already forgotten nearly everything, plus the data I'm working with is a lot more complex than what we used in the training. Your clear concise video is a lifesaver.
Glad to help, I’ve a full playlist here that may help czcams.com/play/PLlHDyf8d156VDobBIk13o4mZLk19DbV81.html&si=JNcNN5QfUBBgvTYm
Unpivot is an amazing tool. I like how you’re like “it’s beautiful” because it truly is. Especially the unpivot other columns which gives your source data the ability to expand in columns without messing up your query.
Absolutely!
You absolutely nailed it, one of the best overall videos about PowerQuery! I like your articulation and the instructions are sophisticated, yet easy to follow. Great content!
Thanks Zakhar, it’s greatly appreciated.
Apart from being very informative and clear, your voice and accent make it super enjoyable. Thanks!
Thank you ☺️
Breakthrough! I have been trying to understand pivoting all afternoon! Your video has nailed it
Glad to help 😀
I had a thorny data problem with some credit card file downloads where I needed different information for different purposes: sales sheet tie out, bank tie out (each neededing horizontal layout with different data filtered) and journal entry (needing no filtering but some cajoling and a vertical layout for entry upload). The unpivot was key. This technique needs to be in everyone's toolkit. As always your explanations are clear and highlights the benefits (and ease) of the technique.
Glad to help
Super helpful, thank you. Very clear, concise, well-explained, and a new user I appreciate the little side tips and best practice notes thrown in as you went through the steps.
You’re welcome, thanks for taking the time to leave a comment letting me know
I live that you add the tbl at the start of the table name. Methinks you have a programming background. I do that, too. At first glance, it is seems unnecessary but in complicated vba code it makes perfect sense.
I’ve an accounting background but logical naming just feels right 😀
This is the powerhouse of knowledge. Amazing work. Thank you!
Thank you
Good one
Mind blowing!!!! Brilliant way to break data into rows!!!!❤️🔥❤️🔥
It’s a brilliantly useful feature 😀
Tis tutorial is very nice. I have learnt the easy way. If gave the source file , it would be easy to practice.
Than you. I’ve started to include files in more recent video.
Good lesson, from basic to more complex solution. Thank you! 👏
Thanks Mariusz
Your tutorials are very useful and straight forward. I just wish you added links to download the tables you are using in your videos so one could practice while watching :)
Thanks. These days I try to add links to files.
7:52 How do you do that? I know how to merge queries with common fields, but splitting a table?
The best approach which I can think of is: 1) Duplicate the query; 2) In each respective query, delete the columns which are unneeded. Then you will have two (2) tables, each with the respective columns you need.
I’d reference the queries , remove other columns, and append if more than one source. And remove duplicates.
❤❤❤ Thank you so so much. I’m having do many emotions right now.
Glad to help
The tutorial is nice. Calling tidy data in pivot horrible is just 🤣🤣🤣 Tidy data and unpivot data are both perfectly fine, it only depends on what you need it for.
Yep, matrix layout good for reading, horrible for flexible analysis
in queries yea, in python pivot format, was what we were required to make to analyze. It all depends on what you need, but I agree for a pivot in excel unpivot format is much more useful.
Great tutorial. Thanks so much.
Awesome explanation, so helpful! Thank you!
You're welcome 😃
Excellent video , thanks for sharing your knowledge
You're welcome Abeer, thanks for taking the time to leave a kind comment
Thank you very much sir.
You’re welcome
Great !!1 God bless you.
Thank you
More videos please, you're the best
Thank you 😀
Great Explaination! Thank you so much.
Thank you Nidhi
Excellent tutorial, thank you Wyn!
You’re welcome Gareth
Thanks Wyn, excellent lesson.
Cheers Iwan
I’m enjoying your videos so much and happy to keep learning. Thanks for creating great content!🙏
I’m curious to know why use a separate date table as a reference table. Is it essential, or can one go without it? Additionally, for those without Power BI access, is there a way to achieve this in Power Query?
Hi, thanks for the kind comment. They Calendar table allows you to slice and dice one or more Data tables by year month day, financial year, month etc. You can also do this in Excel using Power Pivot ( the pre cursor to Power BI )
czcams.com/video/RV47yX70NN8/video.htmlsi=cKLP0tBdKKJNW0mr
And
czcams.com/video/RV47yX70NN8/video.htmlsi=cKLP0tBdKKJNW0mr
Thank you so much! Great explanation!
Thanks for taking the time to let me know Angela
Great tutor!
Thanks for the kind comment
Very nice, thank you.
Cheers Tim
Thanks Wyn, excellent video 👍. Just a small query, around 12:29 in the clip, you said that 3 fact tables. I am not sure but feel they are dimension table. Myabe slip of the tongue? Just curious。 Thanks
Excellent pick-up Kebin. Yep those are 3 dimension tables.
Great! thanks
No worries!
Thank you
You’re welcome
Great Wyn! The second example was tricky! Thanks for walking through the process. Just curious, I noticed in your Fields list that the My Measures table shows at the top of the list. My field list sorts automatically alphabetically. So, I must name my measures table as something like --myMeasures or 1-myMeasures for it to sort to the top. How did you position yours at the top before the Auditor Table and Calendar table, etc. that would all naturally sort before the M of MyMeaures? I rooted around for a setting and couldn't find one. Curious how you do that. Thanks again for all the tips. Thumbs up!!
Cheers Wayne, remove any columns from your measures table and it moves to the top. See the 1:15 mark here czcams.com/video/EiWdzGlKgvI/video.html
@@AccessAnalytic Thanks Wyn. I think I was trying to sort it to the top of the list before removing the empty column. Also, good to know that a disconnected measures table won't allow for drill-down from a Pivot Table. Thanks again for all the great tips! Thumbs up!!
Cheers @@wayneedmondson1065
SUPEEER
best
Do we have to create tables for all dimensions? What if we have many dimensions?
Yes, pretty much. Certainly all those that have multiple common repeated factors. E.g.
date has Year Month Day etc,
Product has name, supplier, colour,
Customer has address, phone, contact
Etc
great video. btw, where are the downloadable files?
Thanks, not for this one sorry
Sir, How can I revert the unpivot excel value. Please it would help me a lot.
Could you explain more please
I am wondering the same thing. How to pivote data back? From unpivot format back to pivoted format.
There’s a pivot option in Power Query
Thanks Sir 🙏
You’re welcome
Hi Thanks for the video. I have 3 columns of values and at the very before the column header it is written the date in which identifies the value in the column belongs to a certain date something like this: 202201|202202|202203 how can I fix this issue in power Q to read in Power BI? will it make sense to create 3 different columns of dates relative to the date of the column and then povit them and then povit the 3 columns also? im kindda confuse. your help would be great :)
Hi, that’s a bit too tricky to answer here. I’d post your question with some screenshots here community.powerbi.com/t5/Desktop/bd-p/power-bi-designer
7:09 What about SUMIFS distinct values?
Is there such a thing?
Ideally use Power Query to make your formulas simpler in your data model
unfortunately one Episode from 4 have workbook to practice 😔
In the last year or two I started to include a link to download the files I use. This older video does not have a downloadable file.
Please get back to me ..I would like to pay for a private class
Hi, please contact info@accessanalytic.com.au