web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The Requested Operatio...
Power Apps
Unanswered

The Requested Operation is Invalid. Fetching Items Failed.

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

In my app I am trying to display a list of brands in a gallery with a list of retailers for each brand in a nested gallery. Each retailer also has an amount tied to it. 

 

I have a single column SharePoint list that contains all the retailers. (In my code, this list is altered a little to get rid of the hidden SharePoint columns).

Retailers.PNG

 

I have another list where all of the data is stored, once written to. The relevant columns are in this screenshot:

DataByBrand.PNG

 

In my app I have a temporary collection that I read and write to before submission. This collection is updated with information whenever the value of the department dropdown changes.

 

The code for the OnChange of that dropdown:

ClearCollect(
 DepartmentBrands,
 Filter(
 ShowColumns(
 Brands,
 "Title",
 "Brand"
 ),
 Title = TV2.Department
 )
);
ClearCollect(
 Collect2,
 AddColumns(
 DepartmentBrands,
 "Retailers",
 AddColumns(
 ShowColumns(
 RenameColumns(
 Retailers,
 "Title",
 "Retailer"
 ),
 "Retailer"
 ),
 "Amount",
 LookUp(
 DataByBrand,
 Title = TV.Department && Brand = Brand && Retailer = Retailer
 ).CurrentAmount,
 "Parent",
 DepartmentBrands[@Brand]
 )
 )
)

Sorry if it's a little sloppy (if you have any suggestions about that, please let me know).

 

The error arises from the LookUp Function, more specifically "Retailer = Retailer" This is a placeholder because I do not know how to correctly call the column "Retailer" from the nested table, "Retailers".

 

With everything I have tried, I have gotten the runtime error, "The Requested Operation is Invalid. Server Response: DataByBrand Failed: Fetching Items Failed."

 

How do I correctly call the data? Thank you in advance.

 

 

Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard