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 / Click to show details ...
Power Apps
Answered

Click to show details from another Sharepoint list

(0) ShareShare
ReportReport
Posted on by 121

Hi Community,

 

I have a SharePoint List named Header and another SharePoint List named Details. Header is a report header which has fields such as Title, HeaderID1, TotalClaimAmount, ClaimSubmission Date. Details shows the individual expense items under the header.

 

In PowerApps, I have a HomePage screen shown below. The gallery is from Header. The idea is that once I click on ">" icon, it will bring me to another screen with individual expense details from the report.

 

hmpage.PNG

 

This is what I get when I click on the Homepage to navigate to the report details. The bottom half of the screen is a gallery with datasource Details. It should extract from Details all the expense details under the same report. All expense details are set to have the same ID as the report they are under.

 

details.PNG

 

 

Under Total Claim Amount, it should display the total claim amount shown in Header, after doing a match between the ID under Summary.Selected and HeaderID1 under Header.

 

I do not know how to write the formula for this. I tried Filter(Header, Summary.Selected.ID = Header1) but I do not know how to include TotalClaimAmount in.

 

Kindly advise. Thank you!

Categories:
I have the same question (0)
  • elleeyl Profile Picture
    121 on at

    -

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @elleeyl ,

    Do you mean that: in homescreen, you have a gallery for Header, you want to display related Details items based on the selection of homescreen?

    If so, I suggest you set the buttom gallery's Items in individual expense details screen:

    Filter(Details,ID=galleryhomescren.Selected.HeaderID1)

    set the top display form in  individual expense details screen:

                                             datasource: Header

                                             Item :

    galleryhomescren.Selected

    Then, in individual expense details screen, the top place will display the item of Header that you select in homescreen.

    The buttom place will display the filtered Details items.

     

     

     

    Best regards,

  • Verified answer
    AnneZC Profile Picture
    65 on at

    Hi @elleeyl  and @v-yutliu-msft 

     

    I just wanted to add some clarification here. The ID field is generated by SharePoint and is unique...each item in a list will have a different ID. You said that "All expense details are set to have the same ID as the report they are under" but I think you must mean that all the Details records have another field that contains the ID of the Header that they are related to. Is that the field that is called HeaderID1 and is it on the Details list?

    I'm presuming that it is the Gallery on the Home Page that you are referring to as "Summary".

     

    If so, your bottom gallery will need to use that column name for the Gallery's items:

    e.g 

    Filter(Details,HeaderID1=Summary.Selected.ID)

     

    Are you trying to calculate the value of Total Claim Amount from the list of details that are related to this Header, or are you trying to display the value from the selected Header record?

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard