AJ ZAFAR

Architecting intelligence. Delivering impact.

AI & Agents4 min read

Power Apps Ideas: GPT-3 writes Power Fx formulas

At Build, Microsoft showed Power Apps Ideas, which uses a fine-tuned GPT-3 model to turn plain English into Power Fx formulas. Preview lands in June 2021.

Power Apps Studio with a gallery selected and the Ideas tab open, showing a natural language input box and suggested Power Fx formulas

In yesterday’s Build keynote, Satya Nadella announced that Microsoft has fine-tuned OpenAI’s GPT-3 model to generate Power Fx formulas from plain English. The feature is called Power Apps Ideas, and it will sit directly inside Power Apps Studio.

I have been following GPT-3 with interest since it appeared last year, mostly as a research curiosity. Seeing it land inside a low-code tool that thousands of business users already use is a different thing altogether, so I wanted to get my thoughts down early.

What was announced

From the Power Apps blog post:

  • Natural language to Power Fx. You describe what you want, for example “show me customers from the US whose subscription expired”, and Ideas offers a set of formulas with an explanation of how they work. You pick one to apply.
  • Built on GPT-3. Microsoft describes GPT-3 as a 175 billion parameter model, used through its strategic collaboration with OpenAI and fine-tuned on how Power Fx formulas are built.
  • Context aware. Suggestions use context from your app, such as tables and controls, and results that fail the formula syntax check are filtered out.
  • Programming by example. A second technique, PROSE (Program Synthesis using Examples) from Microsoft Research, lets you show one example, such as turning “John Smith” into “John S.”, and get a formula that transforms every row.
  • Scope at preview. Preview is due in June 2021 for galleries and data tables. It is optimised for Search(), Sort(), SortByColumns(), Filter(), FirstN() and LastN().
  • Availability. Initially North America and English only, with more regions promised later this year.
  • Responsible AI. Microsoft says the models have built-in safety controls and that makers stay in control, because nothing is applied until you select a formula.
Power Apps Studio showing a My Accounts gallery, with the Ideas tab selected in the right-hand pane, a text box asking What would you like to do with your data, and three suggested formulas: filter Accounts modified in the last 7 days, sort Accounts by Modified On, and show the top 10 Accounts
The Ideas tab: describe what you want, then pick from suggested formulas.Image: Microsoft Learn (CC BY 4.0)

What it means for organisations

This lowers the hardest step for new makers. In my experience, people pick up the Power Apps canvas quickly. Where they stall is the formula bar: delegation, nested functions, and remembering whether it is Sort or SortByColumns. A tool that turns a sentence into a working filter could keep a lot of citizen developers moving instead of giving up.

It is also a teaching tool. Each suggestion comes with an explanation. Used well, that helps makers learn Power Fx rather than just paste it.

But a suggestion is not an answer. The model can only see what you tell it and what is in the app. It does not know your business rules, your data volumes or which columns are sensitive. A few points I would make to any team that wants to use it:

  • Review what you apply. Treat generated formulas like code from a colleague you have not worked with before. Read them and test them. Even the example in Microsoft’s own post shows FirstN(Sort(Search(...)), ...) without the count of 10 as printed, which is a small reminder to check what you are given.
  • Watch delegation. A formula that works on 50 test rows may behave very differently against a large Dataverse table or SharePoint list.
  • Name things well. Microsoft says clear table and column names give better results. That has always been good practice, and now it has a practical payoff.
  • Region and language. If your makers are in the UK or Europe, or work in other languages, you will be waiting until the wider roll-out.

For IT and the Centre of Excellence, the questions are mostly about guidance rather than control. Is it acceptable for makers to build production apps from AI-suggested logic? I think yes, as long as the same review standards apply as for any other app that matters.

What I would do now

↑↓ navigateEnter openEsc close