0

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?

1 Answer 1

1

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/

Sign up to request clarification or add additional context in comments.

2 Comments

I was thinking that M could inject formula cells into the output stream such that when the data is imported it has the fornulas
@Chris Aha, very interesting, and not an idea I was expecting! "M" today in Power Query can't write back to data sources, but that's something we could implement given the user demand. I'm not on the Excel product team but if you create a uservoice thread I can pass it around internally? :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.