Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Filtering datatable

Posted on by 79

I have the below formula to look up names in a list and this filters my Data Table but if nothing is selected I want to show everything in the list

 

The below works as is but the data Table remains blank unless you select something

Filter('SharePoint List', 'SharePoint Column' = Filter_1.Text)

 

The filter_1.Text gets its data from a Combo box "Dropdown1" i thought it would be easier to pull the filter from a text field

  • Mclean2023 Profile Picture
    Mclean2023 79 on at
    Re: Filtering datatable

    Worked perfectly, after i posted i was thinking about how i add multiple filter fields so a user can either filter by one column or the other or both 

     

    Filter('SharePoint List', 'SharePoint Column 1' = Filter_1.Text)
    Filter('SharePoint List', 'SharePoint Column 2' = Filter_2.Text)

  • Verified answer
    Re: Filtering datatable

    HI @Mclean2023 ,

     

    Please try:

    Filter('SharePoint List', 'SharePoint Column' = Filter_1.Text || IsBlank(Filter_1.Text))

     

    Best Regards,

    Bof

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard