Transpose, pivot or unpivot in Power Query?

  Рет қаралды 97,205

Curbal

Curbal

Күн бұрын

Пікірлер
@valenmolina
@valenmolina 3 жыл бұрын
I've been struggling for hour with a table that was given to me in the wrong format and with this video I could fix everything and get started on my report. Thanks a million!!
@CurbalEN
@CurbalEN 3 жыл бұрын
🎉
@joangarcia6327
@joangarcia6327 4 жыл бұрын
La mente humana es algo maravilloso: hace unos dias vi este video sin entender demasiado. Hoy me encuentro creando un informe, en una tabla que no quedaba bien y.... zas! “Ese video....” lo he vuelto a ver y aquí estaba la solución.
@Tony-uv4pd
@Tony-uv4pd 2 жыл бұрын
Thank you for the simple explanation. Sometimes, it can get confusing. But this video is a great reference!
@imconfused1237
@imconfused1237 4 жыл бұрын
Ruth, thank you sooo much for demonstrating how to use these techniques. It has instantly solved a huge headache, where our Data Model had to monthly injest 20k rows. Using this, I am now able to: pivot the data at source, extract as a PDF, import into PowerBI and then use the 2nd technique to transpose + unpivot it back into a useable dataset. Absolutely superb!!!! 👍
@CurbalEN
@CurbalEN 4 жыл бұрын
🥳🥳🥳 /Ruth
@kiddwong4186
@kiddwong4186 2 жыл бұрын
This is exactly the video I needed to help me reconfigure some data I had in a rubbish format. Thank you so much!
@CurbalEN
@CurbalEN 2 жыл бұрын
Wonderful to hear!!
@siyabongamyeza5315
@siyabongamyeza5315 2 жыл бұрын
This is a very deep concept. Thanks for making it short and straight to the point
@bibekanandabhattacharjee952
@bibekanandabhattacharjee952 3 жыл бұрын
I understood just the definition. However, thanks @Curbal for igniting the interest in me.
@Pedro_Israel
@Pedro_Israel 2 жыл бұрын
Didn´t know how to put into words what I was looking for: "Unpivot" is the answer. Thanks.
@CurbalEN
@CurbalEN 2 жыл бұрын
Yeah, the first hurdle is always to know hoe to search. Once you know that, the rest is easy ;)
@carltonseymour869
@carltonseymour869 2 жыл бұрын
Thank you, Ruth. This video solved a nagging issue a colleague was trying to soolve.
@enochs4290
@enochs4290 Жыл бұрын
Thank you! Just the first examples you showed in the first minute answered my questions!!!
@CurbalEN
@CurbalEN Жыл бұрын
Excellent!
@tianag4627
@tianag4627 10 ай бұрын
At 4:13 when you removed Change Type, what did you click exactly?
@adityapuro5654
@adityapuro5654 Жыл бұрын
Curbal, your content helped!! Thank You! Keep Growing!
@raniakkina4792
@raniakkina4792 8 ай бұрын
Thank you for explaining things so clearly. This concept always used to confuse me.
@JJ_TheGreat
@JJ_TheGreat 2 жыл бұрын
1:33 So would it be possible to do the same thing WITHOUT transposing? If so, how would it be done? Thanks.
@ReisdoBI
@ReisdoBI 2 жыл бұрын
It was one of the most helpfull things I watched in youtube this year! Thanks a lot! Abraços do Brasil!
@CurbalEN
@CurbalEN 2 жыл бұрын
Delighted to hear :)
@Gustavo-Santana
@Gustavo-Santana 4 жыл бұрын
Thanks for the great content :), for Q2 I believe the answer is number 4: Microsoft Azure SQL Database
@CurbalEN
@CurbalEN 4 жыл бұрын
Thanks Gustavo, I will reveal it on Friday :)
@ericdowdy3609
@ericdowdy3609 3 жыл бұрын
Great explanation on 3 key tools in power query for shaping data! Thanks Ruth!
@CurbalEN
@CurbalEN 3 жыл бұрын
🥳🥳
@joat9105
@joat9105 3 жыл бұрын
you save my life, my god this is very helpful thank you very much mrs
@lelouchl3263
@lelouchl3263 4 жыл бұрын
thank you so much. it is one of the easiest one to understand out of all the other ones I have watched on youtube. Again, thanks.
@CurbalEN
@CurbalEN 4 жыл бұрын
Pleasure and glad it was helpful:)
@MANDEEPSINGH-bj9hq
@MANDEEPSINGH-bj9hq 3 жыл бұрын
That exactly what I was looking. Thank you!!
@eshwarkotha899
@eshwarkotha899 2 жыл бұрын
Many thanks for this valuable session I have understood clearly about transpose pivot and unpivot and very useful topic and these topics will be implemented on my work
@CurbalEN
@CurbalEN 2 жыл бұрын
I use them all the time too :)
@aminzakariah2891
@aminzakariah2891 4 жыл бұрын
Love your content! Quick and concise
@CurbalEN
@CurbalEN 4 жыл бұрын
Thanks!
@mikesmith2315
@mikesmith2315 Жыл бұрын
thankyou for this. The best explanation i have seen.
@coolname-pf2xh
@coolname-pf2xh 2 жыл бұрын
Excellent. Thank you so much for clearly explaining with concise examples. You rock.
@skipa9906
@skipa9906 3 жыл бұрын
Thank you for your explanation. I have a question, what if i just want to take one row and turn it to a column?
@endingofworldmovies798
@endingofworldmovies798 2 жыл бұрын
at the end how the last column sales come up ?? before it was not there right ?? how come 3 columns turned into 4 ?
@rmmccarthy1240
@rmmccarthy1240 2 жыл бұрын
Thank you. This has helped me a great deal.
@Happymen-u
@Happymen-u Жыл бұрын
How can I make any chart or visual based on this format like I want to create line chart for company A and B based on months
@renatofuenteslespinasse7341
@renatofuenteslespinasse7341 2 жыл бұрын
I love you Curbal, u are the best:))))
@CurbalEN
@CurbalEN 2 жыл бұрын
You too!!
@64BitTeluguGaming
@64BitTeluguGaming 3 жыл бұрын
simple and clean thank you
@ChavaCar11
@ChavaCar11 4 жыл бұрын
hey got a question with the Pivot/unpivot functionality. Hope you can read this and answer, I got a system that downloads forecast into weeks, months, etc. but it is always rolling data, so if I do it weekly, current week (which would be week #1) is no longer in next week, as the second week becomes first week and last week is replaced by the one following and so on so forth. Format is always time stamp as column, so I have a part and then 13 weeks or so one column per week, 13 columns of timestamps with qty. My issue is that no system I've used likes missing columns, it likes new ones to be added but not taken out of the data source, if I unpivot the the data to be rows instead, am I going to get the same issues when a column is missing or this overrides that and takes it as it is rows and nothing happened?
@luisfernandomacedo1451
@luisfernandomacedo1451 2 жыл бұрын
Hi, many thanks for sharing this video! I have applied unpivot to my table, however some values from the other columns are kinda going ghost. What's happening? Do u know ?
@osoriomatucurane9511
@osoriomatucurane9511 Ай бұрын
Awesome tutorial, concise and crystal clear. When we reshape the dataset by unpivoting the values in columns to rows, we get a long format where other variables get repeated values n times corresponding to distint number of the new attribute, I mean the new column. The total number of records (observations or rows) increases n times. Now we move into analysis/summarizing with pivot table or group by, the aggregation by the count for those variables with repeated values is incorrect. How do we fix or deal with this? Thank you.
@shyamthakur9799
@shyamthakur9799 4 жыл бұрын
In May 2020 update... can't find pivot or unpivot options in query editor.... Can you help me in that??
@ezharezani5936
@ezharezani5936 3 жыл бұрын
Hi Ruth, can I sort the period columns into ascending order? which will show 12 months first
@il_han8867
@il_han8867 4 жыл бұрын
Hi, you answered the questions I've been looking for for a long time. Thank you very much.
@CurbalEN
@CurbalEN 4 жыл бұрын
My pleasure :)
@il_han8867
@il_han8867 4 жыл бұрын
I have a question. I'd appreciate it if you could answer that. How do I create an index column with a 0-1-0-1-0-1-0-1. Zero and one number will repeat.
@CurbalEN
@CurbalEN 4 жыл бұрын
It depends on how your data looks like. Post the question in the power bi community and give as many details as possible.
@diegocalderon3221
@diegocalderon3221 3 жыл бұрын
This was great! Ex2 is was super useful for turning my horizontal (5-min interval by day) into vertical interval by day. Thanks!
@CurbalEN
@CurbalEN 3 жыл бұрын
🥳
@BISimplifier
@BISimplifier Жыл бұрын
In Ex1 ,let's say we have millions of records and if we transpose that would be vertically align and wouldn't be an issue in PBI refreshing? I thought we should never use transpose if we having millions rows of tables.What you think about this?
@3TUN_Official
@3TUN_Official 3 жыл бұрын
OMG this video was amazing!!!! TY SO MUCH!!! Literally saved me so much time
@CurbalEN
@CurbalEN 3 жыл бұрын
Wonderful to hear 👏👏👏
@3TUN_Official
@3TUN_Official 3 жыл бұрын
@@CurbalEN Love all your videos! This is my go to channel for Power BI. TY for taking the time to help us with all your videos.
@CurbalEN
@CurbalEN 3 жыл бұрын
Knowing that it helps somebody is all I need to keep going, so thanks a million for sharing the feedback 😊
@pandianselvaraj9204
@pandianselvaraj9204 4 жыл бұрын
Thanks for u Yr explanation about transpose, pivot and pivot... For Q2 :i choose option 3( Microsoft azure HD insight )
@EricMKO
@EricMKO 8 ай бұрын
Just subscribed. Very useful content.
@CurbalEN
@CurbalEN 8 ай бұрын
Welcome!
@SalonValby
@SalonValby 3 жыл бұрын
Thank you so much for that help, Keep going WOW
@andredeoliveira3684
@andredeoliveira3684 3 жыл бұрын
you're the best! thank you
@elrevesyelderecho
@elrevesyelderecho 4 жыл бұрын
Hello. Thanks for mentioned me 😊😊, but I got the impression that I wasn't the first to answer correct the Q1. But, you have the stats so... Thanks. This one. I think is 4. Question said live data, so I was thinking first about SSAS datasource, but when you read the options # 4 it is the only that I know allows bring data for live server. Maybe I am wrong, but some of the other option sounds fake names. Thanks for this video. I was practicing that yesterday and now the question is related to embedded, topic that I have been reading about this week.
@abhishekstatus_7
@abhishekstatus_7 4 жыл бұрын
Thanks for the explanation Ruth !! Really appreciated!!
@CurbalEN
@CurbalEN 4 жыл бұрын
My pleasure :) /Ruth
@raulpinto1963
@raulpinto1963 4 жыл бұрын
Saved my day!!! thank you!
@CurbalEN
@CurbalEN 4 жыл бұрын
🥳🥳
@rkburra
@rkburra 3 жыл бұрын
Excellent Video
@CurbalEN
@CurbalEN 3 жыл бұрын
Thanks!
@EricaDyson
@EricaDyson 4 жыл бұрын
Well I got the first one right (only because I do it a lot), but as for Azure.. not a **** clue.. so look forward to your answer and explanation!
@CurbalEN
@CurbalEN 4 жыл бұрын
Well done! I will reveal it on Friday ;) /Ruth
@godfreykiggundu7787
@godfreykiggundu7787 Жыл бұрын
Thanks alot my dear.
@Mooney103
@Mooney103 Жыл бұрын
Thank u so much for the video
@YMQ9
@YMQ9 Жыл бұрын
good video very helpful
@Laxmanmane007
@Laxmanmane007 4 жыл бұрын
thanks for clear explanation.
@vishalgandhi4279
@vishalgandhi4279 2 ай бұрын
Hi this video is superb but I stuck in my data can you please help me I have Country, Date, Power MW, Power Consumption, Energy MW, Energy consumption columns, Now I want output as Country, Date, MW (contain power and energy) in row, Mw Value, consumer value
@Ernestofranco80
@Ernestofranco80 3 жыл бұрын
love it. Thank you
@HachiAdachi
@HachiAdachi 4 жыл бұрын
Answer = 4. My employer doesn't use any Azure data services so my experience and knowledge in this area are very limited. I look forward to the answer reveal and your explanations! (and I hope I maintain my perfect score! lol Do I get any credit for being the last one to answer Q1? LMAO) BTW, I had completely forgotten about the "Don't aggregate" option in Pivot Column (they shouldn't hide it 'Advanced Options', really...) After a few years spent with PBI, I'm still humbled by these little 'basic' things that I should've known... 😳 So thanks, Ruth! 😀
@CurbalEN
@CurbalEN 4 жыл бұрын
I am like you! I recently discovered that you can split columns to rows using the UI ...also hidden! No points for last sorry 😂😂😂 /Ruth
@GainaIytics
@GainaIytics 3 жыл бұрын
THANK YOU SO MUCH!
@CurbalEN
@CurbalEN 3 жыл бұрын
🥳🥳🥳
@DHPDHPDHPDHP
@DHPDHPDHPDHP Жыл бұрын
You are the Best I love yours videos!!!! Jújú
@CurbalEN
@CurbalEN Жыл бұрын
🥳🥳
@manjunathshenoy2771
@manjunathshenoy2771 3 жыл бұрын
Thank you.
@walidkhlil2872
@walidkhlil2872 4 жыл бұрын
Thanks again and again
@timmytesla9655
@timmytesla9655 2 жыл бұрын
Thanks for this
@CurbalEN
@CurbalEN 2 жыл бұрын
Stay tuned for todays video, more on this!
@nazirakhan6530
@nazirakhan6530 4 жыл бұрын
Hi,Ruth Answer for Q2 is 4.
@miltondiaz2531
@miltondiaz2531 4 жыл бұрын
Perfecto. gracias
@harithalluri8174
@harithalluri8174 2 жыл бұрын
dataset how to download
@badreddinemachkour3643
@badreddinemachkour3643 4 жыл бұрын
thanks a lot !!! very helpful !!
@CurbalEN
@CurbalEN 4 жыл бұрын
Wonderful to hear :) /Ruth
@arulmanohar
@arulmanohar 2 жыл бұрын
Great!
@kalyanbabu6736
@kalyanbabu6736 3 жыл бұрын
Thank you mam
@mikem2246
@mikem2246 2 жыл бұрын
Unfortunately, when I used a transpose, the column headers are disappeared 🤷‍♂
@CurbalEN
@CurbalEN 2 жыл бұрын
Yes, demote the column headers first!
@mikem2246
@mikem2246 2 жыл бұрын
​@@CurbalEN I noticed that this is what is missing but I didn't find a way to do this (I would like to get a link if you have a video on this topic), so I transposed the table inside the excel file.
@CurbalEN
@CurbalEN 2 жыл бұрын
There is a button in power query where you can promote and demote headers, in the Home tab!
@mikem2246
@mikem2246 2 жыл бұрын
@@CurbalEN 🧐
@sandratorres1612
@sandratorres1612 Жыл бұрын
Gracias !!!!
@CurbalEN
@CurbalEN Жыл бұрын
Un placer :)
@ucheokeke4780
@ucheokeke4780 4 жыл бұрын
Thanks for the content Ruth. I think the answer is 4 for this question. I have a question. is it possible to import multiple csv files from a folder when the schema is different in each of them? I want to do that using the Folder data source connection but it wants to combine the csv files. Thanks
@CurbalEN
@CurbalEN 4 жыл бұрын
Create a function for each csv, that should do it ;) /Ruth
@dunder64
@dunder64 4 жыл бұрын
Ruth, do you mean a function in Power Query?
@vida1719
@vida1719 4 жыл бұрын
Great comparison of transpose, pivot and unpivot - reminds Rubik's cube. I cannot answer the second question as we don't use Azure, even my BPI reports are published as PDF files :( I wish I could share them though Power BI Service one day
@CurbalEN
@CurbalEN 4 жыл бұрын
Oh that is a pity :( , hopefully they will change their minds soon! /Ruth
@Rishi_CA
@Rishi_CA 4 жыл бұрын
1st! And great topic 👌🏼
@CurbalEN
@CurbalEN 4 жыл бұрын
You are ;) Do you have an answer for the quiz? /Ruth
@tobibell2418
@tobibell2418 Жыл бұрын
Slightly convoluted.
@kflynny23
@kflynny23 4 жыл бұрын
Great video as always. I thought this exam finished in June? And replaced by docs.microsoft.com/en-us/learn/certifications/exams/da-100? Very similar questions I assume, but just wanted classify as I'm keen to get booked into the new one
@JJ_TheGreat
@JJ_TheGreat 2 жыл бұрын
0:30 That sounds very confusing. Your definitions make it sound like they are all exactly the same thing.
@CurbalEN
@CurbalEN 2 жыл бұрын
Did my best. Check other sources, they might resonate better for you.
@nickdoy7019
@nickdoy7019 4 жыл бұрын
SQL as you would need the ability to query the source dataset rather than store the data in Power BI.
4 жыл бұрын
The correct answer is 4...you have to use SQL for live query
@CurbalEN
@CurbalEN 4 жыл бұрын
Thanks :) /Ruth
@jjpk80
@jjpk80 3 жыл бұрын
Good entertainment :-D !!!
@desenterrados2022
@desenterrados2022 4 жыл бұрын
I would say number 4...
@Call_Me_VJ
@Call_Me_VJ 2 жыл бұрын
C1 C2 A 2 B 2 C 5 A 7 C 8 Output A B C 2 2 5 7 8 How to do this ?
@flickers29
@flickers29 4 жыл бұрын
Option 4: Microsoft Azure SQL Database
@jhampiercito
@jhampiercito 4 жыл бұрын
option 4
@Abecedarianme
@Abecedarianme 4 жыл бұрын
Hi, I am beginner in powerbi and I am doing transformations of rows to columns but I am having difficulty in achieving it. The raw data (from table) looks something like this: YEAR REGION MEASURE_1 MEASURE_2 2020 ASIA 1 -43 2020 EUROPE 83 23 2020 N. AMERICA 37 32 2020 S. AMERICA -20 21 2019 ASIA 4 74 2019 EUROPE 3213 21 2019 N. AMERICA 32 65 2019 S. AMERICA 76 21 2019 AUSTRALIA 3 85 2018 EUROPE 11 22 2018 N. AMERICA 33 44 2018 S. AMERICA -55 66 2018 AFRICA 77 88 2018 AUSTRALIA 98 111 I want the output to be like this: 2020 2019 2018 REGION MEASURE_1 MEASURE_2 MEASURE_1 MEASURE_2 MEASURE_1 MEASURE_2 ASIA 1 -43 4 74 NULL NULL EUROPE 83 23 3213 21 11 22 N. AMERICA 37 32 32 65 33 44 S. AMERICA -20 21 76 21 -55 66 AUSTRALIA NULL NULL 3 85 98 111 AFRICA NULL NULL NULL NULL 77 88 ANTARTICA NULL NULL NULL NULL NULL NULL Hope you can help me with this.
@juansepowerplatform
@juansepowerplatform 4 жыл бұрын
hello i believe the answer is 3 for live data
@CurbalEN
@CurbalEN 4 жыл бұрын
Thanks ;)
@Amine-p4o
@Amine-p4o 11 ай бұрын
Transpose acts like pivot or unpivot but with no aggregation.
@charugera7654
@charugera7654 4 жыл бұрын
question 2 - answer 4
@CurbalEN
@CurbalEN 4 жыл бұрын
Check the pinned comment to go to the solution :) /Ruth
@salmanlone827
@salmanlone827 4 жыл бұрын
Q2, My answer would be Microsoft Azure SQL Database
@CurbalEN
@CurbalEN 4 жыл бұрын
Thanks :)
@bishwarai
@bishwarai 4 жыл бұрын
Number 4
@elrevesyelderecho
@elrevesyelderecho 4 жыл бұрын
Ehh nope. I Google it and those are not name made up. So, I have doubts about HD Insight, but I am keeping my answer: #4 Azure SQL
@CurbalEN
@CurbalEN 4 жыл бұрын
They should offer Google on those exams....remembering that stuff is nuts!! We will see if 4 is right on Friday ;) /Ruth
@blankpages3881
@blankpages3881 4 жыл бұрын
Azure SQL Database
@kim1217
@kim1217 4 жыл бұрын
4
@theperpetuallyannoyed4074
@theperpetuallyannoyed4074 3 жыл бұрын
Soooop confusing these 3 are... 🤯🤯 Still so confused
@CurbalEN
@CurbalEN 3 жыл бұрын
Oh no! :(
@theperpetuallyannoyed4074
@theperpetuallyannoyed4074 3 жыл бұрын
@@CurbalEN yes 😭😭😭 still split by postion is unclear.... Need desperate help as m starting to learn bi😭 to pivot part is somewhat clear just need practice but split by position is so confusing
@CurbalEN
@CurbalEN 3 жыл бұрын
Don't worry, It took me quite some time too to get it right. What did it for me was practice. Continue practicing and eventually it will fall into place!
@lmereu
@lmereu 4 жыл бұрын
\o/
@CurbalEN
@CurbalEN 4 жыл бұрын
😂😂
@vplin3322
@vplin3322 4 жыл бұрын
4
How and why to Unpivot data with Power Query
16:40
Access Analytic
Рет қаралды 45 М.
Convert Multiple Column Groups to Rows in Power Query
17:18
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
7 Advanced PivotTable Techniques That Feel Like Cheating
16:07
MyOnlineTrainingHub
Рет қаралды 103 М.
Transpose, Unpivot and Pivot in Power Query - Understand the difference
10:21
Subtotal and Column Total in Power Query
20:06
Goodly
Рет қаралды 30 М.
The Excel Tool That Does What PivotTables Can’t (File Included)
13:59
MyOnlineTrainingHub
Рет қаралды 222 М.
3 Methods to unpivot in Excel using Power Query | Excel Off The Grid
11:38
Power Query Unpivot - fix 4 common data layouts (incl. workbook)
19:24
MyOnlineTrainingHub
Рет қаралды 235 М.