Forum Discussion
Dax or M Language
- 9 years ago
You emphasized Data Analysis twice in your post so I'll say DAX first!
DAX stands for Data Analysis Expressions after all :smileyhappy:
That said inevitably you WILL need some knowledge of M
However the User Interface in the Query Editor is extremely helpful so you can delay having to learn M indefinitely :smileywink:
Don't let ImkeF and MarcelBeug see this post :smileyvery-happy:
- 9 years ago
Check out this article fresh from the press: http://radacad.com/m-or-dax-that-is-the-question
Agree with Sean : Make use of the wonderful user interface in the query editor which let's you glide into the language with minimal efford, if you start to read the code that has been created with your interactions:
1) Make sure that the Formula Bar is visible (2)
3) Click on each stepname and see what code has been generated (2)
It's a bit like the Macro-recorder in Excel. It's a painless excercise at the beginning and you will develop a feeling for the syntax of the language and in no time you might start to twitch the code a bit and explore coding :-)
- Anonymous9 years ago
Hi AAbdelkader
I totally agree with ImkeF and Sean.
My advise to my team is simple:
- import and massage data by using Power Query aka M in Power BI.
- Create your calculation with DAX.
By learning Dax and M you will learn to find the nuances and intersections in the two languages.
Not much to add from my side.
The general rules when to use M or DAX are clearly explained, but in my opinion there are still grey areas where both M and DAX can be used.
I reckon where there is overlap and it can be done both in DAX or M, then do it in M.
The less computing the published model has to do the better.