Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How does the M language help us in Power BI ?

Hello,

My manager wants me to learn the M language thinking it could help us with Power BI but so far

I cannot really think of a situation where I have to use the M language when importing data.

 

Can someone please tell me a few scenarios where either I have to use it or the M makes tasks a lot easier than other methods ?

 

Thanks in advance

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

The graphical interface is good, in fact its better than most visual programming languages that i've used.  It only gets you so far though.  There are many occasions where you simply need to pop the hood and write code yourself because the interface is limited.  I'm always using a combination of both to resolve challenges that present themselves.

 

Skills are a toolbelt.  Some tools have overlapping uses, but that doesn't invalidate their need or usefulness.  Any good craftsman relies on have the right tools for the job when the time comes.  Deliberatly leaving out a good tool will only hurt you in the long run.  Forcing yourself to simply use what is comfortable will lead you down a path of completing work that you won't be happy with and will create problems where problems don't need to exist.  "When all you have is a hammer, every problem looks like a nail".

 

View solution in original post

5 REPLIES 5
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Have you solved the confusion with the help?

 

If you have understood the help of M language in Power BI, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

From a best practise perspective, M should be used wherever possible instead of creating calculated columns.  If you have a desire to create large complex projects, understanding M will be invaluable for optimising your model.

Anonymous
Not applicable

 


@Anonymous wrote:

From a best practise perspective, M should be used wherever possible instead of creating calculated columns.  If you have a desire to create large complex projects, understanding M will be invaluable for optimising your model.


 

But that can be done graphically in the Query Editor screen, there is no need to write the code by yourself

Anonymous
Not applicable

The graphical interface is good, in fact its better than most visual programming languages that i've used.  It only gets you so far though.  There are many occasions where you simply need to pop the hood and write code yourself because the interface is limited.  I'm always using a combination of both to resolve challenges that present themselves.

 

Skills are a toolbelt.  Some tools have overlapping uses, but that doesn't invalidate their need or usefulness.  Any good craftsman relies on have the right tools for the job when the time comes.  Deliberatly leaving out a good tool will only hurt you in the long run.  Forcing yourself to simply use what is comfortable will lead you down a path of completing work that you won't be happy with and will create problems where problems don't need to exist.  "When all you have is a hammer, every problem looks like a nail".

 

I agree with @Anonymous

 

There will come a time when having to go into the M Code will mean you have to understand how it works. There are over 900 M Functions that exist.

 

Along with that, with the new CDS-A that is coming you can leverage your M skills when importing data into CDS-A





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.