How to use Power Apps named formulas (experimental feature)

michelcarloModern Workplace2 years ago6 Views



Recently Microsoft announced a new experimental feature in Power Apps: Named formulas

Named formulas in summary are, defined functions without parameters, that can be reused anywhere in a Canvas App.

What are the advantages of using Named formulas instead of global variables (defined with ‘Set’)?

The formula’s values are always available, there is no time dependency as it happens on App.OnStart (if you enabled delayed start, some variables might not have been populated when you try to access their values).

Formula definitions work like constants, they need to be defined in the App.Formulas property and cannot be updated anywhere else in the app

Also, the formula’s output values are only calculated when needed, which will speed up app loading times if you defined a lot of them in the App.OnStart event

How to use them?

Enable Named formulas under experimental features (authoring version 3.22091):

After enabling the feature and reloading the app, add…



Source link

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...