Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Filter Dataverse Table with multiple Or

(0) ShareShare
ReportReport
Posted on by 67

Hello together,

 

i have a Tablecontrol in a Canvas App and as the Datasource i am using a Dataverse table.

In the Table i have 3 Textcolumns. Now i want to Filter the table that only records are shown if one or all of the columns are not empty. 

 

I tried

 

Filter(
'Worker Times',
Or(
!IsBlank(Comments),
!IsBlank(Comments2),
!IsBlank(Comments3)
)
)

 

but that´s not working. If i use only one Parameter in the Filter, like !IsBlank(Comments), of corse it works.
But i need that it works if one or all of the fields are NOT empty, the record should be included in the result.

 

thx in adv.

 

Manfred

  • MB29 Profile Picture
    MB29 67 on at
    Re: Filter Dataverse Table with multiple Or

    Hey Rajkumar,

     

    thx for your response, but sadly it does not work either :(.

    If i use it i get no results which is very very strange.

     

    MB29_0-1702802792955.png

     

    and when i use only one !IsBlank i get a result

     

    MB29_1-1702802957488.png

     

  • Rajkumar_404 Profile Picture
    Rajkumar_404 555 on at
    Re: Filter Dataverse Table with multiple Or

    Hi @MB29 

     

    Try this,

     

    Filter('Worker Times', !IsBlank(Comments) || !IsBlank(Comments2) || !IsBlank(Comments3))

     

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

     

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

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,858

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,505

Leaderboard