Hello,
I have an app linked to a SharePoint and there's a combo-box where one can choose one or multiple departments to show everyone in those selected departments. I am using this formula for the combo-box:
Sort(Distinct('SharePoint', department), Result, Ascending)
This formula doesn't show all the departments. There are 18 different departments in the SharePoint, but the drop down only shows 8. I found another way, where I just manually inputted all the 18 departments in the items property of the combo-box, and it works perfectly. However, I want it where if a new department is added in the SharePoint, I don't have to go into the code of the app to add it and instead it just automatically loads in the PowerApps. Is there another way to do this?
Thank you!