Hi,
I started creating cubes last week, so I'm very new at
this. One of the cubes I'm creating shows sales by week.
The problem is that our week starts on Mondays and the
default is for Sundays. How do I change the default?
Please help.
Thanks!
This can set the default starting day
Quote:>-----Original Message-----
>Hi,
>I started creating cubes last week, so I'm very new at
>this. One of the cubes I'm creating shows sales by
week.
>The problem is that our week starts on Mondays and the
>default is for Sundays. How do I change the default?
>Please help.
>Thanks!
>.
As the method that I provided in the previous post is connection
dependent, says, If a new connection is made to SQL Server or if the server
is stopped and restarted, the setting of date first will go back.
It is hard to set datefirst from Analysis Service directly. The followig I
am introducing a workaround for your reference,
1. In SQL Server Enterprise Manager, create a login with default language
"British_Englisg". (By default, for "us_english" the first day of the week
is Sunday, but for "British_Englisg", the first day of the week is Monday.)
2. Grant the required permisions to it.
3. Using this login ID in cube data source to connect SQL Server.
Then, sales by week will start on Monday.
This posting is provided "AS IS" with no warranties, and confers no rights
Regards,
Mo Lin
Microsoft Support Engineer
Thank you
Quote:>-----Original Message-----
>Open Query Analyzer and connect to SQL Server,
execute "SET DATEFIRSTQuote:>check whether the returned value equals 7. If so,
Quote:>1" to force SQL Server to use Monday as the first day of
the week.
>This posting is provided "AS IS" with no warranties, and
confers no rights
>Regards,
>Mo Lin
>Microsoft Support Engineer
>.
Hi,
As the method that I provided in the previous post is connection
dependent, says, If a new connection is made to SQL Server or if the server
is stopped and restarted, the setting of date first will go back.
It is hard to set datefirst from Analysis Service directly. The following I
am introducing a workaround for your reference,
1. In SQL Server Enterprise Manager, create a login with default language
"British_Englisg". (By default, for "us_english" the first day of the week
is Sunday, but for "British_Englisg", the first day of the week is Monday.)
2. Grant the required permissions to it.
3. Using this login ID in cube data source to connect SQL Server.
Then, sales by week will start on Monday.
This posting is provided "AS IS" with no warranties, and confers no rights
Regards,
Mo Lin
Microsoft Support Engineer
1. Weekday start from Monday, How to?
I have a time dimension with week number.
The default starting day for week is Sunday.
It is possible to define the starting day of the week on Monday?
2. NOTICE -- SQLGlue for Oracle
5. Calc 20 Day Avg - Weekdays only
6. how do you see which column is the primary key??
7. Select Distinct Date by Weekday and Date Range
8. Can I perform an update statictics and sp_recompile while SPs are running?
9. Weekdays
10. Weekdays (M-F)
11. Weekday function
12. DATEADD, counting only weekdays...
13. Weekdays