web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Delegation problem by ...
Power Apps
Answered

Delegation problem by compare dataverse lookup field value with combobox

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I have a delegation warning when i try to check if a value from a dataverse lookup field is in a combobox multi values

Here's the code : 

jd71_0-1640256960819.png

What i'm doing wrong here ? 

 

Thanks for help.

  • Ram Prakash Duraisamy Profile Picture
    5,891 Super User 2026 Season 1 on at

    Hello @jd71 ,

     

    Instead of IN operation try using =(Equal to) Operator. 

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

     

    Because as GUID will be a Unique it will be good to use th

  • jd71 Profile Picture
    on at

    Hi @rampprakash 

    I get an error by using = operator. 

    Since it trying to compare a text value with a table

  • Ram Prakash Duraisamy Profile Picture
    5,891 Super User 2026 Season 1 on at

    Hello @jd71,

     

    Can you please try this

     

    Write Below Code in OnChange of ComboBox

     

     ForAll(
     ComboBox1.SelectedItems As aChoice,
     ClearCollect(
     colYourCollection, ComboBox1.SelectedItems.Value
     )
     )

     

    Once done try using below code in your Query 

     

    Department/Pole.Libelle in colYourCollection

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @jd71 :

    The pint is that 'in' is not delegable.

    If users will only select at most 1 option in ComboBox2_2, then you can try:

    replace

    in ComboBox2_2.SelectedItems.Libelle

    with

    = ComboBox2_2.Selected.Libelle

    If the user may select multiple options in ComboBox2_2, then I am afraid that the delegation problem cannot be solved.(But as long as the number of records in your data source does not exceed 500-2000, it does not matter even if there is a commission warning)

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard