Forum Discussion
Casi
Helper I
4 years agoCalculate absence days with no end date
Hi, I wonder if someone could help me with my query. I am trying to calculate days of staff absence. I have created a query which works for the majority of absences apart from ones that have...
- 4 years ago
Use this
= {Number.From([Absence.Start])..Number.From(if [Absence.End]=null or [Absence.End]="" then Date.From(DateTime.FixedLocalNow()) else [Absence.End])}
Vijay_A_Verma
Most Valuable Professional
4 years agoUse this
= {Number.From([Absence.Start])..Number.From(if [Absence.End]=null or [Absence.End]="" then Date.From(DateTime.FixedLocalNow()) else [Absence.End])}