Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Different functionality for same excel document on Sharepoint and Local Upload

(0) ShareShare
ReportReport
Posted on by 9

Hi all, 

this is an interesting one for me.

 

I have a combined search and filter function applied to gallery items. 

Search(Filter(Table1, ProductTypeID='Product Type Gallery'.Selected.'Type ID'), Searchbox.Text,"ProductNumber","ProductName")

 

The code above works perfectly when the Excel data source is uploaded as static data (Image label 2), but it does not work using the same file from SharePoint (Image label 1).

Snipaste_2023-07-10_11-59-26.png

 

Is this expected behaviour? If not, what may be causing this issue?

 

Thanks

 

  • Verified answer
    dodzikojo Profile Picture
    dodzikojo 9 on at
    Re: Different functionality for same excel document on Sharepoint and Local Upload

    Resolved using the below instead.

     

    With(
     {
     MyData: Filter(
     Table1,
     ProductTypeID = 'Product Type Gallery'.Selected.'Type ID'
     )
     },
     Search(
     MyData,
     Searchbox.Text,
     "ProductNumber",
     "ProductName"
     )
    )

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard