Announcements
Hi @Anonymous ,Can you please explain more about this code or your business need? From my understanding, there is one is there in Sort Syntax. below is the correct syntax for sorting. Anyway, there is another issue also. Please explain more about your business need.ThanksSort(vList,Modified,Descending)
This my Emplyoee Table
THis My Holiday List table
I need to Show Based on User login and location wise Holiday list
Example-If user belongs to India Gallery will show Only India List And User belongs to Singapore THen it will show Only Singapore holiday
Thanks @Anonymous .Can you please share the employee column name and column type in the Employee Table?
It Showing In Screenshot same i have for both table
I assume the alias name is the employee column and the datatype is "Single line of text". My suggestion is With({userLoc:LookUp('<EmployeeTableName>'),AliasName = User().FullName,Location)},Filter('<HolidayTable',Location = userLoc))
Its Showing Error
With({userLoc:LookUp('Employee Tables'),AliasName = User().FullName,Location)},Filter('Holiday Lists',Location = userLoc))This is the correct syntax, you added extra bracket in Lookup
NO Error But Still No data is showing
I used This Way also Its shwoing error i think with is for shrepoint not for dataverse
The problem is with the alias name comparison with the currently logged user. The best practice is to compare the mail value of the user rather than the display name. so please compare the user email to the user display name. Anyway, the syntax is correct so you have to check the right condition. If you find any email column or person column, please user the column for comparison.Thanks
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.
WarrenBelz 358 Most Valuable Professional
11manish 214 Super User 2026 Season 2
Mohsin Ali 185