Hi,
The test of “if ” function can only apply to a number column while the “Selection” column is a text.
Suggest you generate a mapping “text to number” column For each value of the Selection column as shown below: Asel is 1 if Selection value is A and 0 if Selection value is B. Swap the mapping allocation for the Bsel column and create the function DateAndTime as follows:
DateAndTime = Date+(ASel* SliderTimeA)+(BSel* SliderTimeB)
If in the formula above you replace “BSel” by “1-ASel” you can spare the generation of the BSel column.
Column mapping menu can be found in the drop down menu of the Column Section.
Note that in DG the time unit is seconds (86400 sec in one day) and that the time slider values are in seconds in the Variable section.
I hope it helps.