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 / How to calculate avail...
Power Apps
Unanswered

How to calculate available number of leaves

(0) ShareShare
ReportReport
Posted on by 14

Hi, I want to display available no. of leaves which is calculated on the basis of employment type of the employee and leave type using SharePoint lookup. Please help me with this.

 

I will try to explain it with an example, When an Employee selects leave type Annual Leave, it should check the employment type of the employee using User Mapping List (Ref: image 2), then it should check how many no. of leaves can an employee take, based on its employment type (Ref: image 3), so if the employee is permanent, and applies for annual leave, it should reflect Available leaves = 15, if the employee has not taken any leave in the past.

(Image 1)

Anjali_Priya_1-1669021810362.png

(image 2)

 

Anjali_Priya_0-1669021400328.png

(image 3)

Anjali_Priya_2-1669022302151.png

 

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard