Transpose, pivot or unpivot in Power Query?

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

ความคิดเห็น • 140

  • @valenmolina
    @valenmolina 2 ปีที่แล้ว +7

    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!!

  • @Tony-uv4pd
    @Tony-uv4pd ปีที่แล้ว +3

    Thank you for the simple explanation. Sometimes, it can get confusing. But this video is a great reference!

  • @kiddwong4186
    @kiddwong4186 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

    This is a very deep concept. Thanks for making it short and straight to the point

  • @imconfused1237
    @imconfused1237 4 ปีที่แล้ว +1

    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

  • @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.

  • @enochs4290
    @enochs4290 ปีที่แล้ว

    Thank you! Just the first examples you showed in the first minute answered my questions!!!

    • @CurbalEN
      @CurbalEN  ปีที่แล้ว +1

      Excellent!

  • @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.

  • @bibekanandabhattacharjee952
    @bibekanandabhattacharjee952 2 ปีที่แล้ว +1

    I understood just the definition. However, thanks @Curbal for igniting the interest in me.

  • @adityapuro5654
    @adityapuro5654 ปีที่แล้ว

    Curbal, your content helped!! Thank You! Keep Growing!

  • @raniakkina4792
    @raniakkina4792 6 หลายเดือนก่อน

    Thank you for explaining things so clearly. This concept always used to confuse me.

  • @skipa9906
    @skipa9906 3 ปีที่แล้ว +2

    Thank you for your explanation. I have a question, what if i just want to take one row and turn it to a column?

  • @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 :)

  • @joat9105
    @joat9105 2 ปีที่แล้ว

    you save my life, my god this is very helpful thank you very much mrs

  • @MANDEEPSINGH-bj9hq
    @MANDEEPSINGH-bj9hq 2 ปีที่แล้ว

    That exactly what I was looking. Thank you!!

  • @ericdowdy3609
    @ericdowdy3609 3 ปีที่แล้ว

    Great explanation on 3 key tools in power query for shaping data! Thanks Ruth!

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      🥳🥳

  • @mikesmith2315
    @mikesmith2315 ปีที่แล้ว

    thankyou for this. The best explanation i have seen.

  • @Gustavo-Santana
    @Gustavo-Santana 4 ปีที่แล้ว +2

    Thanks for the great content :), for Q2 I believe the answer is number 4: Microsoft Azure SQL Database

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว +1

      Thanks Gustavo, I will reveal it on Friday :)

  • @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:)

  • @coolname-pf2xh
    @coolname-pf2xh 2 ปีที่แล้ว

    Excellent. Thank you so much for clearly explaining with concise examples. You rock.

  • @aminzakariah2891
    @aminzakariah2891 4 ปีที่แล้ว +2

    Love your content! Quick and concise

  • @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 :)

  • @64BitTeluguGaming
    @64BitTeluguGaming 2 ปีที่แล้ว

    simple and clean thank you

  • @tianag4627
    @tianag4627 7 หลายเดือนก่อน

    At 4:13 when you removed Change Type, what did you click exactly?

  • @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?

  • @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 ?

  • @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.

  • @rmmccarthy1240
    @rmmccarthy1240 2 ปีที่แล้ว

    Thank you. This has helped me a great deal.

  • @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!

  • @pandianselvaraj9204
    @pandianselvaraj9204 4 ปีที่แล้ว

    Thanks for u
    Yr explanation about transpose, pivot and pivot...
    For Q2 :i choose option 3( Microsoft azure HD insight )

  • @il_han8867
    @il_han8867 3 ปีที่แล้ว

    Hi, you answered the questions I've been looking for for a long time. Thank you very much.

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +1

      My pleasure :)

    • @il_han8867
      @il_han8867 3 ปีที่แล้ว

      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  3 ปีที่แล้ว +1

      It depends on how your data looks like. Post the question in the power bi community and give as many details as possible.

  • @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 ปีที่แล้ว +1

      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

  • @ezharezani5936
    @ezharezani5936 3 ปีที่แล้ว

    Hi Ruth, can I sort the period columns into ascending order? which will show 12 months first

  • @SrishtiTalreja
    @SrishtiTalreja ปีที่แล้ว

    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

  • @vishalgandhi4279
    @vishalgandhi4279 3 วันที่ผ่านมา

    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

  • @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?

  • @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 ?

  • @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.

  • @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

  • @shyamthakur9799
    @shyamthakur9799 4 ปีที่แล้ว

    In May 2020 update... can't find pivot or unpivot options in query editor....
    Can you help me in that??

  • @abhishekstatus_7
    @abhishekstatus_7 4 ปีที่แล้ว

    Thanks for the explanation Ruth !! Really appreciated!!

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว

      My pleasure :)
      /Ruth

  • @EricMKO
    @EricMKO 5 หลายเดือนก่อน

    Just subscribed. Very useful content.

    • @CurbalEN
      @CurbalEN  5 หลายเดือนก่อน

      Welcome!

  • @godfreykiggundu7787
    @godfreykiggundu7787 ปีที่แล้ว

    Thanks alot my dear.

  • @nahidjafar72
    @nahidjafar72 3 ปีที่แล้ว

    OMG this video was amazing!!!! TY SO MUCH!!! Literally saved me so much time

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +1

      Wonderful to hear 👏👏👏

    • @nahidjafar72
      @nahidjafar72 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 ปีที่แล้ว +1

      Knowing that it helps somebody is all I need to keep going, so thanks a million for sharing the feedback 😊

  • @Laxmanmane007
    @Laxmanmane007 4 ปีที่แล้ว

    thanks for clear explanation.

  • @nazirakhan6530
    @nazirakhan6530 4 ปีที่แล้ว

    Hi,Ruth Answer for Q2 is 4.

  • @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 ปีที่แล้ว +1

      Create a function for each csv, that should do it ;)
      /Ruth

    • @dunder64
      @dunder64 4 ปีที่แล้ว

      Ruth, do you mean a function in Power Query?

  • @rkburra
    @rkburra 3 ปีที่แล้ว

    Excellent Video

  • @renatofuenteslespinasse7341
    @renatofuenteslespinasse7341 ปีที่แล้ว

    I love you Curbal, u are the best:))))

  • @YMQ9
    @YMQ9 ปีที่แล้ว

    good video very helpful

  • @SalonValby
    @SalonValby 2 ปีที่แล้ว

    Thank you so much for that help, Keep going WOW

  • @Mooney103
    @Mooney103 11 หลายเดือนก่อน

    Thank u so much for the video

  • @ABG_7
    @ABG_7 3 ปีที่แล้ว

    THANK YOU SO MUCH!

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +1

      🥳🥳🥳

  • @manjunathshenoy2771
    @manjunathshenoy2771 3 ปีที่แล้ว

    Thank you.

  • @andredeoliveira3684
    @andredeoliveira3684 2 ปีที่แล้ว

    you're the best! thank you

  • @raulpinto1963
    @raulpinto1963 4 ปีที่แล้ว

    Saved my day!!! thank you!

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว

      🥳🥳

  • @kalyanbabu6736
    @kalyanbabu6736 3 ปีที่แล้ว

    Thank you mam

  • @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

  • @Ernestofranco80
    @Ernestofranco80 3 ปีที่แล้ว

    love it. Thank you

  • @walidkhlil2872
    @walidkhlil2872 4 ปีที่แล้ว

    Thanks again and again

  • @miltondiaz2531
    @miltondiaz2531 4 ปีที่แล้ว

    Perfecto. gracias

  • @timmytesla9655
    @timmytesla9655 2 ปีที่แล้ว

    Thanks for this

    • @CurbalEN
      @CurbalEN  2 ปีที่แล้ว +1

      Stay tuned for todays video, more on this!

  • @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 ปีที่แล้ว +1

      There is a button in power query where you can promote and demote headers, in the Home tab!

    • @mikem2246
      @mikem2246 2 ปีที่แล้ว

      @@CurbalEN 🧐

  • @DHPDHPDHPDHP
    @DHPDHPDHPDHP ปีที่แล้ว

    You are the Best I love yours videos!!!! Jújú

  • @harithalluri8174
    @harithalluri8174 2 ปีที่แล้ว

    dataset how to download

  • @sandratorres1612
    @sandratorres1612 ปีที่แล้ว

    Gracias !!!!

    • @CurbalEN
      @CurbalEN  ปีที่แล้ว

      Un placer :)

  • @badreddinemachkour3643
    @badreddinemachkour3643 4 ปีที่แล้ว

    thanks a lot !!! very helpful !!

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว +1

      Wonderful to hear :)
      /Ruth

  • @arulmanohar
    @arulmanohar 2 ปีที่แล้ว

    Great!

  • @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

  • @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 ?

  • @jjpk80
    @jjpk80 2 ปีที่แล้ว

    Good entertainment :-D !!!

  • @nickdoy7019
    @nickdoy7019 4 ปีที่แล้ว

    SQL as you would need the ability to query the source dataset rather than store the data in Power BI.

  • @juansepowerplatform
    @juansepowerplatform 4 ปีที่แล้ว

    hello i believe the answer is 3 for live data

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว

      Thanks ;)

  •  4 ปีที่แล้ว

    The correct answer is 4...you have to use SQL for live query

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว

      Thanks :)
      /Ruth

  • @jhampiercito
    @jhampiercito 4 ปีที่แล้ว

    option 4

  • @flickers29
    @flickers29 4 ปีที่แล้ว

    Option 4: Microsoft Azure SQL Database

  • @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.

  • @charugera7654
    @charugera7654 4 ปีที่แล้ว

    question 2 - answer 4

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว

      Check the pinned comment to go to the solution :)
      /Ruth

  • @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.

  • @Rishi_CA
    @Rishi_CA 4 ปีที่แล้ว

    1st! And great topic 👌🏼

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว

      You are ;)
      Do you have an answer for the quiz?
      /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 ปีที่แล้ว +1

      They should offer Google on those exams....remembering that stuff is nuts!! We will see if 4 is right on Friday ;)
      /Ruth

  • @tobibell2418
    @tobibell2418 ปีที่แล้ว

    Slightly convoluted.

  • @Amine-p4o
    @Amine-p4o 8 หลายเดือนก่อน

    Transpose acts like pivot or unpivot but with no aggregation.

  • @blankpages3881
    @blankpages3881 4 ปีที่แล้ว

    Azure SQL Database

  • @vplin3322
    @vplin3322 4 ปีที่แล้ว

    4

  • @lmereu
    @lmereu 4 ปีที่แล้ว

    \o/

    • @CurbalEN
      @CurbalEN  4 ปีที่แล้ว +1

      😂😂

  • @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!

  • @kim1217
    @kim1217 4 ปีที่แล้ว

    4