Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi I’m struggling getting the number of the day from a week. In a Expression
Example 16/01/2013 is Wednesday that is a 3; a Monday would be a 1 and so on.
Thanks in advance
Try weekday(Datefield)
Hi,
In your load script, use the WeekDay() function.
For example,
LOAD Field1,
Field2,
...,
DateField,
Year(DateField) as Year,
Week(DateField) as Week,
WeekDay(DateField) as WeekDay,
Num(WeekDay(DateDield)) as NumWeekDay
FROM Data.qvd (qvd);
Hope that helps you
Martin Favier
Thanks it work well the only other thing that I have to do is modified the script file.
Thanks but is in a Expression
Excuse me, but you do you means ?
Martin Favier
Excuse me, but you do you means ?
Martin Favier
Excuse me, but you do you means ?
Martin Favier
I use the script in an expression like
=if(weekday(today()) = Dia ,Name)
What do you mean by "Dia" ?
Is your expression works ?
Martin Favier