Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Items Function of Gallery For Datverse tabel as Dtasource

(1) ShareShare
ReportReport
Posted on by

HI Everyone,

 

I have a gallery in my PowerApps, Dataverse table as the DataSource 

 

Filter(

    'Risk Lambard Lists',

    'Risk_ID '.'RISK ID' = VarBootomUpRiskID,

    'Control Type (Risk Lambard Lists)'.Detective = "Detective" && 'Presently In Place' = true

)
 
it is showing an error in the not equal Part <>
Control Type is a Choice column in my Dataverse Table, I want to filter the gallery based on the control type 
if the control type Value is <> Detective and Presently in place is true, only those details should show in Gallery 
 
But is showing an error Incompatible types for comparison. These types can't be compared: OptionSetValue (Control Type (Risk Lambard Lists)), Text.
 
I tried adding Value and text also , then aslo showing the errror 
 

 

Danny_Dicaprio_1-1719919143731.png

 

 
Could anypne please help me to fix this isssue
  • Danny_Dicaprio Profile Picture
    on at
    Re: Items Function of Gallery For Datverse tabel as Dtasource

    Thanks for the continued support @anandm08 

     

    I fixed the issue the items Property , yes Control Type is a Choice column

     

    since my datasource is dataverse tables , the choice values shows in a different way 

     

    Filter(
    'Risk Lambard Lists',
    'Bottumup Risk_ID '.'RISK ID' = VarBootomUpRiskID,
    'Control Type' <> 'Control Type (Risk Lambard Lists)'.Detective && 'Presently In Place' = true
    )



  • anandm08 Profile Picture
    1,936 Super User 2025 Season 1 on at
    Re: Items Function of Gallery For Datverse tabel as Dtasource

    @Danny_Dicaprio  what is this 

    'Control Type (Risk Lambard Lists)'

    is it a column name with data type of choices? 

  • Danny_Dicaprio Profile Picture
    on at
    Re: Items Function of Gallery For Datverse tabel as Dtasource

    Hi thanks for the response  @anandm08 

     

    Still Iam facing the same issue

     

    Danny_Dicaprio_0-1719978197213.png

    it is showing Name isn't valid value isn't recognized 

  • anandm08 Profile Picture
    1,936 Super User 2025 Season 1 on at
    Re: Items Function of Gallery For Datverse tabel as Dtasource

    hi @Danny_Dicaprio ,

    try this:

     

    Filter(
     'Risk Lambard Lists',
     'Risk_ID '.'RISK ID' = VarBootomUpRiskID,
     'Control Type (Risk Lambard Lists)'.Value <> {Value:"Detective"} && 'Presently In Place' = true
    )

     

    try using this: <> {Value:"Detective"}

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard