cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
bconley
Level: Powered On

how can I use a filter to limit the number of records coming from an Azure Blob?

I am trying to look up files within an Azure blob based on a project number.  The project number is part of the DisplayName.  I would like to limit the items returned based on a "project number".

I'm doing this now, but I am over 5000 items in the blob. So, if I filter after this collect, I may not have all of the items I want.  ClearCollect(Blobs, AzureBlobStorage.ListFolderV2(MyBlob_Id,{useFlatListing:true}).value)

 

Should I be doing this a different way?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: how can I use a filter to limit the number of records coming from an Azure Blob?

Hi @bconley ,

Firstly, if you want to filter your blob files based on a specific Project Number, please consider modify your formula as below:

ClearCollect(
Blobs,
Filter(
AzureBlobStorage.ListFolderV2(MyBlob_Id,{useFlatListing:true}).value,
"The specific Project Number you want to filter" in DisplayName
)
)

 

In addition, I think your thought is correct. Currently, within PowerApps, the Collection could only retrieve 2000 records at most from other data source server once time.

Currently, the Azure Blob Storage connector is not a delegable data source in PowerApps, you could not delegate the data process to your Azure Blob Storage, instead, you could only process the data locally within your app.

In default, you could only process 500 records locally at most. You could also consider change the "Data row limits for Non-delegable queries" option to maximum value -- 2000 within Advanced settings of App settings of your app, then you could process 2000 records locally at most.

More details about Delegation in PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview

 

If there are more than 2000 records which match the specific Project Number you want to filter in your Azure Blob Storage, I afraid that there is no way to achieve your needs in PowerApps currently.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: how can I use a filter to limit the number of records coming from an Azure Blob?

Hi @bconley ,

Firstly, if you want to filter your blob files based on a specific Project Number, please consider modify your formula as below:

ClearCollect(
Blobs,
Filter(
AzureBlobStorage.ListFolderV2(MyBlob_Id,{useFlatListing:true}).value,
"The specific Project Number you want to filter" in DisplayName
)
)

 

In addition, I think your thought is correct. Currently, within PowerApps, the Collection could only retrieve 2000 records at most from other data source server once time.

Currently, the Azure Blob Storage connector is not a delegable data source in PowerApps, you could not delegate the data process to your Azure Blob Storage, instead, you could only process the data locally within your app.

In default, you could only process 500 records locally at most. You could also consider change the "Data row limits for Non-delegable queries" option to maximum value -- 2000 within Advanced settings of App settings of your app, then you could process 2000 records locally at most.

More details about Delegation in PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview

 

If there are more than 2000 records which match the specific Project Number you want to filter in your Azure Blob Storage, I afraid that there is no way to achieve your needs in PowerApps currently.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
bconley
Level: Powered On

Re: how can I use a filter to limit the number of records coming from an Azure Blob?

thanks for this great response.  this helps a lot.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 202 members 4,611 guests
Please welcome our newest community members: