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 / Expense App for manage...
Power Apps
Answered

Expense App for manager screen. Pending and Approved amount

(0) ShareShare
ReportReport
Posted on by 313

Hi all, thank you for taking your time to see this message.

 

i am trying to do a expense app for office to use.
It will contain a employee screen and Manager Screen.

There is 2 sharepoint list, 1 expense list 1 lineitem list.


in the Manager Screen, i have done adding the filter to filter ApproverNamer on the OnVisible, set screen to Pending button to show only pending status..

and Hide Open tab so that it will not show their own ongoing claim.

Set(ExpenseStatus,"Pending");
Set(ExpenseSorting,Descending);
Filter(Expenses, User().FullName=ApproverName.DisplayName);
ClearCollect(OpenReports,Filter(Expenses,Status.Value = "Open").ID);
ClearCollect(ApprovedReports,Filter(Expenses,Status.Value = "Approved").ID);
ClearCollect(PendingReports,Filter(Expenses,Status.Value = "Pending").ID);
Refresh(Expenses);
Refresh(LineItems)

 How can i filter the Pending and Approved amount to be showing the amount the is for the manager to approve or approved.
this is what it have been set

"$" & If(Sum(Filter(LineItems,Text(ReportID) in PendingReports.ID),Cost)>0,Text(Sum(Filter(LineItems,ReportID in PendingReports.ID),Cost),"[$-en-US]#,###.00"),0)

WeiMingLeong_1-1649821488202.png

 

 

Categories:
I have the same question (0)
  • Wei Ming Leong Profile Picture
    313 on at

    anyone can help?

  • Verified answer
    AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    I recommend Sum on the values brought back by the galleries as you advised delegation would not be an issue. This should be a nice quick solution 🙂

     

    let me know if it works

  • Wei Ming Leong Profile Picture
    313 on at

    Hi @AJ_Z ,

    This work, Thank you for your help again.!

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    always happy to help

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard