Create a Basic Custom Function in Power Query

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 73

  • @rachaelhanna8523
    @rachaelhanna8523 6 лет назад +4

    This is the best explanation of a custom function I have found

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi Rachael Hanna, glad you liked it, thanks for commenting!

    • @ExcelWithChris
      @ExcelWithChris 4 года назад

      Agree. Can we have more on just functions?

  • @XxparrotBobxX
    @XxparrotBobxX 7 лет назад +2

    Doug, this is perfect for automating repetitive tasks. i.e. I typically pull data from SQL, the date is formatted yyyymmdd, and I have to reformat as mm/dd/yyyy. Thank you!

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi Angel Sanchez...you're welcome, glad you liked!

  • @williamarthur4801
    @williamarthur4801 2 года назад

    Really good intro as for creating one using M , up to now I've only performed the actions and then changed the code in the editor to make a function, so here I've learnt something new.

  • @nanipandu143
    @nanipandu143 4 года назад

    Explained very clearly.. I just started Working on power queries..this is like a kick starter.. thanks a lot

  • @chisasukelover1
    @chisasukelover1 3 года назад

    I finally understand what this does. And Im excited. Hope it works for my Margin thing Im doing. Even if it doesnt, Im still happy to understand now

    • @DougHExcel
      @DougHExcel  3 года назад

      Thanks A McDonald, glad it helped!

  • @다비드-u3y
    @다비드-u3y 3 года назад

    Hello. Thank you very much for the wonderful video. I have one question. Is there any way to make the query table automatically pull data from a value in a new row?

    • @DougHExcel
      @DougHExcel  3 года назад

      It can. What’s your specific use case?

  • @jmo6688
    @jmo6688 2 года назад

    I have tons of functions, where I can export them for store or to be used or called from other excel book?

  • @fionamehta7381
    @fionamehta7381 6 лет назад +1

    Really easy to follow, excellent presenter, thank you for this example.

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi Fiona Mehta, glad you liked it, thanks for commenting!

  • @angelcalaguas4464
    @angelcalaguas4464 3 года назад

    Hi Doug,
    Can I use a list item using Invoke Custom Function? or do I need to convert the list item to a column first?

  • @duncanwil
    @duncanwil 4 года назад

    Very good! Let me admit that I forgot to add => at the end of the Let statement and that helped me to waste 15 minutes before I found out!

  • @makisalimhussain2334
    @makisalimhussain2334 3 года назад

    Nice and simple approach.
    Thanks

  • @Juan-Hdez
    @Juan-Hdez 8 месяцев назад

    Very useful. Thank you!

    • @DougHExcel
      @DougHExcel  8 месяцев назад

      Glad it was helpful!

  • @tomekkomar6313
    @tomekkomar6313 6 лет назад +1

    Super simple, clear and everything is clear. Really the essence. True. I'm impressed !!!

  • @simoncox4788
    @simoncox4788 Год назад

    Excellent Tutorial thank you

  • @MrKirankissan
    @MrKirankissan 6 лет назад

    A perfect example to get introduced to Custom Functions. Thank you

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi Kiran Kissan...you're welcome, glad you liked!

    • @devonmarshall2330
      @devonmarshall2330 3 года назад

      sorry to be so off topic but does anyone know a method to log back into an instagram account?
      I was stupid forgot my login password. I would love any assistance you can give me

    • @archieronin8619
      @archieronin8619 3 года назад

      @Devon Marshall instablaster :)

    • @devonmarshall2330
      @devonmarshall2330 3 года назад

      @Archie Ronin I really appreciate your reply. I got to the site thru google and I'm trying it out now.
      I see it takes a while so I will get back to you later with my results.

    • @devonmarshall2330
      @devonmarshall2330 3 года назад

      @Archie Ronin It worked and I finally got access to my account again. I'm so happy!
      Thanks so much you really help me out !

  • @stephenphan2761
    @stephenphan2761 5 лет назад

    Wonderful lesson, Doug.
    How can we do Sales comparision this year vs last year by customer when we have dynamic sales revenue line by line by date. By Pivot in excel we can get tabular sheet by year in columns already but I want to see % growth by customer during the year. Ridiculously every one can do manually by copy into value and just use cell divided by cell!!!
    THANKS

    • @DougHExcel
      @DougHExcel  5 лет назад

      you might want to look into Power Pivot DAX function CALCULATE --> ruclips.net/video/4x7dLUf1-sI/видео.html

  • @vhjaimes
    @vhjaimes 7 лет назад

    Very helpful Doug. Thank you!

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi Victor Jaimes...you're welcome, glad you liked!

  • @tonytan7873
    @tonytan7873 7 лет назад

    so great! looking forward to advanced one. thx

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi Tony Tan, thanks for the comment!

  • @odel_leal
    @odel_leal 4 года назад

    Thank you for your help.

  • @badminton4life99
    @badminton4life99 2 года назад

    Good video!
    How do I remove dash hyphen left or right of a letter, but not between numbers?
    00-CM-00-12
    00-C-M00-12
    00CM-00-12
    After transformation
    00CM00-12
    Thanks

    • @DougHExcel
      @DougHExcel  2 года назад

      Try extract text>> Extract Text in Power Query
      ruclips.net/video/t8HpT9P-rig/видео.html

  • @vinodkumarsingh1920
    @vinodkumarsingh1920 4 года назад

    This is the best for knowledge of the excellent.

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi Vinod Kumar Singh, thanks for the comment!

  • @dflychem
    @dflychem 5 лет назад

    Worthwhile!

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Hisaharu Shima, thanks for the kind words!

  • @wongjennifer5815
    @wongjennifer5815 6 лет назад

    Hi Doug, may i know is there any way to Transpose the Data Based on Non- Repeating Pattern in a Column in Power Query? Because I've tried your way to do it but I realised that my group of data column there are some repeating in 4 rows, some in 5 rows... so i have no choice to use ur way to do it.... please help ....

    • @DougHExcel
      @DougHExcel  6 лет назад +1

      Hopefully there is a value in the end of your 4 or 5 groupings that you can make it stand out (like a zip code that is always 5 digits). Then you can create a helper column to mark those groupings. Then separate them into a list of data that is a 4 grouping and one that is a five grouping to do the transposition.

    • @wongjennifer5815
      @wongjennifer5815 6 лет назад

      But there is a question, may i know how do I separate the group for 4 row data and 5 row data? is there any video to show that so I can easily to separate the grouping? Because I had inserted the blank row by using helper column for all 3889 row data and turn it into 22454 row data....

    • @wongjennifer5815
      @wongjennifer5815 6 лет назад

      Hi Doug.... could you please help me....

  • @rohinibharti9727
    @rohinibharti9727 4 года назад

    So I see this is from 2017, has there been updates to do the same operation faster?

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi Rohini Bharti, thanks for the comment! Haven't tested lately for speed but will look into it.

  • @jdmxxx38
    @jdmxxx38 4 года назад

    A practical foray into a complex task. Nice job. Thanks for your effort.

  • @SwapperTheFirst
    @SwapperTheFirst 7 лет назад +1

    Excellent stuff, very practical (compared to Brian's), though he is a great explainer too.

    • @DougHExcel
      @DougHExcel  7 лет назад

      Hi Vyacheslav G, glad you liked it, thanks for commenting!

  • @rosabb4310
    @rosabb4310 4 года назад

    Thank you!

  • @stevennye5075
    @stevennye5075 4 года назад

    very useful!

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi Steven Nye, thanks for the comment!

  • @Meolimo
    @Meolimo 5 лет назад

    tks again Doug :-)

  • @vkas6608
    @vkas6608 2 года назад

    it shows error..

  • @OzduSoleilDATA
    @OzduSoleilDATA 7 лет назад

    I like this.

  • @thomasschneider9071
    @thomasschneider9071 6 лет назад

    Helped 👍

    • @DougHExcel
      @DougHExcel  6 лет назад

      Hi Thomas Schneider, glad you liked it, thanks for commenting!

  • @jmo6688
    @jmo6688 2 года назад

    Why we want learn new harder way to do the same things? To view on-line ad for free?

  • @rrrraaaacccc80
    @rrrraaaacccc80 2 года назад

    💯👍

  • @rajeshbadola4728
    @rajeshbadola4728 2 года назад

    Simplified version of complicated task....