Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
How can I change Number of week for label of this week.
For example:
2012/35 to 21 Oct 2012 - 27 Oct 2012.
Tahnks,
I got like it
WeekStart(date(submitDateTime))& '-' &WeekEnd(date(submitDateTime)) as AAA
If you have used weekname() function to create your week numbers, you've got a dual with a numeric value representing start of that week. You can then try:
=Date(WeekNrField, 'DD MMM YYYY') & ' - ' & Date(weekend(WeekNrField), 'DD MMM YYYY')
Regards,
Stefan
=WeekStart(Today()) &'-'& date(WeekStart(Today()) +7)
I got like it
WeekStart(date(submitDateTime))& '-' &WeekEnd(date(submitDateTime)) as AAA
I need to use this variable in charts.
I can't sort it.
Do you have any ideas?
I think I got it.
Sort by load order
Use "dual" function
dual(WeekStart(date(submitDateTime))& '-' &WeekEnd(date(submitDateTime),WeekStart(date(submitDateTime))) as AAA
Hello,
could you help me to create expression with dual?
Thanks,
Into your script maybe you are loading something like this:
LOAD
submitDateTime,
anotherfield,
anotherfiel2
from yourtable.qvd(qvd);
Use a command like this
LOAD
submitDateTime,
dual(
WeekStart(submitDateTime)& '-' &WeekEnd(submitDateTime),
WeekStart(submitDateTime)
) as my_new_field,
anotherfield,
anotherfiel2
from yourtable.qvd(qvd);
Thank you,
I got it.
I put ) not in right place.