can u tell us what the exact issue is that you are facing?
still its not working
Hi @kritika26 try this:
If(
!IsEmpty(
Filter(
'WFH Form Info',
Title = ThisItem.Title &&
DateValue(_dateSelected) >= DateValue(WFrom) &&
DateValue(_dateSelected) <= DateValue(WTo) &&
WStatus.Value = "Approved"
)
),
"Work From Home",
If(
!IsEmpty(
Filter(
'Leave Form Info',
Title = ThisItem.Title &&
DateValue(_dateSelected) >= DateValue(StartDate) &&
DateValue(_dateSelected) <= DateValue(EndDate) &&
Status.Value = "Approved"
)
),
"On Leave",
"In Office"
)
)
Please click Accept as solution if my post helped you solve your issue. ✔️ This will help others find the solution to this problem. It also closes the item. Remember, you can accept more than one post as a solution.
If the content was useful in other ways, please consider giving it Thumbs Up. 👍
Thanks
Andrew
WarrenBelz
146,670
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional