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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Weird behavior of sear...
Power Apps
Unanswered

Weird behavior of search function in Dataverse for teams

(0) ShareShare
ReportReport
Posted on by 47

Hello there,

 

I know the topic has been discussed in various forums but am still confused.

As per Microsoft Documentation https://docs.microsoft.com/en-us/connectors/commondataservice/

anubhav247_1-1622226504858.png

Search function is not in the list of Delegable functions.

As per my understanding, If i set data row limit to 1 then Search function will fail to get the items at row numbers greater than 1. So i set it to 1

anubhav247_3-1622226738409.png

 

Now here is my Data verse for teams table.

anubhav247_2-1622226694269.png

Skill id column is a Auto-number column here and i am telling you this just to prove that the first item in the table is C#.

 

Now am using the search function as below

anubhav247_5-1622227251146.png

How come a record sitting at 4th position gets displayed?

 

I moved on thinking that documentation might needs updation.

 

I change the search function to..

anubhav247_6-1622227869489.png here it fetches 4 rows when used in a gallery and a combobox.

but it fetches only 1 in a list box.

 

Question 1.

Am i looking at the right documentation or there exists a separate documentation for dataverse for teams?

Question 2.

Is Search function really delegable in Dataverse for teams app?

Question 3.

Why it shows only 1 row in listbox while it shows 4 in both gallery and combobox?

 

Note:- am using fluent ui controls.

 

Regards,

Anubhav

I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @anubhav247 Now there are 2 Dataverse connectors. First the legacy, which is on its way out.

    CNT_2-1622236155323.png

    Then comes the new one.

    CNT_1-1622236117438.png

     

    The document you are looking at is the old one.

    The doc for the new one is here https://docs.microsoft.com/en-us/connectors/commondataserviceforapps/

    But, unfortunately there is no mention of delegation there. So its all going to be guess work, I guess!

     

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @anubhav247 ,

     

    Search function is delegable in dataverse, please see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview#delegable-functions.

     

    If it was not delegable it usually warns me as I am working with it in the canvas app like shown here (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview#delegation-warnings)

     

    Not sure on your listbox but did you remove the setting with data row limit of 1?

     

    Hope this helps.  Please accept if answers your question or Like if helps in some way.

     

    Thanks,


    Drew

     

     

     

  • anubhav247 Profile Picture
    47 on at

    Row limit is 1. 

  • Prakash4691 Profile Picture
    1,332 on at

    @anubhav247 ,

    Answers below for your question,

    1. No, it is a legacy one. Attached is the latest one for Dataverse delegable functions and operations (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-common-data-service#power-apps-delegable-functions-and-operations-for-dataverse).

    2. yes, Search is a delegable function for Dataverse. you can refer the above link.

    3. Search is working as expected. You are searching letter y in description field of Skills table. Search function is case-insensitive (even with single letter it searches the column value). In your case, python is the only word that has y in it, that is why it is displaying only one record. If you use any non-delegable function then Data row limit comes into picture.

     

    I hope it answers your question. Kindly give kudo and accept it as solution.

     

     

    Regards,

    Prakash

  • anubhav247 Profile Picture
    47 on at

    Hey Prakash,

     

    I do not see search function listed in the list of delegable functions on the link you shared above.

    anubhav247_0-1645123770217.png

     

     

     

    Can you share a snapshot if you see it..?

    Regards,

    Anubhav

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard