Hi all,
I have a list called Consumption Tracker where there are 3 fields(number type). Gross effort is the field which should auto-populate the calculated value. Total effort saved(datacardvalue12) and estimated effort(datacardvalue14) will be the value entered fields. I have separate forms for edit and new. In new form On change and On select of the two value fields i have given this formula:
Set(
var,
Round(
IfError(
If(
!IsBlank(DataCardValue14.Text),
(DataCardValue14.Text) / (DataCardValue12.Text)
),
0
) * 100,
2
)
);
and the variable "var" I have set it to the default of the Gross effort field. The default value is
If( IsBlank(ThisItem.GrossEffort), var, Parent.Default)
In edit form the same code is there in the On change and On select and for the default value I have given.
If( !IsBlank(ThisItem.GrossEffort), Parent.Default, varedit)
It displays only the Parent.Default value and it doesn't shows the when we try to calculate here.
Any help/suggestion on this.
Thanks in advance.