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 / Spliting sharepoint li...
Power Apps
Unanswered

Spliting sharepoint list for optimisation ?

(0) ShareShare
ReportReport
Posted on by 43

Hello, 

 

I'm developping an application with a sharepoint list for each department (around 50). In the list there is around 20 classical fields (person, text, number...) but there is 3 heavy text fields where I saved a logo in binary (around 150 000 chars). 

 

Some apps dministrators can switch between departements with a combobox and I find that the combobox loading is long (5 to 10 seconds). And I will add 50 more departements in the next month, so I'm worried about the performance. 

 

My Idea is to create a second list with only the 3 heavy text fields to avoid a long load for switching departements. 

 

Do you think it will works ? 

Another ideas ?

 

Thanks a lot,

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @Camillee ,

     

    What do you have in Items property of the Combo box currently? When you say loading long, which did you refer to, the Combo box selections or Gallery items?

     

    Best regards,

  • CT-25070802-0 Profile Picture
    43 on at

    Hi, 

     

    The combobox control have "Items" : SortByColumns(Collection.departementName;"departementName", Ascending). The combobox is long to be filled. 

     

    I found a piece of code which doesn't seem beautifull... on OnVisible of the page with combobox

    Refresh(Entreprises);;
       ClearCollect(

         MesEntreprisesTemp;

         MesEntreprises
    );;
    Clear(MesEntreprises);;
    ForAll(
       MesEntreprisesTemp As Temp;
       Collect(
          MesEntreprises;
          LookUp(Entreprises;ID=Temp.ID)
         )
    )

     

    "MesEntreprises" is a collection which contains the departement for which the administrator have the right. This collection is created when the apps is launched but the data could have been, modify since that...

     

  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Camillee ,

     

    If the logo columns are included in the collection and the data source Entreprises, it will cost much time. If logo columns are not being used in the Combo box or not needed in the Collection, you can change the formula as below:

    Refresh(Entreprises);;
     ClearCollect(
     MesEntreprisesTemp;
     MesEntreprises
    );;
    ClearCollect(
     MesEntreprises;
     ForAll(
     MesEntreprisesTemp As Temp;
     DropColumns(LookUp(Entreprises;ID=Temp.ID);"logo1";"logo2";"logo3")
     )
    )

     

    Best regards,

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard