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 / How to capture two col...
Power Apps
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 

 

I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    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

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard