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 Apps
Answered

Expense Report App

(0) ShareShare
ReportReport
Posted on by 40

Hello everyone,

 

 

I created a Canvas App  Expense Reporting App, but the App shows all expenses been filed by everyone,I want it to filter in such a way that , a user can only see his/her expense alone when you are in the app.

C6AE26C1-717B-48E0-A3C1-13B3E9EFF096.png
Categories:
  • mmollet Profile Picture
    3,187 on at

    try Items property for your gallery: Filter('Created By' = User().FullName)

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Savage76,

    Assume that you have the SharePoint list as the data source.

    You should set your Gallery Items property as below:

    Filter(list,'Created By'.Email=User().Email)
  • mmollet Profile Picture
    3,187 on at

    Was thinking this is exactly what I said then I realized i forgot to type YourListName xD ty for seeing that and correcting it 

  • Savage76 Profile Picture
    40 on at

    CountRows(Filter(Expenses, 'Expense Status' = [@'Expense Status'].Approved)) This is the code i use to display the number of approved request in the expense app, but i need to filter the app to show only approved request by a user , the data is saved in an entity ,with created by as the column name and the column displays fullname in it.

  • Verified answer
    Savage76 Profile Picture
    40 on at

    ountRows(Filter(Expenses, 'Expense Status' = [@'Expense Status'].Approved && 'Created By'.'Full Name'=User().FullName ))   . This is the code i used ,and it worked perfectly.

  • diegotr Profile Picture
    6 on at

    I need to make that application but as a database list of sahrepoint can someone help me please

  • Savage76 Profile Picture
    40 on at

    There's a template for SharePoint already, when you enter into your environment, click on Create, then scroll down, you"ll see Expense Report App, the template was done with SharePoint as database.

     

     

    I hope this answers your question, you should mark it as solution if it does.

  • diegotr Profile Picture
    6 on at

    This application is in collections and I can't find how to establish the connection. Could you help me please?

  • Savage76 Profile Picture
    40 on at

    How about I share you my solution, tho i connected it to Dataverse, but you can also build a similar database in sharePoint and connect to it…do you mind I share you?

  • diegotr Profile Picture
    6 on at

    The problem is that I don't have a premium license, so I need to make it on the SharePoint database using the standard license, since I tried with a premium solution and well, I don't have it

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard