Power Query Advanced Editor - Pro Tips Made Easy

  Рет қаралды 174,720

MyOnlineTrainingHub

MyOnlineTrainingHub

Күн бұрын

Power Query's Advanced Editor isn't just for Pros. In this video we demystify the advanced editor so anyone can feel comfortable modifying and writing Power Query M code. Includes creating variables, custom functions and commenting code.
0:00 Introduction
1:22 M Code Structure & Editing
4:07 Creating Variables
5:33 Using Variables in Custom Columns
10:26 Commenting Code
11:54 Writing Functions
Learn Power Query here: www.myonlinetraininghub.com/e...
View our comprehensive courses: www.myonlinetraininghub.com/
Connect with Mynda on LinkedIn: / myndatreacy

Пікірлер: 101
@dougmphilly
@dougmphilly 2 жыл бұрын
I received a spreadsheet with a power query but it only looked up one year and one corporate division. The provider received the spreadsheet from our IT department and I would have to wait for him to submit a revision request. Dude, just edit the code. Opened the advanced editor found what I needed to change, and the query now works for my needs. IT was like in shock that someone not from IT could do this. Who needs MIT or Cal Tech when I have Mynda.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thanks Doug, glad this was useful for you.
@morris5984
@morris5984 2 жыл бұрын
Wow. This is one of the most helpful power query videos I have seen yet. Thank you for sharing!!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
You're welcome Bryan.
@nadeemrajabali7839
@nadeemrajabali7839 2 жыл бұрын
I have used advance editor sometimes, but never knew that we can create steps in between that can be called in custom columns or later in the code. Well done, great work.
@Raymclau
@Raymclau 2 жыл бұрын
Wow this is the best Advance editor Video i have found yet Thank you very much first to you Mynda for this exceptional Chanel and also to Phillip for these very clear tips
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Wow, thank you, Raynald!
@rjbjajjjmj1
@rjbjajjjmj1 2 жыл бұрын
EXCELLENT!! Really, very helpful. Thanks a ton!
@YouExcelTutorials
@YouExcelTutorials 2 жыл бұрын
Great tutorial and well paced! Thanks for sharing Phil and Mynda!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
You're welcome
@chrism9037
@chrism9037 2 жыл бұрын
This was really great, thanks Mynda!
@taylanyuksek2844
@taylanyuksek2844 11 ай бұрын
Brilliant video! Short, precise and adds a lot of value to a person who is looking for ramping up his/her PQ skills.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 11 ай бұрын
Glad you enjoyed it!
@aikkee
@aikkee 2 жыл бұрын
Great tutorial on the M syntax. The key features of assigning variables and writing simple functions is very handy. Thank you for creating this video.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
No worries Aik.
@javiercabello3573
@javiercabello3573 2 жыл бұрын
This was great ! Thanks! hopefully you can do more videos of this kind with main focus on Functions. 👍👍
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thanks Javier, I'll make as note in my blog post/video plans to do more like this. Phil
@wayneedmondson1065
@wayneedmondson1065 2 жыл бұрын
Great video! Thanks for this more advanced look under the hood with the Advanced Editor. Very helpful :)) Thumbs up!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thx Wayne
@JSUG4219
@JSUG4219 2 жыл бұрын
Excellent tutorial. Please, please teach us more about advanced M coding!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
OK Jack, check out more of my vids on PQ. I cover a lot of advanced ideas there.
@z.719
@z.719 Жыл бұрын
Great video! Learned a lot tricks that didn't know before.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad to hear it!
@shoaibrehman9988
@shoaibrehman9988 2 жыл бұрын
Epic tutorial Phil, superb video. Please continue this type of knowledge. Thanks a lot
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thx Shoaib, I'll try to do more videos like this
@darrylmorgan
@darrylmorgan 2 жыл бұрын
Hi Mynda!Great Explanation Of The Advanced Editor Big Thumbs Up To Phil...Thank You Both :):)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
You're welcome Darryl
@tedpetito387
@tedpetito387 2 жыл бұрын
Thanks, very useful information of which I was not previously aware.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Glad to help Ted
@alexrosen8762
@alexrosen8762 2 жыл бұрын
Super useful tutorial and quite rare. More tutorials like these please :-)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thx Alex.
@masterboxxx
@masterboxxx Жыл бұрын
really the best one who explain things
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thanks for your kind words, Ahmed!
@mattschoular8844
@mattschoular8844 2 жыл бұрын
Very good overview. Thanks Phil
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
No worries Matt
@BrainyBrunetteBarbie
@BrainyBrunetteBarbie 2 жыл бұрын
The Advanced Editor is awesome…I absolutely love it. This was super helpful, thank you! Mynda, I know you like your Excel-themed T-shirts…Phil should wear one here that says let Advanced Editor in
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
😁 Great idea!
@craigbeuthin4299
@craigbeuthin4299 2 жыл бұрын
Fantastic, really needed that.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thx Craig
@jengiuliano1143
@jengiuliano1143 2 жыл бұрын
Excellent tutorial!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Glad you liked it, Jen!
@chukwumanwankwo92
@chukwumanwankwo92 2 жыл бұрын
Love it!!. Interesting thing about adding a list in advanced editor. This means it might be possible to refer to an external dataset as a list or even a dynamic web page (possibilities seem endless)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Absolutely!
@shrikantbadge3978
@shrikantbadge3978 10 ай бұрын
Thanks m gonna finish this playlist soon
@MyOnlineTrainingHub
@MyOnlineTrainingHub 10 ай бұрын
Great to hear 👏
@elecirlisboa9155
@elecirlisboa9155 2 жыл бұрын
Excelente aula, parbéns!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thx Elecir
@hamidsh4789
@hamidsh4789 2 жыл бұрын
Excellent...Thank you...
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
My pleasure :-)
@juja2819
@juja2819 2 жыл бұрын
Thank you :)
@kennethstephani692
@kennethstephani692 Жыл бұрын
Great video!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you enjoyed it, Kenneth!
@TGithinji
@TGithinji 2 жыл бұрын
Great stuff
@Bondoz007
@Bondoz007 5 ай бұрын
Thanks - excellent!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Thank you! Glad you liked the video 😊
@nazarkamal8831
@nazarkamal8831 7 ай бұрын
Finally my some doubts has cleared thanks 🙏🙏🙏🙏👍👍
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
Glad to hear that 😊
@Fxingenieria
@Fxingenieria 2 ай бұрын
Excellent !!!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 ай бұрын
Many thanks!!
@GrainneDuggan_Excel
@GrainneDuggan_Excel 2 жыл бұрын
Very clear and I formative. Thanks Phil! I hope you are going to offer an advanced MCode course on MOTH. Sign me up now!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thx Grainne. I'll add a M Course to our To Do List.
@JonathanExcels
@JonathanExcels 2 жыл бұрын
Good information
@BjornK75
@BjornK75 2 жыл бұрын
Thanks for the superb tutorial. Is it feasible to use power query to do some of the basic calculations rather than relying on DAX? Which is more processing power efficient?
@a436076
@a436076 2 жыл бұрын
Hi, general rule of thumb is data manipulation = PQ, calculations = DAX. There are articles on some PBI sites which explain the performance related aspects
@thebhaskarjoshi
@thebhaskarjoshi 2 жыл бұрын
Super advanced tutorial
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Glad you think so!
@user-nk9ew1eg8o
@user-nk9ew1eg8o 2 жыл бұрын
Great sharing , while I do have one inquiry, I just encountered "Total wasn't recoginized xxx" message when I added same custom column as video, any advice?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Hard to say without seeing your file. You're welcome to post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum
@Giovanni-vx8xl
@Giovanni-vx8xl 2 жыл бұрын
Thanks for sharing. Do u have a video about DAX for Power Bi? Thanks
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
DAX is a huge topic which I cover in my Power Pivot course: www.myonlinetraininghub.com/power-pivot-course
@Seftehandle
@Seftehandle 2 жыл бұрын
Great tutprial!! What does => mean in the let result in part at the end?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
The => is part of the function declaration and indicates that the steps following it form the function code.
@williamarthur4801
@williamarthur4801 Жыл бұрын
Thanks, love anything to do with custom functions and advanced editor, but I do get in a mess with multiple nested let and in statements, the sort of thing is where I need; let xxxxx in let xxxx in, or let xxx let xxx in x in y , if that makes sense.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Nested LETs can be tricky.
@paoloscano7897
@paoloscano7897 2 жыл бұрын
Hi Mynda. Thank you very much for your videos. They are extremely helpful. I wonder if you could help with a problem. I am not able to connect an excel worksheet to an Access dB protected with password. I have tried different ways to no avail. Can you make a video about it? I looked for solutions over the internet finding none. Thanks in advance.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
There's no workaround here. You need to unprotect the Access DB.
@paoloscano7897
@paoloscano7897 2 жыл бұрын
@@MyOnlineTrainingHub I was afraid of that. Thank you.
@paoloscano7897
@paoloscano7897 2 жыл бұрын
@@MyOnlineTrainingHub I think I have just found a possible solution. Lucky strike I suppose. I first established a connection with an unencrypted db. Then I edited the connection adding the password and deleting what I guessed was inappropriate (password = "" etc).Here in after the lines. Please double check me. Thank you. Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\RamsesII\Documents\dbMobili.accdb;Mode=Share Deny None;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database Password=prova;Jet OLEDB:Engine Type=6;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False;Jet OLEDB:Support Complex Data=False;Jet OLEDB:Bypass UserInfo Validation=False;Jet OLEDB:Limited DB Caching=False;Jet OLEDB:Bypass ChoiceField Validation=False
@paoloscano7897
@paoloscano7897 2 жыл бұрын
PS i also changed the db path with the password protected db. It works.
@7213261
@7213261 2 жыл бұрын
Thanks a lot! Please make more Advanced Editor`s video!)😀
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
OK Sergey, I'll try!
@sunderjangraharsvikawoods2259
@sunderjangraharsvikawoods2259 2 жыл бұрын
nice
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Glad you liked it 😊
@loupasternak
@loupasternak 2 жыл бұрын
so far 370 likes and 1 downvote from an IT guy who fears for his job. ;-) Another excellent tutorial !
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Thanks Lou
@naveen200848
@naveen200848 2 жыл бұрын
Thanks how can i get the percentage of subtotals like apple, banana etc
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Hi Naveen, you can group the rows based on the Top Product, using Sum as the aggregate for the Amount column. Then add a new custom column diving the new Sum by the Total #"Grouped Rows" = Table.Group(#"Added Custom2", {"Top Product"}, {{"Sum", each List.Sum([Amount]), type nullable number}}), #"Added Custom3" = Table.AddColumn(#"Grouped Rows", "Custom", each [Sum] / Total) Regards Phil
@naveen200848
@naveen200848 2 жыл бұрын
@@MyOnlineTrainingHub so tnank you
@stormingorman5
@stormingorman5 2 жыл бұрын
When you create the "Total" Variable and then divide each line by that total.. how do I create a total for a specific category? For instance if I have Group A with several items in Group B underneath group A, how do I total all of B and reflect that total for Group A? And then reflect each item in Group B as a percentage of Group A? Will provide data if anyone is able to help.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Please post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum
@karunakargm4139
@karunakargm4139 2 жыл бұрын
I want to learn power query and power pivot...like beginner to expert
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Hi, we've got courses on both www.myonlinetraininghub.com/excel-power-query-course www.myonlinetraininghub.com/power-pivot-course Regards, Phil
@tedmoy
@tedmoy 2 жыл бұрын
Great information, but not really that easy to understand. I wish I had learned this in college, but when I was in college, Excel was just coming out :(
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Everything becomes easier the more you're familiar with it. Perhaps you'll find this introduction to Power Query a good place to start: kzbin.info/www/bejne/gmWlpoiwmMh_ptE
@physicsmostafa1774
@physicsmostafa1774 Жыл бұрын
what is wrong with the good old SQL, why did microsoft had to invent {M} and DAX ?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
I don't know, but I'd say they had a good reason 😉
@user-ty8wu1xd2d
@user-ty8wu1xd2d 2 жыл бұрын
You can speak in an Iraqi ☺️
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Sorry, I'm afraid not.
@user-ty8wu1xd2d
@user-ty8wu1xd2d 2 жыл бұрын
Okay🙃💔
@julieernst3942
@julieernst3942 2 жыл бұрын
Eeekk, advanced editor is very intimidating 😧
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 жыл бұрын
Hi Julie, once you get a basic understanding of the code i.e. the steps, step naming conventions etc, it all starts to fall into place. Take a few small steps (no pun intended) modifying/writing your own M code and you'll gain confidence. You can then start to use functions to do some really cool stuff. Even write your own functions.
10 Excel Formulas That Will Set You Apart (Cheat Sheet)
18:04
MyOnlineTrainingHub
Рет қаралды 212 М.
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 105 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,3 МЛН
6 Excel Tools Most Users Never Think to Use (Files Included)
12:34
MyOnlineTrainingHub
Рет қаралды 115 М.
Power Query - Faster & Easier Parameters
13:38
BCTI
Рет қаралды 34 М.
Mimic a SWITCH function in Power Query using Record.FieldOrDefault
10:15
10 Excel Things You Should NEVER Do and What to do Instead
12:34
MyOnlineTrainingHub
Рет қаралды 587 М.
PivotTable Tricks That Will Change the Way You Excel (Free File)
17:47
MyOnlineTrainingHub
Рет қаралды 113 М.
How to easily automate boring Excel tasks with Power Query!
17:10
MyOnlineTrainingHub
Рет қаралды 1,5 МЛН
High-Income Excel Skills Worth Learning in 2024 (Free File)
29:19
MyOnlineTrainingHub
Рет қаралды 330 М.
APQ15 | How "each" & "_" work? | Advanced Power Query
22:54
ِAAA Excel English
Рет қаралды 1,6 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,9 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,7 МЛН
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 6 МЛН