Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

How to capture two column value on landing screen and use it in another screen to filter what data to show user

(0) ShareShare
ReportReport
Posted on by 1

I have a requirement where user come to landing screen and choose country and Region and then go to user screen where she/he will be able to edit, view or add items based on what she/he choose on the landing screen. Both Country and Region are SharePoint choose columns. I try to use clear collect to capture the country and region value from the landing screen and use it to filter the gallery in the user screen. It is not working for me and I am new and I will really appreciate the help.

I have a label, button and dropdown in the landing screen.

on select of the enter button I have this :

ClearCollect(colCountry,

Filter(tax,

County.Value =DDCountry,selected.Result));

 

ClearCollect(colRegion,

Filter(tax,

Region.Value =DDRegion.selected.Result));

Navigate(UserScreen)

 

Thank you 

 

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: How to capture two column value on landing screen and use it in another screen to filter what data to show user

    Hi @Basajasa ,

     

    I did a test for you.

    My sharepoint list:

    vxiaochenmsft_0-1637894933263.png

    vxiaochenmsft_1-1637894949023.png

    Choices(LIST196.Country)

    vxiaochenmsft_2-1637895043391.png

    Choices(LIST196.Region)

    vxiaochenmsft_3-1637895057531.png

     

    Set(Var1,ComboBox1.Selected.Value);Set(Var2,ComboBox2.Selected.Value);Navigate(Screen2)

    vxiaochenmsft_4-1637895078915.png

     

    Filter(LIST196,Country.Value=Var1,Region.Value=Var2)

    vxiaochenmsft_5-1637895098115.png

     

    vxiaochenmsft_6-1637895106413.png

     

    Best Regards,

    Wearsky

     

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard