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 - วิทยาศาสตร์และเทคโนโลยี
Good job, who needs Add Custom Column when you can just make a record and expand it! Well done.
Thank you 🙏
Believe me! because of your teaching style and wonderful explanation Power Query has become so interesting, easy and simple. Thank you very much.
Thank you so much Zahoor, appreciate your encouragement and support
HI Amir. Nice to see you back with a new video. Very helpful!
Thank you, happy that you liked it
Amir.. your are a great source for PQ solutions...Please keep the videos coming
Your all the videos are very informative and amazing.
Thank you so much
Genius, much love from 🇩🇿
Thank you Hicham, Cairo loves you as well
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.
Thank you for the wonderful tips...god bless...
Most welcome dear
This is really inspiring as always. Thanks a lot.
My pleasure, thank you for your comment
Absolutly brillant ! Thanks you for this wonderful demo.🙏🏽
Thank you so much, happy that you found it useful
very nice expansion to the columns.
Thank you 🙏
Magical, I love it!
Thank you 🙏
Excellent dear
Thank you 🙏
Excellent!
Thank you 🙏
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.
Try to change the join kind to inner or right outer, if I understood correctly
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
Try inner join kind if it suits your requirements
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.
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)
@@aaaexcelenglish Oh that is wonderful!!! You are for sure someone that I am going to follow and sub to.