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 / Gallery doesn't show a...
Power Apps
Answered

Gallery doesn't show all the items

(0) ShareShare
ReportReport
Posted on by 1,066

Dear community,

On my form I have a gallery connected to a Dataverse tabel that contains 5000 records and a combobox called cbAfdelingen for displaying the members of a department. But when I choose a department in the combobox I do not get to see all the employees.

 

Code of the combobox cbAfdelingen:
Sort(Distinct(dbEmployeeDirectory;Afdeling);Value;SortOrder.Ascending)

Code of the Gallery:

If(
 !IsBlank(SearchBox.Value) || !IsBlank(cbAfdeling.Selected.Value) || !IsBlank(cbTitel.Selected.Value);
 SortByColumns(
 Search(
 Filter(
 dbEmployeeDirectory;
 cbAfdeling.Selected.Value = Blank() || Afdeling = cbAfdeling.Selected.Value;
 cbTitel.Selected.Value = Blank() || Titel = cbTitel.Selected.Value
 );
 SearchBox.Value;
 "crcfa_voornaam";
 "crcfa_achternaam";
 "crcfa_personeelsnummer";
 "crcfa_gebruikersid";
 "crcfa_computer"
 );
 "crcfa_achternaam";
 If(
 cbSort.Selected.Value = "A-Z";
 SortOrder.Ascending;
 SortOrder.Descending
 )
 )
)

 

Who can help me ?

 

Gr. Peter 

 

 

Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @PeKi72 

     

    Do you have any delegation warnings in your app? Maybe its a delegation issue for your problem

  • CU16021406-1 Profile Picture
    1,066 on at

    That is the strangest thing. No Delegation warnings 

  • CU16021406-1 Profile Picture
    1,066 on at

    I think it is the distinct command. Because i have also more than 500 departments

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard