Announcements
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.
try Items property for your gallery: Filter('Created By' = User().FullName)
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)
Was thinking this is exactly what I said then I realized i forgot to type YourListName xD ty for seeing that and correcting it
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.
ountRows(Filter(Expenses, 'Expense Status' = [@'Expense Status'].Approved && 'Created By'.'Full Name'=User().FullName )) . This is the code i used ,and it worked perfectly.
I need to make that application but as a database list of sahrepoint can someone help me please
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.
This application is in collections and I can't find how to establish the connection. Could you help me please?
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?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 243 Super User 2026 Season 2
WarrenBelz 190 Most Valuable Professional
Mohsin Ali 135