Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to exclude weekends on queries?


Hi,

May I know how will I excempt weekends for my query below? My condition should only count working days..

if([POSTING DATE]-[Date of Transmittal]<=2,'Within','Over') as PaymentSLA,

Thank you

4 Replies
preminqlik
Specialist II
Specialist II

try like this

if(networkingdays([POSTING DATE],[Date if Transmittal])<=2,'Within','Over')          as               PaymentSLA

Not applicable
Author

Hi,

It didnt work. It all fell to within SLA. As per checking the raw data, there should be some over SLA.

Thank you

tresesco
MVP
MVP

The function is NetWorkDays(). With proper use, it should work. If you can't get it worked, try to share your sample app here.

Alejandro_Hernández
Former Employee
Former Employee

try with

if((NetWorkDays([Date of Transmittal],[POSTING DATE])<=2),'Within','Over') as   PaymentSLA