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 / Filtering Data From Mu...
Power Apps
Answered

Filtering Data From Multiple Data Sets

(0) ShareShare
ReportReport
Posted on by 2

Hi! I'm fairly new to PowerApps and not sure if what I would like is a possibility. 

 

I want to retrieve distinct names from dataset A : colApp. However, I also want to add an additional filter from another data set(let's say dataset B for this example. The two data sets have column 'Plant #' that have the same data and can be used as the foreign key. Essentially, my dropdown results should only show Names where Approver.Email = varEmail in colApp (dataset A) and status = "confirmed" in dataset B. 

 

Currently this is my distinct function on data set A. This works fine. 

Sort(

     Distinct (

    Filter(

        colApp,

        Approver.Email = varEmail ),

        Name)

    ,

    Result

)

 

Here is my second filter on dataset B. I'm not sure how to incorporate it into the first filter. 

Filter ('Inventory_Updated', EditorStatus = "COMPLETED") 

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    i guess:

    Sort(
    
     Distinct (
    
     Filter(
    
     colApp,
    
     Approver.Email = varEmail && Filter ('Inventory_Updated', EditorStatus = "COMPLETED") ),
    
     Name)
    
     ,
    
     Result
    
    )
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Gdorm ,

     

    Please try:

    Sort(
     Distinct (
     Filter(
     colApp,
     Approver.Email = varEmail &&
     Name in Filter ('Inventory_Updated', EditorStatus = "COMPLETED").Name
     ),
     Name),
     Result
    )

     

    Best Regards,

    Bof

  • v-bofeng-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Is the problem solved? Do you need any help?

     

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    on at

    @Gdorm is the owner of this topic

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