![Power-BI-Content-Article.png](https://quantinsightsnetwork.com/wp-content/uploads/2024/04/Power-BI-Content-Article-678x381.png)
In this Microsoft Power Apps tutorial, we’ll discuss error checking. We’ll be having a sample demonstration to check errors in our application.
In Microsoft Power Apps, we don’t need to know how to code but we’ll still encounter errors. Therefore, we should learn how to detect, identify, and solve them.
Microsoft Power Apps Tutorial: Creating An Error
First, we need to create an error. Let’s check out the Concatenate function that was used in this data card element.
![25-6 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/25-6-1024x576.jpg)
![25-6 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/25-6-1024x576.jpg)
We need to remove the Text function that we used for the Month function. Don’t forget to remove the closing parenthesis for the Text function as well.
![26-7 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/26-7-1024x576.jpg)
![26-7 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/26-7-1024x576.jpg)
Without using the Text function to convert the result for the Month function into a string, our formula will encounter an error. It won’t work because the Concatenate function only accepts strings as its arguments.
Microsoft Power Apps Tutorial: Checking Out The Error
We’ll know that we encountered an error if we see this symbol on our screen. If we hover over the symbol, it’ll display what the actual error is.
![27-5 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/27-5-1024x576.jpg)
![27-5 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/27-5-1024x576.jpg)
We could then click that symbol and get help for this error.
![28-6 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/28-6-1024x576.jpg)
![28-6 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/28-6-1024x576.jpg)
If we click on that option, it’ll display the actual issue and the location of that error.
![29-5 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/29-5-1024x576.jpg)
![29-5 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/29-5-1024x576.jpg)
In this example, the error is in Subtitle4.Text.
![31-4 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/31-4-1024x576.jpg)
![31-4 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/31-4-1024x576.jpg)
Using App Checker For Error Checking In Microsoft PowerApps
Microsoft PowerApps offers an indispensable feature called App checker.
![32-4 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/32-4-1024x576.jpg)
![32-4 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/32-4-1024x576.jpg)
Once clicked, it’ll show us all the different issues that our application has. It includes issues regarding Formulas, Runtime, Rules, Accessibility, and Performance.
![33-4 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/33-4-1024x576.jpg)
![33-4 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/33-4-1024x576.jpg)
For example, we can see that we have 4 errors under Formulas. Let’s check out those issues.
![34-4 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/34-4-1024x576.jpg)
![34-4 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/34-4-1024x576.jpg)
As we can see, we have errors in the BrowseScreen1 and in the EditScreen1 that we need to resolve.
![35-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/35-3-1024x576.jpg)
![35-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/35-3-1024x576.jpg)
Let’s try to click the first error. Once clicked, we’ll be redirected to its properties and formula bar.
![36-4 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/36-4-1024x576.jpg)
![36-4 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/36-4-1024x576.jpg)
Then, we can resolve the error by putting back the Text function.
![37-4 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/37-4-1024x576.jpg)
![37-4 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/37-4-1024x576.jpg)
After that, the issue will disappear on the App Checker panel. Let’s try clicking the other error.
![38-5 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/38-5-1024x576.jpg)
![38-5 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/38-5-1024x576.jpg)
For this one, we just need to change it to Edit Screen.
![39-3 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/39-3-1024x576.jpg)
![39-3 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/39-3-1024x576.jpg)
Now, our application has no more errors. Finally, we can click the close (X) icon.
![40-3 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/40-3-1024x576.jpg)
![40-3 | Master Data Skills + AI microsoft power apps tutorial](https://blog.enterprisedna.co/wp-content/uploads/2021/11/40-3-1024x576.jpg)
Publishing Your Application
Let’s now go through how we can publish our application. First, click File from the menu bar.
![41-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/41-3-1024x576.jpg)
![41-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/41-3-1024x576.jpg)
Then save it.
![42-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/42-3-1024x576.jpg)
![42-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/42-3-1024x576.jpg)
After that, click Publish.
![43-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/43-3-1024x576.jpg)
![43-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/43-3-1024x576.jpg)
Then click the Publish this version button.
![44-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/44-3-1024x576.jpg)
![44-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/44-3-1024x576.jpg)
Let’s click the back arrow icon.
![45-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/45-3-1024x576.jpg)
![45-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/45-3-1024x576.jpg)
Then click the App launcher icon.
![46-4 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/46-4-1024x576.jpg)
![46-4 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/46-4-1024x576.jpg)
Choose Power Apps.
![47-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/47-3-1024x576.jpg)
![47-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/47-3-1024x576.jpg)
After that, click the Apps option to see all our applications.
![48-2 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/48-2-1024x576.jpg)
![48-2 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/48-2-1024x576.jpg)
Let’s click the application that we recently updated.
![49-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/49-3-1024x576.jpg)
![49-3 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/49-3-1024x576.jpg)
Finally, it’ll play the application we made with all our updated changes.
![50-2 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/50-2-1024x576.jpg)
![50-2 | Master Data Skills + AI](https://blog.enterprisedna.co/wp-content/uploads/2021/11/50-2-1024x576.jpg)
***** Related Links *****
Power Apps Forms And Data Cards In The Detail Screen
PowerApps Galleries: An Introduction
PowerApps Integration In Microsoft Power Automate
Conclusion
To sum up, Microsoft Power Apps makes error checking easier for its users. It can clearly show us if there’s an error through the red X icon and through the App checker. From there, we can easily find where and what the error is. After identifying the error, we can also simply search the solution on Google.
We were able to briefly discuss how we can publish and play our applications. Alternatively, we can also open them up on our phones as well. But in the meantime, I just wanted to show you how simple it is to publish an application in PowerApps.
All the best,
Henry
Be the first to comment