Download presentation
Presentation is loading. Please wait.
Published byIrwan Lesmana Modified over 5 years ago
1
Playing with (M)agic: Introduction to Writing M Code in Power BI
Justin Mannhardt Playing with (M)agic: Introduction to Writing M Code in Power BI
2
Thanks to our GOLD Sponsor
3
Thanks to our SILVER Sponsors
4
Justin Mannhardt SQL Data Warehousing SSAS Tabular / Power BI Training
5/14/2019 8:57 PM Justin Mannhardt SQL Data Warehousing SSAS Tabular / Power BI Training Co-Development Advisory Services © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
Introduction to writing M code in Power BI
Poll the room: SQL Pro’s Excel Pro’s Responsibility for Data / Analytics / BI Considering or Actively Adopting Power BI Has used PowerQuery Playing with (M)agic Introduction to writing M code in Power BI
6
Quick Overview Power Query
7
What is Power Query? “Power Query is the Microsoft Data Connectivity and Data Preparation technology that enables business users to seamlessly access data stored in hundreds of data sources and reshape it to fit their needs, with an easy to use, engaging and no- code user experience.” Official Microsoft Documentation Or more simply, a easy to use ETL tool, available natively in Power BI.
8
What is M? “The Power Query M formula language is optimized for building highly flexible data mashup queries. It's a functional, case sensitive language similar to F#. “ Official Microsoft Documentation m/power-query-m-reference
9
Where is Power Query / M? Perhaps, more importantly, WHERE is M.
Create an animation for each App, to cycle through with your clicker Power Query technology is a cornerstone of the “citizen developer” strategy within the Microsoft platform. We will continue to see it in more places. Capability = Responsibility
10
Who should learn? Who should can learn? Data Engineers / Architects
Business Analysts Data Engineers / Architects Developers … anyone trying to use data to create value
11
Why should you learn? The “Data Reality” demands this skill
One ETL language, 100’s of Data Sources Faster collaboration and adoption within the business.
12
Objectives of This Session
Where you can write M code in PowerQuery. The different types of objects you can use as variables. Different ways you can leverage variables to create a dynamic solution. To see and understand the possible. Objectives of This Session
13
Power Query in 5 minutes Do a quick demo using only the UI
14
Moving on from the UI
15
M Functions Value Types Let Expression Key Concepts
16
Text Number Date and Time Logical List Table …… M Functions
17
Value Types Primitive Values Structured Data Values Function Values
Dates Text Numbers Booleans Structured Data Values Records Lists Tables Function Values Parameterized Values Value Types
18
Demo Demo
19
Session Recap Write M code in Formula Bar, Custom Columns, or the Advanced Editor You can use primitive, structured data, and function values in a solution. M functions can be used to harvest and to pass data within a solution. Anything is possible.
20
Thank You Madison!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.