Making your M Queries Dynamic in Power BI Nick Lee Making your M Queries Dynamic in Power BI
http://jssug.com
https://tinyurl.com/y6spgfwn Slack Channel – https://jssug.slack.com #jssug #sqlhelp #jobhelp #sqlsatjax https://tinyurl.com/y6spgfwn
Please Take Pictures and Post! #SQLSatJax @JSSUG
501 Legion Charitable Donation Thank the 501 Legion for Supporting Our Event! JSSUG Will Match Donations up to $200 Donation Bucket on Registration Table
Don’t forget Session Eval’s for Speakers! Don’t forget Event Evals for xBox Raffle! Schedule is Online and in GuideBook App
Modern Migration Tour Register: https://tinyurl.com/y6qom9n3 When: June 15, 2019 Where: UNF Sponsored by: PASS, Microsoft & Intel In the lead up to SQL Server 2008 end of support, PASS has recruited Sandy—an expert in all things migration—along with an all-star lineup of speakers from Microsoft and Intel®, to smoothly guide you to your final destination—a modern data platform. Whether you’re interested in moving to an updated on-premises, cloud, or hybrid solution; PASS, Microsoft, Intel®, and Sandy (of course!) have teamed up for a must attend series of webinars, in-person events, and migration resources, dedicated to giving you the tools you need to migrate with confidence.
About Nick Trainer and Consultant Technical Editor of Books My parents always told me that my life won’t go anywhere if I’m on the computer all day and night. Trainer and Consultant Technical Editor of Books Presenter in JSSUG Blogs at backtoSQL.wordpress.com Twitter: @backtoSQL nlee@pragmaticworks.com
Data Discovery with Power BI Desktop
Development Lifecycle Data Discovery Data Modeling Data Visualization
M Basics with M Data cleansing with M
M Basics What is M? Why M? Understanding M syntax
Using M Query Formulas What is M Query? ‘M’ is for Mashup M is easily made dynamic Why M Query? Data Transformations Pivot/Unpivot Removing unwanted characters Splitting columns Query editor is just a UI that generates M
M Query Fundamentals Where to Write M M Query Results M Query Tips Query Editor formula bar View > Advanced Editor M Query Results Can produce a single value, list (array), table, function Can be copied and pasted to other workbooks but not the best sharing method M Query Tips Case sensitive! Use #shared to return Library Functions
#shared
Previous step reference Named Expressions / Variables Taking a look at M code M Functions Let Expression Previous step reference Named Expressions / Variables In Expression / Output
Dynamic Source Query Variables and Parameters
Working with Variables & Parameters What is a variable? A variable is a place holder. Changeable, Not-Constant
Parameters Make queries and connections dynamic Create / Edit Parameters Currently no “Global” Parameters.