Hi Hardit,
1. What is the data source of the gallery?
is a SharePoint List Called UNIQUEGNS and then I am Patching to some different SP List named as 'Goal N SLA'
2. Where is the value entered in the GOAL text box stored? Is there a column/field in the data source of the gallery where you are setting this value?
There is Column in the SharePoint List 'Goal N SLA' as GOAL and am patching it back to SP List.
As of now, I did some coding and its working for me. The only fix I want here is that, If the rows are Accuracy then it should not allow < 50 and >100. How do I add these condition on the TextInputGoalValue.
If(
TextInputGoalValue.Text = "TBD",
"TBD",
ThisItem.Metrics = "AHT",
TextInputGoalValue.Text,
ThisItem.Metrics = "Productivity",
"1",
ThisItem.Metrics = "Workload",
RoundDown(
(7.3 * 3600) / TextInputGoalValue.Text,
0
),
ThisItem.Metrics = "Accuracy",
TextInputGoalValue.Text
)