简体   繁体   中英

Power Query M language and Excel functions

I have no issues with Microsoft inventing a new language. But why they choose to alienate those already familiar with VB or Excel scripting? Why not allow those as well? (They said it is a mashup but alas it is not too mashed.)

Is it possible to place in Excel functions into the load logic for evaluation in the destination excel spreadsheet?

This is a complicated question with many answers across the development history of our product, but I'll give my own (unofficial) opinion.

"M" isn't trying to replace VB scripting, and I don't think it will replace the Excel formula language anytime soon. Instead, it's a simple language for doing just a couple jobs: getting and transforming data.

The language I most often compare "M" to is SQL. "M" and SQL both let you select specific columns and rows from your table, add computed columns, join tables, and aggregate data. But "M" gives you one query language that lets you "mashup" data from multiple sources in the same query: Sql Server, CSV, JSON, Facebook, Google Analytics, etc.


To your second question of using "M" inside of Excel functions, that's a cool idea!

I'd suggest to the Excel product team with the Feedback button inside Excel and/or at https://excel.uservoice.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM