Hello everyone!
Background:
I have a form to allow users to provide an update to their current goal status. I would like to show them the history of their updates next to the form.
The goals are held in a single sharepoint list for all regions, and the status updates are housed in a seperate list for each region with an ID to match the goals to the status. (Less than ideal, but I would run into delegation limits otherwise)
_regionTracker: variable that is holding the selected region.
GoalStatusLink: Column in all lists that links the statuses to the goals.
GoalStatusLinkLabel: A label displaying the current goal record being viewed.
Issue:
Using Switch to select a datasource is working for write locations, but in the below formula, it is not working for display. To test, I removed the switch for a static datasource and the expected results are displayed.
Sort(
Filter(
Switch(
_regionTracker,
"Region1",
'Region 1 Status',
"Region 2",
'Region 2 Status'
//and so on and so on and so on
),
GoalStatusLink = GoalStatusLinkLabel.Text
),
Date,
Descending
)
Am I overlooking something obvious here?
Thanks in advance!
/Gary