cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
batman75701
New Member

PowerApps Datacard field input by other field with calculation

Dear All,

Would like to have your suggestion to my case. i am building a powerapps to collect data for credit approval.

However, I would need to have some calculation for the credit amount in different currency.

The screencapture of apps:

batman75701_0-1603298219037.png

 

Would like to have the function:
1.Select the currency, HKD,EUR,CYN……..

2.input the credit amount(pre) field

3.Then it would have the calculated value in Credit Amount field

Credit Amount , Credit Amount field(PRE) are using datacard

1 ACCEPTED SOLUTION

Accepted Solutions
DylanSimons
Resolver III
Resolver III

In your Form you can click on the Datacard and on the right side of your screen click "Advanced ". Here you can unlock the DataCard for editing.

 

If you want to change a calculation based on selection from the ComboBox, you can use Switch() like this:

 

Switch(
    ComboBox.Selected.Value,
    "HKD", Text(Value(DataCardValue22.Text)*1.1),
    "EUR", Text(Value(DataCardValue22.Text)*0.4),
    "CYN", Text(Value(DataCardValue22.Text)*1.9),
)

 

View solution in original post

1 REPLY 1
DylanSimons
Resolver III
Resolver III

In your Form you can click on the Datacard and on the right side of your screen click "Advanced ". Here you can unlock the DataCard for editing.

 

If you want to change a calculation based on selection from the ComboBox, you can use Switch() like this:

 

Switch(
    ComboBox.Selected.Value,
    "HKD", Text(Value(DataCardValue22.Text)*1.1),
    "EUR", Text(Value(DataCardValue22.Text)*0.4),
    "CYN", Text(Value(DataCardValue22.Text)*1.9),
)

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,910)