Hi ,
I'm building a form with canvas app. I have a Dataverse table with multiple fields, I need to store the total of 4 fields in a total field. Table fields are in form in edit display mode using variable varFormData to display all form in the app.
Scenario:
Table name : Main table
FieldName1 : Type currency
FieldName2 : Type currency
FieldName3 : Type currency
FieldName4 : Type currency
FieldNameTotal: type currency
I want to store the sum of FieldName1,2,3 and 4 in FieldNameTotal and I want to display the currency symbol ($) in all fields.
I'm using a Text label as a workaround and storing the total field in a collection.
Code I'm using Now is: Text(Value(Sum((DataCardValue25.Text),(DataCardValue27.Text),(DataCardValue29.Text),(DataCardValue31.Text))))
Thanks,