web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Collection as database...
Power Apps
Unanswered

Collection as database of dropdown list

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I am currently building a registration tool for a day event with Microsoft PowerApps. I have a form for this in which the speaker should enter information about themselves and the presentation. Everything is saved via Submit (Form1) to a Sharepoint List.

Among other things, there is a drop-down list with different times/numbers (10, 11, 13, 14, 15) that can be selected for the starting time of their speak.

I only want to see the times that are stored three times or less in my sharepoint list in the dropdown list.

I have created collections for this purpose.

 

ClearCollect(

    allZeitslots;

    Choices([@'UX Day 2024 Liste von Sessions'].Zeitslot)

);;

 

ClearCollect(

    col_Zeitslot_Häufigkeit;

    {

        Zeitslot: "10";

        Häufigkeit: CountRows(Filter('UX Day 2024 Liste von Sessions'; Zeitslot.Value = "10"))

    };

    {

        Zeitslot: "11";

        Häufigkeit: CountRows(Filter('UX Day 2024 Liste von Sessions';Zeitslot.Value = 11))

    };

    {

        Zeitslot: "13";

        Häufigkeit: CountRows(Filter('UX Day 2024 Liste von Sessions'; Zeitslot.Value = "13"))

    };

    {

        Zeitslot: "14";

        Häufigkeit: CountRows(Filter('UX Day 2024 Liste von Sessions'; Zeitslot.Value = "14"))

    };

    {

        Zeitslot: "15";

        Häufigkeit: CountRows(Filter('UX Day 2024 Liste von Sessions'; Zeitslot.Value = "15"))

    }

);;

 

ClearCollect(

    col_FilteredZeitslots;

    Filter(col_Zeitslot_Häufigkeit; Häufigkeit < 2).Zeitslot

);;

 

col_FilteredZeitslots also returns the correct list. So I set the "Items" from my drop-down list to the variable col_FilteredZeitslots.

However, I now have the problem that the collection is set as the data source for my dropdown list and no longer my Sharepoint list, which is why the selected time of the dropdown is no longer saved in the Sharepoint list.

 

Could you please help me with this. 😊

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard