How To Create Calculator Using Power Apps

In this blog, we will discuss how to build a simple calculator using power apps.

Please follow the below steps,

Step 1

Open Power Apps window.

Step 2

Add the below controls. I have added to one label for displaying the header title, two textboxes for number input, four buttons for adding operators, and one label to show results. Change the button text with the operator’s name. Customize the font, text, color, height width.

Step 3

Now we have to add a formula on every button’s onselect property.

  • For + button -> UpdateContext({Result: txtNumber1 + txtNumber2 });
  • For – button -> UpdateContext({Result: txtNumber1 – txtNumber2 });
  • For * button -> UpdateContext({Result: txtNumber1 * txtNumber2 });
  • For / button -> UpdateContext({Result: txtNumber1 / txtNumber2 });

Step 4

Click on the label, set its text property with the result. Customize its display properties also.

Step 5

Save the application and click on Run Button.

Step 6

Enter the numbers and select any operator button to check the result.

Key words:

Create a calculator using PowerApps

Create a simple calculator using power platform

How to create calculator in PowerApps

Steps to design a calculator using PowerApps

Implement a calculator on PowerApps

Share

Add Your Comments

Your email address will not be published. Required fields are marked *