cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bongobus1
Helper I
Helper I

Auto Calculation

Hi

I would like a label display to automatically show the sum value of 2 dropdown boxes - is this achievable?

Example in the app the drop downs default is 0

A user changes 1 drop down to select 2
And changes another to select 1

And this label shows 3 or updates if the user changes one of the dropdown values
1 ACCEPTED SOLUTION

Accepted Solutions
h-nagao
Impactful Individual
Impactful Individual

Hi,
To display sum value of two dropdown, you simply set Text property of label as

Dropdown1.Selected.Value+Dropdown2.Selected.Value

* Here, I assume names of drop down boxes are Dropdown1 and Dropdown2.

When user change selected item in each dropdown control, label text will also changes automatically.

Thanks,

View solution in original post

2 REPLIES 2
h-nagao
Impactful Individual
Impactful Individual

Hi,
To display sum value of two dropdown, you simply set Text property of label as

Dropdown1.Selected.Value+Dropdown2.Selected.Value

* Here, I assume names of drop down boxes are Dropdown1 and Dropdown2.

When user change selected item in each dropdown control, label text will also changes automatically.

Thanks,

Thankyou 👍

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,645)