cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

help eneded badly. Collection is not showing all items

Hello Everyone,

 

I am using a collection from two excel data source. ClearCollect(Mycollection,Goals_final);Collect(Mycollection,Goals_final2)

 

When I filter the collection on the gallery, it doesn't show the information. I even removed filter ad set

items.property = Mycollection. When I do this, I can see only 150 items. There are almost 2000 items in my each excel file.

gallery filter: Filter(Mycollection,Lower(Email)=Lower(userinfo))

 

Is there a limit on collection? I even tried to to flter data directly from one single excel file. But it still shows less content.  is there limit on how many items it can show through Gallery?

17 REPLIES 17
Highlighted

@v-yutliu-msft,

 

thanks for your suggestion. For sharepoint data source, can I use something like this on my Gallery items?

 

!IsBlank(LookUp(EmailList, Lower(useremailcolumn) = Lower(userinfo)).useremailcolumn)  

Highlighted

@rajkumar88 

As suggested, moving to SharePoint will give you more options in order to gather the information you need.  Excel needs a lot of pulling apart in order to deal with large lists (i.e. multiple tables in order to have large lists).

 

As for your formula for the Items - no, that will not work.  The Items property will be expecting a table of records.  Lookup produces only one record.  So, your Items property formula would be more like this:

   Filter(EmailList, Lower(useremailcolumn) = Lower(User().Email) )

 

This will give you all records that match the criteria of the current user's email that are found in the datasource.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!
Highlighted

@RandyHayes,

 

now the fun part is to load those 6000 rows to sharepoint list. LOL.

Highlighted

@rajkumar88 

Actually, that is not too challenging.  I would "clean" the Excel file with only the information columns you need in your SharePoint list.  Then create a custom list in SharePoint by using the Import Excel file.  You can specify that file and table and it will do the work for you.  

It's a one time deal (you can't re-import again to that list) so get it right...try to do it to a list you can discard first to see what the results are.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!
Highlighted

@RandyHayes,

 

Well I am getting below error when I try to import

 

the specified spread sheet is not a valid spread sheet or contains no data to import. is it because of the content which might have rules somewhere? This content was exported from one of the tool and did a copy paste to new excel file with the column that I need. But each column as  an apostraphee tagged to it. I am not able to remove that, not sure what kind of rule it is.

Highlighted

@rajkumar88 

Yes, so always good to start with a test list...

 

First make sure your Excel file is exactly how you want it.  This means that date columns should be formatted as date columns, number columns should be numbers, text should be text, etc.

Make sure all the column header names are exactly as you want them to be - I would remove any spaces from the names at this time.  You can add them back if needed once in SharePoint.

Make sure you have a Table defined for the entire table of data in your file (select all the columns and all the rows and do an "Insert Table")

 

Then try your import again.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!
Highlighted

@RandyHayes,

 

I did formatted as yabel and removed all the numbers form the content as well "/" "," fromt he content. Still I am getting same error.

So i used format as tabel and added a tabelname instead of instert a tabel. is it wrong?

Highlighted

@rajkumar88 

Yes, format as table will produce a table as well.  This is defintiely what you need.  Although you can actually select a range during the import, it is by far better to select an existing table in your Excel file.  Just make sure the table is inclusive of everything you need.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,957)