Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

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,

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: Spliting sharepoint list for optimisation ?

    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,

  • CT-25070802-0 Profile Picture
    43 on at
    Re: Spliting sharepoint list for optimisation ?

    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...

     

  • v-jefferni Profile Picture
    on at
    Re: Spliting sharepoint list for optimisation ?

    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,

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,653 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard