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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power app - custom con...
Power Apps
Unanswered

Power app - custom connector response

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

I have created custom connector to call rest api end point and storing the response in the collection. collection is having multiple table inside it like nested tables. I am able to pull the fields by using "." but this is not working when I use it inside the grouping. 

 

collections.png

SortByColumns(AddColumns(GroupBy(Filter(opportunitydet
,input_Search_Store_2.Text in store.address.streetAddress),"store.address.streetAddress","completionStatus","storeLocation","name"),"sumTotal",Sum(name,opportunityDollarSizeRetail)),"sumTotal",Descending)

 

getting message that "specified column store.address.streetAddress does not exist. the column with most similar name is "store"

 

any help here is appreciated 

 

Thanks

Jithesh

 

Categories:
I have the same question (0)
  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @jithubalan 

    Since store is a child table, it isn't possible to reference it using syntax that looks like this:

    store.address.streetAddress

     

    Instead, to reference the first record in the store table, you would use this syntax:

    First(store).address.streetAddress

    If address is also a table, you would use this to reference the first address address in the table.

    First(First(store).address).streetAddress

     

  • jithubalan Profile Picture
    6 on at

    Hi timl,

     

    thanks for the reply. I tried this solution but not working. Problem is only in groupby. in normal statement store.address.streetAddress is working.

    jithubalan_0-1611094959899.png

     

  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @jithubalan 

    The error message is saying that the column divisionRepresentative doesn't exist.

    If in the collection's view, you click into the store cell, can you confirm what you see? Can you see a result set that includes the column divisionRepresentative?

  • jithubalan Profile Picture
    6 on at

    Hi timl,

    Thanks for looking into it. yes I could see the field in the collection.

    jithubalan_1-1611236823025.png

     

     

  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @jithubalan 

    The issue here is that it's not possible to group data using the syntax "(First)store...".

    The argument to the GroupBy function expects a column name, whereas First is a function.

    Perhaps you could describe what you want to sum, and the full data structure of your custom connector response.

  • jithubalan Profile Picture
    6 on at

    Thanks timl. is there a way that we can flatten json responses and keep it in one table.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard