Just assume, if your script like below from that which values you are going to get
Load weekday, date where weekday <> 'Sun';
Load weekday(date) as weekday, date;
Load date(mindate + iterno() - 1) as date
While date(mindate+iterno()-1) <= maxdate;
Load makedate(2017)as mindate,
Now() as maxdate
Autogenerate 1;
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful