Blog

Top 3 highlights of upcoming enhancements to the Power Apps language (Power FX)

Yesterday's Build conference introduced several exciting new enhancements to the Power Apps language.This post summarises the top 3 highlights.

A key announcement at yesterday's Microsoft build conference were plans to enhance and to expand the scope of the Power Apps language (Power FX). Here's a summary of the top 3 highlights, which were presented by Greg Lindhorst.

1 - For "no code" app builders, the ability to write formulas using plain English

For app builders who are unfamiliar with formula, it can be a real struggle to build syntactically correct statements. For those users, it can be very difficult to understand the differences between square, curly, and round brackets, and to understand the differences between commas and semi-colons. New users often struggle to resolve typical errors, such as "The formula contains 'ParenClose' where 'Eof' is expected".

To help these users, Power Apps will introduce an AI-based method of building formula with natural language. Instead of writing formula, app builders can construct a sentence that describes the requirement in plain English - for example, "show top 10 records by date", or in the example that was highlighted in the conference - "search textbox with contacts fullname".

The designer will suggest formulas that fulfil the requirement, and the app builder can choose the most appropriate formula.


2 - Model driven apps will support Power Fx

Model driven apps will now support Power Fx, whilst still supporting JavaScript for backwards compatibility.

To give an example, it will now be possible to customise the command bar area of an app using the same syntax that we're familiar with when building canvas apps.

.

The screenshot beneath shows how we can now add a button to the command bar, and to define the action by writing a Patch statement. For model driven app builders, this is an enormous improvement.


3 - Dataverse will support Power Fx

Finally, the data layer (Dataverse) will support Power Fx. App builders will now be able to define calculated columns using Power Fx, rather than the legacy language from CDS (common data service).

In theory, this will extend the capabilities of calculated columns. To give an example, it's currently not possible to retrieve the current date through a calculated column, which makes it impossible to build a calculated column that displays how many days overdue a record is, based on a 'target end date' column. Power Fx support should now resolve this.

Conclusion

The upcoming enhancements to Power Fx will make it easier for app builders by providing a natural langauge based approach to writing formula, and by providing a unified/integrated language that covers all areas of the Power Apps. These are all great features, which will improvet the app building experience.
Related posts