Hi All,
Hoping someone can assist me with my current issue.
I have a SharePoint list of client registration data in which I'm trying to populate into a gallery based on their registration date. I have another column in my list which displays which staff member was assigned to that client and is blank when no one has been assigned to that client yet.
I have a toggle switch that when set to true, the gallery is meant to display only those clients who have not yet been assigned a staff member.
My current problem is that the code I have works while the dataset is small. But the list of clients increases daily, and when the number of clients exceeds my Data Row Count, it stops working.
My current code looks like:
Switch (AssignedOnlyToggle.Value,
true,
Filter( 'Onboarding - Registrations', IsBlank(AssignedStaff) And 'Registration Date' = AuditDate.SelectedDate And 'Full Membership'.Value = "Yes"),
false,
Filter( 'Onboarding - Registrations', 'Registration Date' = AuditDate.SelectedDate And 'Full Membership'.Value = "Yes")
)
There is a warning underline under IsBlank(AssignedStaff) telling me it may not work with larger datasets. And that's exactly what I'm experiencing. Since the other conditions seems to work fine, is there any way I can create a smaller subset of data which includes the selected registration date, and then have the gallery display only those rows that don't have a staff member assigned out of that smaller subset?
I tried something along the lines of the below.. but it still failed..
Filter( 'Onboarding - Registrations', IsBlank(AssignedStaff) And 'Client ID' in
Filter( 'Onboarding - Registrations'.'Client ID',
'Registration Date' = AuditDate.SelectedDate And 'Full Membership'.Value = "Yes")),
sorry for the long post.
Appreciate any advice