Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8975

Re: Working day formula that excludes weekends and holidays in WEBI

$
0
0

If you have a date object in universe, you can figure out if it is a Saturday or a Sunday by using following formula:

 

=If(FormatDate([Date Object];"ddd") InList ("Sat";"Sun");"Weekend";"Working day")

 

For holidays, you surely need a flag column from your database.


Viewing all articles
Browse latest Browse all 8975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>