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

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ค. 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
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @josh_excel
    @josh_excel 11 วันที่ผ่านมา +1

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

  • @zahoorsarbandi2982
    @zahoorsarbandi2982 6 วันที่ผ่านมา

    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  5 วันที่ผ่านมา

      Thank you so much Zahoor, appreciate your encouragement and support

  • @jazzista1967
    @jazzista1967 11 วันที่ผ่านมา +1

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

    • @aaaexcelenglish
      @aaaexcelenglish  10 วันที่ผ่านมา

      Thank you, happy that you liked it

    • @jazzista1967
      @jazzista1967 9 วันที่ผ่านมา

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

  • @JayantShettigar-pt6uo
    @JayantShettigar-pt6uo 14 วันที่ผ่านมา

    Your all the videos are very informative and amazing.

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

    Genius, much love from 🇩🇿

    • @aaaexcelenglish
      @aaaexcelenglish  2 วันที่ผ่านมา

      Thank you Hicham, Cairo loves you as well

  • @jerrydellasala7643
    @jerrydellasala7643 14 วันที่ผ่านมา

    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.

  • @datawizibility
    @datawizibility 14 วันที่ผ่านมา

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

  • @ilkercalsr8130
    @ilkercalsr8130 14 วันที่ผ่านมา

    This is really inspiring as always. Thanks a lot.

    • @aaaexcelenglish
      @aaaexcelenglish  14 วันที่ผ่านมา

      My pleasure, thank you for your comment

  • @boissierepascal5755
    @boissierepascal5755 15 วันที่ผ่านมา +1

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

    • @aaaexcelenglish
      @aaaexcelenglish  14 วันที่ผ่านมา +1

      Thank you so much, happy that you found it useful

  • @EciekPeciek
    @EciekPeciek 8 วันที่ผ่านมา

    very nice expansion to the columns.

  • @UlyssesHaq
    @UlyssesHaq 5 วันที่ผ่านมา

    Magical, I love it!

  • @kishorpanara4191
    @kishorpanara4191 15 วันที่ผ่านมา

    Excellent dear

  • @BestICan
    @BestICan 2 วันที่ผ่านมา

    Excellent!

  • @antoniofelez4674
    @antoniofelez4674 14 วันที่ผ่านมา

    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  วันที่ผ่านมา

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

  • @DeepakKumar-hs1tq
    @DeepakKumar-hs1tq 7 วันที่ผ่านมา

    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

    • @aaaexcelenglish
      @aaaexcelenglish  5 วันที่ผ่านมา

      Try inner join kind if it suits your requirements

  • @pabeader1941
    @pabeader1941 14 วันที่ผ่านมา +1

    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  14 วันที่ผ่านมา +1

      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 14 วันที่ผ่านมา +1

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