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.
Others
Hi - How can we format M-Query syntax in proper way. I searched but couldn't find any reliable answer. Is thery any available Tool like we have for DAX (DAX formatter,others) or we just need to right it the correct way.
Thanks,
Ankit Jain
Solved! Go to Solution.
Hi @AnkitBI
I am not aware of tool like DAX formatter for Power Query/M.
I use help from gridlines in the Advanced Editor to do some code alignments
Same here, would love to see such a tool 😉
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @AnkitBI
I am not aware of tool like DAX formatter for Power Query/M.
I use help from gridlines in the Advanced Editor to do some code alignments
Same here, would love to see such a tool 😉
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
So all these beautifully crafted queries manually 🙂 Thanks for Acknowleging and replying.
Hi all,
even if the post is not the newest - we developed a Power Query Formatter. You find it here
https://powerqueryformatter.com
If offer an API as well if you want to use it on your websites/blogs.
If you find any issues do not hesitate to send a bug report.
Holger
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
50 | |
19 | |
12 | |
11 |