PowerApps - Explicit Column Selection

Explicit Column Selection is an option PowerApps to improve the Performance. Microsoft provided an option to enable and disable the "Explicit Column Selection" as below.

By enabling the Explicit Column Selection option PowerApps performance will be increased. Enabling Column Selection option allows to get the columns from the backend database (only for the Data verse and SQL). This will improve performance by retrieving only the data in the rows and columns that are necessary. 

For example, If we are selecting the Employee table, we try to display Employee Name and Address fields in the gallery, Enabling the setting will get only Employee Name and Address. If we disable the field it will get all the data from Employee table. Getting required fields and Getting all the fields will be affected the Performance of the PowerApps like we have 10 columns in a table of 2000 rows with size 412 bytes, we are just pulling 2 columns less than 100 bytes.

There are few issues with enabling the setting in the PowerApps as 

  • Sometimes there will be issues with the dropdown fields data.
  • Data will show blank sometime by directly without passing the column names. For example on the query below, 
                ClearCollect(colEmplData, Filter('[dbo].[Employee]', EmpID=35)) 

          this query returns empty data sometimes (Not always if any references mentioned). Passing the values below, will give us the exact data.

                ClearCollect(colEmplData, Filter('[dbo].[Employee]', EmpID=35),"Name", "Salary"
            



Comments

Popular posts from this blog

Linksys Wireless Connection Failure

The security validation for this page is invalid. Click Back in your Web

Power Apps toPower Automate Error - The input body for trigger 'manual' of type 'Request' did not match its schema definition , the input String does not validate against the date