web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps as a calcul...
Power Apps
Answered

Power Apps as a calculator

(0) ShareShare
ReportReport
Posted on by

Hi everyone, I think I have a crazy question here. I am new to Power Apps and the whole Power Platform.

I want to create a Power Apps that sole works as a calculator inside a Power BI report, I dont want Power Apps to use the Power BI data. The idea is for the user to go to the Power BI report see some lab results, and then the user can add to a side calculator (Power Apps) their own values, power apps run some equations behind the scene and display results. I dont want Power Apps to store user data and I dont want Power Apps to use Power BI data. Again, I just want Power Apps to be a calculator. Is this possible?

thank you

Gustavo

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @gustavocruz 

     

    You can directly import the reusable calculator component on your app screen and add it to the report.
     
     
    Steps:
    1) In your PowerApps Editor, select components from left menu (just beside screen)
    2) Select three dots and select Import Components. There you can upload the msapp file.
     
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • Max44 Profile Picture
    223 on at

    go to PowerApps Studio and add a new screens on App, after, insert also 3 Text Inputs (for number 1, number 2 and the result) and 5 Buttons (for math operators and reset) like this structure:


    Now, on the Text Inputs select format = number and OnChange use Set function to valorize the numbers N1 and N2:

    Set(N1, TextInputNum1)

    Set(N2, TextInputNum2)


    On Text Input for result, you can only specify the default value with the value of the global variable result:


    Now, on the 4 buttons OnSelect use UpdateContext to execute the operation (+, -, *, /):

    UpdateContext({result: N1+N2})

    UpdateContext({result: N1-N2})

    UpdateContext({result: N1/N2})

    UpdateContext({result: N1*N2})


    Finally, you manage the reset button utilizing UpdateContext for reset the global variable and Reset function to reset the Text Input for number 1 and number 2:

    UpdateContext({result: 0}); Reset(TextInputNum1); Reset(TextInputNum2); Reset(TextInputResult)

     

    Admin

    o365cloudexperts

     

  • gustavocruz Profile Picture
    on at

    thank you so much

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard