Skip to main content

Notifications

Power Platform integration forum
Suggested answer

Filter in Power Apps

Posted on by 10

Hello, I am unable to apply the filter function in a canvas Power apps based on dataverse.
The table name is EssaiNew, in this table there is a column named Status. This column is of multiple choice type, it has these values ​​(In progress, Approved, Renewed).
I would like to display data from the EssayNew table based on the values ​​in the Status column.

Here is the function I wrote in the Items property of a Gallery, none works:
1 - Filter(EssaiNews; Status="In progress")
2 - Filter(EssaiNews; 'Status (EssaiNews)'= "In progress")
3- Filter(EssaiNews; 'Status (EssaiNews)'.'In progress'="In progress")

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 10,996 User Group Leader on at
    Filter in Power Apps
     Use below function in the items property of your gallery.
               
                                       Filter(EssaiNews Status=Dropdown1.Selected.Value)
     
     
    Dropdown1.Selected.Value is the value selected in dropdown, this dropdown is filling distinct values from EssaiNews table Status field

    You can use below function on items of dropdown
    Distinct(EssaiNews ,Status)
     
     
  • Suggested answer
    Abhi Profile Picture
    Abhi 120 on at
    RE: Filter in Power Apps

    HI De Yves,

    I have an idea if you interest try this one.

    Create a one text field(TextInput) and button. Select the Button control (Find) and apply this below formula on its OnSelect property as:

    OnSelect = ClearCollect(

      EssaiNews,

       Filter(

           'Listname',

           status = Value(TextInput.Text)

       )

    );

    OR

    try this only in your field

    Filter(

           'Listname',

           status = Value(TextInput.Text)

       );

    Thanks,

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans