Blog
Data - How much mobile data does Power Apps consume? What ways can we minimise this?
March 28. 2021
In general, mobile/4G data is more limited and expensive compared to Wifi. Therefore, a question that some app builders want to know, particularly in cases when they start exploring Power Apps is, how much data does a typical Power Apps use?
The answer to the question - how much data does a typical Power Apps consume - is difficult to answer, because it depends entirely on what the app does, and how much data it displays.
An app where users usually retrieve large numbers of records and data from SharePoint, SQL, Dataverse and other data sources will result in greater data use.
How to measure the amount of data that an app uses
The best way to assess how much data an app would use is to build an app that approximates the tasks that we want to carry out, and to measure the amount of data that it uses.
The most simple way to provide an approximation is to run the app on a mobile device, and to use the app settings to inspect the level of data use. On an Android version, the location of this can varies depending on make and Android version
but typically, we find this by pulling down the notification area at the
top of the screen, clicking the cog icon, and navigating to "Apps".
As the screenshot above shows, we can also access settings to disable 'background data' and 'unrestricted data use' whilst in data saving mode.
Other ways to assess data use is to use the monitor tool, or the developer tools in a browser. In Chrome, we can access this by clicking Ctrl Shift I.
Other ways to assess data use is to use the monitor tool, or the developer tools in a browser. In Chrome, we can access this by clicking Ctrl Shift I.
The post here describes in more detail, how we to use the Monitor tool in Power Apps.
How to minimise the app size
One way to minimise data use is to try to minimise the app size. We can accomplish this by reducing large artefacts, such as embedded images, videos, or other media.It's worth noting that the mobile player caches apps following the initial download. Therefore, a user can minimise mobile data use by making sure to start the app for the first time whilst connected to Wi-Fi.
How to minimise data use
Other strategies to minimise app-data use include:- Reducing the value of the 'data row limit for non-delegable queries' setting beneath the Settings > Advanced menu item. Data functions such as Collect/ClearCollect, retrieve data from a data source in batches based on this value. Therefore, we can reduce data use by reducing/optimising this value.
- Not collecting/caching data on the app start. A strategy that some app builders adopt is to preload entire lists/tables into local collections when an app starts. This solves data query/delegation limitations, but is highly inefficient in terms of data use.
- Providing more relevant /focused search. By providing more relevant search and more tightly controlling the data that we display in gallery controls, we can reduce the amount of data use.
- Reducing images/videos. These content types require more data. Therefore, restricting the display of this type of media can reduce the level of data use.
Customising apps for mobile use
We can optimise apps that users use on both mobile and desktop devices by using the Connection signal.
The formula Connection.Metered returns true when the user is connected to a metered/mobile network. We can design an app so that when this value is true, we navigate the user to screens that are optimised for the lower data use, and we can also control the visibility and behaviour of specific controls based on this condition.
Conclusion
It's difficult to place a figure on how much data a Power App uses because it depends entirely on the app. We can measure data-use to obtain an approximation, and this post covered techniques to help reduce the amount of data use.
- Categories:
- data
Related posts
- Data - How to find the common rows from 3 or more collections
- Data - How to show the distinct rows from 2 data sources or collections
- Data - How to implement circular rotational date sorting
- Bug - What to do when the data section of the Power Apps Maker portal doesn't work
- Data - Combine columns from separate tables into a single table
- Formula - Transposing/converting rows to columns- an almost impossible task?
- Data - How to rename field names in a record
- Data - How to hide duplicate rows in a gallery / show distinct multiple columns in a gallery
- Data - Retrieving news/forum/blog articles with RSS
- Data - How to sort by partial numbers in a text field
- Data - How to return the last record from a table
- Data - How to create bulk test/dummy records with random values
- Data - 3 things you should know before using the MySQL or PostgreSQL connectors
- Data - A walkthrough of how to migrate the data source of an app from Excel to Sharepoint
- Data - How to enforce unique values (or prevent duplicate values) in one or more columns
- Data - How to save and retrieve Google calendar entries
- Data - How to save and retrieve Google contacts
- SQL - Caution! This is how users can hack shared SQL connections
- SharePoint – 2 Mistakes to avoid when importing Excel data
- SQL - Don't let this DateTime bug catch you out!
- Settings - What's the purpose of the "Explicit Column Selection" Setting?
- SQL Server for Beginners Part 3 - Installing On-Premises Gateway
- SQL Server for Beginners Part 2 - Installing Management Studio
- SQL Server for Beginners Part 1 - Installing SQL Server
- Searching data–What you need to know about case sensitivity
- Images - How to create images that can change depending on data
- Excel - Reasons NOT to use Excel as a data source
- SharePoint - What you need to know about Filtering Data
- Formulas - Generating Row Numbers