@Phineas ,
My responses are never meant to be acidic - quite the contrary. I do however like to see that my guidance to longer-term poster such as yourself results in a learning/development experience and my apologies if some light encouragement in this direction offends (as you noted this is a partnership). What I was going to point out is that is that if you change the Items to something like this
Table(
{Time: "0:00", Value: 0},
{Time: "0:15", Value: 0.25},
{Time: "0:30", Value: 0.5},
{Time: "0:45", Value: 0.75},
{Time: "1:00", Value: 1},
{Time: "1:15", Value: 1.25},
. . . . . . .
)
You would show the Time field in the drop-down and the difference in pure hours/minutes would simply be
Time_Out_1_DataCadValue_Dropdown.Selected.Value - Time_In_1_DataCadValue_Dropdown.Selected.Value
and formatted as hh:mm to
With(
{
_Hours:
RoundDown(
Time_Out_1_DataCadValue_Dropdown.Selected.Value - Time_In_1_DataCadValue_Dropdown.Selected.Value,
0
)
},
Text(_Hours) &
":" &
Text(
Mod(
(Time_Out_1_DataCadValue_Dropdown.Selected.Value - Time_In_1_DataCadValue_Dropdown.Selected.Value),
_Hours
) * 60,
"00"
)
)