Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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

 

  • jithubalan Profile Picture
    6 on at
    Re: Power app - custom connector response

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

  • timl Profile Picture
    35,193 Super User 2025 Season 1 on at
    Re: Power app - custom connector response

    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
    Re: Power app - custom connector response

    Hi timl,

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

    jithubalan_1-1611236823025.png

     

     

  • timl Profile Picture
    35,193 Super User 2025 Season 1 on at
    Re: Power app - custom connector response

    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
    Re: Power app - custom connector response

    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
    35,193 Super User 2025 Season 1 on at
    Re: Power app - custom connector response

    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

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1