Functions

Functions

Power Apps Delegation

Power Apps delegation is the processing of a query within the data source itself rather than by Power Apps.  Delegable queries are far more efficient because the query is executed quickly on the server and the full set of results are sent to Power Apps In the example below.  Power Apps sends a delegable query…

Power Apps Delegation Read More »

Sorting a Dataverse Lookup Column

In this post, I’ll cover how to sort a gallery by a Dataverse Lookup column.  The most straightforward approach is to use the Sort function but SortByColumns can also be used and this is a little more complex.  However, be aware of delegation issues!  Read on to find out more… For the Region and County…

Sorting a Dataverse Lookup Column Read More »

Sorting A Power Apps Gallery

Have you ever had difficulty sorting a Power Apps gallery?  Using the Switch function is the usually the best way to do this.  In this post, I’ll demo how to allow your users to sort a Power App gallery by their chosen column whilst avoiding delegation issues The coding required for sorting a Power Apps…

Sorting A Power Apps Gallery Read More »

Dataverse Relations. Identifying Children, Grandchildren & Great-Grandchildren

January 2024 Update – Microsoft has improved the table navigation. Read about the lastest functionality: Navigating Dataverse Tables. In this post, I’ll show how the Filter function can be used to identify Dataverse relations, including Child and Grandchild rows and even more distant descendants Using the simple table structure below, I’m going to navigate downwards…

Dataverse Relations. Identifying Children, Grandchildren & Great-Grandchildren Read More »

Sort a Dataverse Choice Column

Need to sort a Dataverse Choice column in a Canvas app?  It seems like it should be straightforward to do, but unfortunately it’s not!  Read on to see the possible options To sort a Dataverse Choice column, your first thought is likely to be the same as mine, to use the Sort function.  Unfortunately this…

Sort a Dataverse Choice Column Read More »

Control Variable Checklist

Using the With function it’s possible to create something very similar to a variable that just exists within the With statement in which it is created.  I call this a ‘Control Variable’.  It isn’t an offical Power Apps variable and you won’t see any Microsoft documentation references to it, but I find it helps my understanding…

Control Variable Checklist Read More »

Power Fx: Reset Function

The Reset function is really useful to clear any unsaved changes in a field and return the existing stored data. Using Galleries, sometimes you want to reset a specific record. Other times it’s useful to clear unsaved changes for all records. In this post, I’ll show you how to give your users both options Start…

Power Fx: Reset Function Read More »

The Table Function – Useful?

The Table function is used in Power Apps to manually create a Table within a Power App control rather than retrieving data from a networked data source (such as SharePoint) or a Collection.  But what is it used for and how useful is it? The following formula creates a Table with 2 columns called name…

The Table Function – Useful? Read More »

Power Apps Variables Checklist

In this short post on Power Apps Variables, I’ll summarise how values and single records are assigned and updated.  I’ll also cover what can’t be done with variables, so time isn’t wasted trying – something that has caught me out a couple of times in the past!  The can’s and can’ts of Context and Global…

Power Apps Variables Checklist Read More »

Search posts

Get in touch

Fill out the form and I’ll be in touch.