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

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

FormuIas - Is it possible to call a user-defined function recursively in Power Apps?
January 31, 2024
Formulas - A beginners guide on how to create and call user-defined functions (UDFs)
January 28, 2024
Formula - How to add a button that converts degrees Centigrade to Fahrenheit and vice versa
May 08, 2023
Formula - How to convert a single delimited string to rows and columns
April 05, 2023
Data - How to group data in a gallery and calculate sums
January 20, 2023
Formula - How to calculate compound interest
November 24, 2022
Utilities - The best way to peform OCR on images of Power Apps Formulas
October 11, 2022
Example - How to use a drop down control to convert currencies
September 27, 2022
Formula - How to parse JSON in Power Apps- 4 examples
September 15, 2022
Data - How to get a row by ordinal number
April 28, 2022
Formula - What to do when the If statement doesn't work?
December 17, 2021
Formula - Boolean And / Or operators - What is the order of precedence?
December 16, 2021
Controls - How to set the data source of a Combo Box to a comma separated string
November 16, 2021
Numbers - 10 examples of how to round numbers
August 18, 2021
Formula - Difference between round, square, and curly brackets
July 20, 2021
Email - Sending email attachments with the Office 365 Outlook connector
March 30, 2021
Formula - What to try when numbers don't format correctly
March 24, 2021
Controls - How to convert HTML to Text
March 23, 2021
Formulas - how to return all days between two dates
March 15, 2021
Formula - How to create comma separated (CSV) list of items
February 25, 2021
Formula - How to use the IF and Switch functions - 3 common examples
February 12, 2021
Location - Finding the closest location and and sorting records by distance, based on the current location of the user
January 24, 2021
Formulas - How to cope with weekends and public holidays in date calculations
January 21, 2021