Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
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 11,003 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans