APQ11 | Merge Quires - Next Level |Merge | M-Code | Custom Column | Records | Advanced Power Query

Sdílet
Vložit
  • čas přidán 6. 06. 2024
  • #excel #exceltutorial #powerquery #m_code
    ---------------------------------------------------------------------
    Visit the website: www.aaa-power.net
    ---------------------------------------------------------------------
    Chapters:
    0:00 Intro
    2:11 Pricing Criteria example
    4:49 Add Columns to Prepare the tables for the MERGE
    6:29 Perform Left Outer MERGE based on 3 matching columns
    8:36 Extract Max Price without and the expand step (List.Max)
    11:39 Create a RECORD inside a Custom Column (List.Min - List.Average)
    15:46 Table.Sort - List.First - List.Last
    20:27 Close
    ---------------------------------------------------------------------
    To watch the full Playlist
    • Advanced Power Query
    ---------------------------------------------------------------------
    To download the working files:
    drive.google.com/drive/folder...
    ---------------------------------------------------------------------
    To subscribe:
    / @aaaexcelenglish
    ---------------------------------------------------------------------
    To follow on Facebook:
    / excelispower
    ---------------------------------------------------------------------
    To follow on LinkedIn:
    / amratef
  • Věda a technologie

Komentáře • 46

  • @mimiklimberg1257
    @mimiklimberg1257 Před dnem

    Next level!

  • @zahoorsarbandi2982
    @zahoorsarbandi2982 Před měsícem +2

    Believe me! because of your teaching style and wonderful explanation Power Query has become so interesting, easy and simple. Thank you very much.

    • @aaaexcelenglish
      @aaaexcelenglish  Před měsícem

      Thank you so much Zahoor, appreciate your encouragement and support

  • @Bhavik_Khatri
    @Bhavik_Khatri Před 26 dny

    Excellent tutorial. Thank you very much.

  • @boissierepascal5755
    @boissierepascal5755 Před měsícem +1

    Absolutly brillant ! Thanks you for this wonderful demo.🙏🏽

    • @aaaexcelenglish
      @aaaexcelenglish  Před měsícem +1

      Thank you so much, happy that you found it useful

  • @josh_excel
    @josh_excel Před měsícem +1

    Good job, who needs Add Custom Column when you can just make a record and expand it! Well done.

  • @gezin_longuevilleosaer4245

    Very nice, thanks for sharing.

  • @jazzista1967
    @jazzista1967 Před měsícem +1

    HI Amir. Nice to see you back with a new video. Very helpful!

    • @aaaexcelenglish
      @aaaexcelenglish  Před měsícem

      Thank you, happy that you liked it

    • @jazzista1967
      @jazzista1967 Před měsícem

      Amir.. your are a great source for PQ solutions...Please keep the videos coming

  • @EciekPeciek
    @EciekPeciek Před měsícem

    very nice expansion to the columns.

  • @Ypurenete
    @Ypurenete Před 28 dny

    Excellent!! I have an issue like this and now o know how to solve. Thanks a lot.

    • @aaaexcelenglish
      @aaaexcelenglish  Před 27 dny +1

      Most welcome , happy that you found it helpful 👍

  • @datawizibility
    @datawizibility Před měsícem

    Thank you for the wonderful tips...god bless...

  • @UlyssesHaq
    @UlyssesHaq Před měsícem

    Magical, I love it!

  • @ilkercalsr8130
    @ilkercalsr8130 Před měsícem

    This is really inspiring as always. Thanks a lot.

  • @brianxyz
    @brianxyz Před 12 dny

    Very impressive!

  • @JayantShettigar-pt6uo
    @JayantShettigar-pt6uo Před měsícem

    Your all the videos are very informative and amazing.

  • @aliasghar09
    @aliasghar09 Před 29 dny

    Fantastic😊..This is great...

  • @hichamhadj9640
    @hichamhadj9640 Před měsícem

    Genius, much love from 🇩🇿

  • @BestICan
    @BestICan Před měsícem

    Excellent!

  • @jerrydellasala7643
    @jerrydellasala7643 Před měsícem

    Very cool technique. It would be nice to see this done to get the one "correct" price. That is the price on the date of the sale - that is the sale date is less than the max date.

    • @aaaexcelenglish
      @aaaexcelenglish  Před měsícem

      thank you Jerry, i made video APQ12 to show exactly how you get exact price
      czcams.com/video/rQZBORgxg14/video.html

  • @kishorpanara4191
    @kishorpanara4191 Před měsícem

    Excellent dear

  • @DeepakKumar-hs1tq
    @DeepakKumar-hs1tq Před měsícem

    I have a question for you. I am merging the query . After merger done i can see the duplicate entry updated by power query.How to avoid this step and i cannot delete the duplicate entry there are duplicate amounts in another tab

  • @antoniofelez4674
    @antoniofelez4674 Před měsícem

    What if I have a scenarios where I need to bring over a city name instead of price. And the SalesData table has extra products not present in PriceList table. And also on the PriceList table different products can have same city name. So in the end I want to bring over city name to SalesData table, and also get rid of the extra products in SalesData.

    • @aaaexcelenglish
      @aaaexcelenglish  Před měsícem

      Try to change the join kind to inner or right outer, if I understood correctly

  • @pabeader1941
    @pabeader1941 Před měsícem +2

    Here is a challenge for you. Get the price that was in effect when the product was purchased. So you could have a different price for each item, even if they are the same item.

    • @aaaexcelenglish
      @aaaexcelenglish  Před měsícem +2

      This one is much easier, in such a case I would use table.selectrows to filter down the price list for all price before the purchase date, then I would pick the last item using list.last(provided that the price list is sorted properly)

    • @pabeader1941
      @pabeader1941 Před měsícem +1

      @@aaaexcelenglish Oh that is wonderful!!! You are for sure someone that I am going to follow and sub to.