I need your assistance on determining if the formula that i am using is wrong or i need to add to it. I have a dropdown where i select list of communities that i am getting from my datasource which is SharePoint yet i am seeing duplicates and i don't understand why. Here is the formula i am using: Sort(Distinct(FormInput, CommunityName), Result). Any ideas on why this would be happening?
@CNT Yes they are spelled correctly. Also i am noticing that all of them are not showing up either. I know that Distinct is not a delegable query. I have over 80 different communities.
PowerApps can manage only 2000 items max
If your SP is over 2k yo will need to create Collections in PowerApps to collect the data and the create the master collection to join all the values
In the On Start option or On Visble (of your first sceen)
ClearCollect( Collection_1, Filter( SP_List, ID < 2000 ) ); ClearCollect( Collection_2, Filter( SP_List, ID > 2000 && ID < 4000 ) ); ClearCollect( Master, Collection_1, Collection_2 ) //Your will need to use a differente ID column the ID from SP wont work for this formula
Then in your dropdown use your formula
Sort(Distinct(Master, CommunityName), Result)
Check out new user group experience and if you are a leader please create your group
Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.