How to expand your knowledge on M?

Hi everyone,

Now and again the question is raised on the forum on how to learn more about M. Tips for other online resources, books, video’s and so on. To centralize all these bits and pieces of information @BrianJ rightfully suggested to post it here and make it easier for anyone to find and contribute :+1:
.

My ‘general’ Best practices for how to expand your knowledge on Power Query M are:

  1. Make sure to have the Formula Bar visible in Power Query at all times. That way you can see the M code that’s generated by the UI and get you more familiar with it’s syntax.
  2. Formula Language Specification Describes the structure of the language. Make a habit of revisiting it after you’ve practiced for some time - things will start to make more sense…
  3. Formula Reference Bookmark this page. All functions with their specs. Read them, copy the example codes, paste it into the formula bar or advanced editor and study the results :wink:
  4. The Standard Library in Power Query itself which lists all built-in functions:
    #shared keyword can be used to list all the functions available and
    a function name without brackets can be entered to see it’s documentation
  5. Introduction to M an hour long video by Chris Webb, a must see in my opinion!
  6. Practice, practice, practice. Probably the most important thing when learning something new.
    .

Books
For a practical approach: “Collect, Combine And Transform Data Using Power Query In Excel And Power BI” by Gil Raviv

YouTube
Mike excelisfun Girvin Power Query (Get & Transform) Video Playlist
Oz de Solei Get and Transform (Power Query)

Blogs
Chris Webb https://blog.crossjoin.co.uk/
Imke Feldmann https://www.thebiccountant.com/
Ken Puls https://www.excelguru.ca/blog/
Gil Raviv https://datachant.com/

.
If you have something to add, please share it with this community by replying to the tread.
Thank you!

.

Personal note.
Just like in Excel or with DAX there are often multiple ways to solve a problem and the same is true for Power Query. At the moment I like to use the UI as much as possible and only modify the M code when I need to. That way I hardly ever have to write M and that makes it easier to follow along.
But remember, there are alternatives - so don’t forget to explore on your own and report back.
:wink:

7 Likes

Marking the thread as solved.

thanks for great contribution

@Melissa,

Thanks – terrific list. Here are a few more resources that I’ve found very useful:

Blogs
Ben Gribaudo https://bengribaudo.com/

Books
“M Is for Data Monkey” by Ken Puls and Miguel Escobar
“Magic Tricks for Data Wizards” by Ken Puls and Miguel Escobar (free for download here)

  • Brian
1 Like

@BrianJ

Thanks for adding “M Is for Data Monkey” by Ken Puls and Miguel Escobar in the list. Just let you know, the new e-book of the above mentioned book have already released. Though this time they have changed the book name.

Books
“Master Your Data with Excel and Power BI” by Ken Puls and Miguel Escobar

You can find more information from the following link:

2 Likes

@rais,

Excellent addition/update - thanks!

I’m still an old-school, hard copy guy for all my Power BI/data science reference books, so I haven’t gotten the updated version yet, since I think the paperback won’t be available in the U.S. until Nov. 1st.

Would love to hear from you and others who have the updated version how it compares to “M is for Data Monkey”.

  • Brian

@BrianJ

You are absolutely right. Hardcopy will be published on 1st November,2021. This is my personal opinion, Ken and Miguel wrote the best book for Power Query and second edition will not disappoint you. They have updated many topics.

Worth for your library.

@Rais ,

Thanks! - can’t wait to get it. Currently, Gil Raviv’s “Collect, Combine and Transform Data Using Power Query” is the first PQ/M book off my shelf, but sounds like this will be a worthy competitor.

  • Brian

Reza Rad and Leila Etaati from RADACAD recently published these.
Book 1 of 2: The Definitive Guide to Power Query in Power BI and Excel.

Don’t have them myself but if you do, please leave your findings in this thread…
Thanks!

Here is a link to Chris Webb’s blog post from yesterday. He recommends several books in the blog.

Thanks
Jarrett

3 Likes

@JarrettM ,

Thanks! - I saw that blog entry yesterday too. The Power Query Cookbook looks like a winner to me. I’ve already got that one on pre-order, since it doesn’t come out until Oct 15. (Will also look cool on my shelf next to Greg Deckler’s DAX Cookbook):

https://www.amazon.com/Power-Query-Cookbook-effective-Dataflows/dp/1800569483/ref=sr_1_3?crid=3FZVWHYKA04KZ&dchild=1&keywords=power+query+cookbook&qid=1632756173&sprefix=power+query+cook%2Caps%2C208&sr=8-3

Re: Soheil Bakshi’s Data Modeling book that Chris also cites in the blog, I reviewed that one in this post below (spoiler: it’s outstanding)

  • Brian
1 Like

I’ve got the Power Query Cookbook on pre-order also, looking forward to it.
Also purchased Soheil Bakhshi’s book, working my way through it, very good indeed.

Here’s my add on “How to expand your knowledge on M?” Hope you like it.

1 Like