
Hi all,
The Leave Request app is just about perfect as is for our needs with the exception of the static allotment of vacation days.
Our corp employees have a varying number of vacation days and the app would need to know this to be effective.
I tried to take advantage of the connection with the user profile and fill in another value with the users entitled days, e.g. Country = "25" and the update the OnStart Vacation: _myProfile.Country, that failed. I also tried Vacation: number=(_myProfile.Country) and that failed. When I highlight the string, it shows me the field value in the "preview" screen (down where the "format text" button is, but the app sees the "Current Balance" as 0.
Can my simple method be used? Is there another / better way where it would pull this information from a table?
Any help is greatly appreciated.
Be Well, Stay Safe.
Hi @JMD70ASPEC , I made a similar app and this blog helped me a lot: https://powerapps.microsoft.com/pt-br/blog/excluding-weekends-and-holidays-in-date-differences-in-powerapps/
For holidays I used Sharepoint list for save them and pull information.
Hope it helped you
If this post answers your question, please mark my post as a solution!
If you like my post please click thumb up