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

Announcements

News and Announcements icon
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:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard