Hello,
I'm trying to use a toggle switch that when switch ON will change the data source of a drop down menu. The data source for the drop down menu will be either be Collection1 or Collection2. What I want my users to be able to do is to have the option to selection from either a specific portion of a collection or a seperate one. Here's the current formula that I'm using that works:
If(RosterToggle.Value = true, Collection1.Name, Collection2.Name)
This will allow me to select rosters from either collection. Works just fine.
However, if I want to be reference a specfic part of the either collection, turns up an error.
If(RosterToggle.Value = true, Text(Filter(CachedSelectSchedule,
Shift = TimeOfDay.SelectedText.Value),Rs1Day), CachedSelectSchedule.CrewMember)
What's the best way to do this?