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 / Apply filter for a for...
Power Apps
Suggested Answer

Apply filter for a form based on the data selected from another dataset

(1) ShareShare
ReportReport
Posted on by 4
I am trying to populate a "display form" based on the data displayed from another dataset.
 
 
Dataset A:
 
Name Email Region
Mary mary@google.com Americas
Peter peter@google.com APAC
Paul paul@google.com EMEA
 
Dataset B:
 
Name Email Workshop 1 Workshop 2 Workshop 3 Homework
Peter peter@google.com 50% 100% 100%
80%
Mary mary@google.com 100% 50% 100% Incomplete
Paul paul@google.com done makeup assignments 80% 100% 100%
 
 
The app is designed to show 2 forms, linking the data from 2 datasets.
 
"Form A" is linked with Dataset A, all the columns are set to displayed fields, and the result is based on one selected item from a gallery displayed of Dataset A.
 
"Form B" is linked with Dataset B, set to display the remaining fields based on the result from "Form A."
The formula for "Form B - Item" is:  First(Filter(Dataset B,'Name' = DataCardValue.Text)
* where "datacardvalue" is a field in "Form A" - that links with 'Name' from Dataset A
 
The formula has reported error, and no data was shown in any fields of "Form B".
Could anyone please share your advice? Many thanks!
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,978 Moderator on at
    Hi
     
    You said, it reported an error, but didn't share it? Why?

    Also this cannot be correct as its missing lot of punctuation

    First(Filter(Dataset B,'Name' = DataCardValue.Text)

    has to be

    First(Filter('Dataset B','Name' = ControlInsideDataCard.Text))

    And the error is (most likely) because you are trying to use the DataCard itself, versus the Text Box that is inside the datacard.

    Make sure to click inside to get the name of the Control and then grab its value/text whatever you need




  • ML-07091213-0 Profile Picture
    4 on at
    Hello and thank you for the response.
     
    So this is the formula I set.
     
     


    The Error is:
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,041

#2
11manish Profile Picture

11manish 676

#3
Valantis Profile Picture

Valantis 655

Last 30 days Overall leaderboard