OWB support for ISO Week number?

Is there any way to get the Time dimension wizard to support the ISO standard for Year and Week numbering (formats IYYYY and IW)?
I need to set up a time dimension for our data warehouse and our company uses the ISO Year/Week numbering schemes (see http://en.wikipedia.org/wiki/ISO_8601) if you don't know what these are.
Failing that I can try to create my own but it looks like a tedious process calculating all of the durations, start and end-dates.
Any guidance would be appreciated!

hi,
thanks - i did check the docs :)
the problem is that Calendar's idea of what the first week in the year is differs from the ISO standard
the problem is that the ISO standard defines the first week of the year as that containing the first Thursday (ie some days may become part of the previous year's weeks)
and Calendar defines it as the docs state - so to change the value returned would mean you having to change the "FirstDayOfWeek" or the "MinimalDaysInFirstWeek" - which (without checking recently) I think the ISO standard also defines so you can't safely change these
I might raise a RFE against Calendar about this in a week or two since it seems quite important?
thanks,
asjf

Similar Messages

  • Display ISO week number instead of date on x axis in Bar Chart

    Hi,
    I've created a simple SSRS report based on bar chart that shows several milestones. Everything works fine for me except I’m not able to convert the date into ISO week number format.
    I played around with different approaches. I was able to convert the date into an ISO week Format directly on the SQL Server. That
    wasn't a problem.
    But unfortunately I’m not able to display the week number on the horizontal axis in my Bar Chart. I tried both fields: TaskFinishDate and TaskFinishDateMS...
    I would like to show the ISO week number instead of the date within the Bar Chart on the horizontal axis.
    Any ideas/hints/help is really appreciated!
    Thanks,
    Mike

    Hi Mike,
    Per my understanding that you want to get the week number of the year based on the field "TaskFinishDate" which is datetime type and display the week number in the x-axis instead of the field "TaskFinishDate", right?
    I have check the snapshot you have provided and it seems you have change the format of the datetime field in the x-axis like "dd.MM.YYYY", If you can't make the week number to display correctly in the x-axis, the issue can be caused by you haven't
    change the format to Number in the category.
    Details information below for you reference:
    I assume you have use expression in the Label like below to convert the datatime TaskFinishDate in to ISO week number like below:
    =DatePart(DateInterval.WeekOfYear,Fields!TaskFinishDate.Value)
    or
    =DatePart("ww",Fields!TaskFinishDate.Value)
    Right click the X-axis and select the "Horizontal Axis Properties", then click the Number to change the format to "Number" as below:
    Preview you will get the weeknumber display in the x-axis correctly.
    If you still have any problem, please feel to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • How to get ISO week number?

    hi,
    I need to interact with a server that expects to be passed the ISO week number. The Calendar class doesn't seem to support this though (although the documentation claims that it is ISO 8601 compliant).
    For instance the web page here gives today (Jan 10th 2005) as being in Week 2
    http://personal.ecu.edu/mccartyr/isowdcal.html
    but this code snippet returns "Week 3"
    import java.util.*;
    public class WeekOfYear {
         public static void main(String[]arg) {
              Calendar c = Calendar.getInstance();
              System.out.println("Week "+c.get(Calendar.WEEK_OF_YEAR));
    }does anyone know a correct way of getting the ISO 8601 Week number without reimplenting a lot of delicate code?
    thanks,
    asjf
    ps. of course for now, and the rest of 2005, i'm going to hard code subtracting 1 as a gratuitous hack :o)

    hi,
    thanks - i did check the docs :)
    the problem is that Calendar's idea of what the first week in the year is differs from the ISO standard
    the problem is that the ISO standard defines the first week of the year as that containing the first Thursday (ie some days may become part of the previous year's weeks)
    and Calendar defines it as the docs state - so to change the value returned would mean you having to change the "FirstDayOfWeek" or the "MinimalDaysInFirstWeek" - which (without checking recently) I think the ISO standard also defines so you can't safely change these
    I might raise a RFE against Calendar about this in a week or two since it seems quite important?
    thanks,
    asjf

  • How to format a date to display the ISO week number in BI Publisher ?

    Hi there,
    I need to format a date to display the ISO week number in BI Publisher.
    I've tried the following <?format-date:NEED_BY_DATE;'WW'?>, but it returns a week number (1-53) where week 1 starts on the first day of the year and continues to the seventh day of the year, which is not what I want.
    I want the ISO week number (1-52 or 1-53), the one implemented by the 'IW' format mask of the Oracle PL/SQL TO_CHAR() function for example.
    I've tried using 'IW' format mask, but it is not recognised by BI Publisher.
    Also, as I'm working on an RTF template, I've tried 'IW' as MS Word date format, but it is not recognised by MS Word :-((
    Any help would be much appreciated,
    Regards - Hugues

    Hi,
    Thank you for the post.
    The thing is I don't have access to the query, unless I modify a standard E-Businees Suite view (one of those used to generate the PO document in Purchasing).
    Regards - Hugues

  • Enhancement request: ISO week number

    M language includes a function that returns the week number from a date: Date.WeekOfYear
    However, it is much less flexible than the Excel 2010 Worksheet function WEEKNUM, which accepts a "return type" parameter. It can be used to return a ISO 8601 compliant week number. Ex: WEEKNUM(date,21).
    It would be interesting to align the M function Date.WeekOfYear to the Excel WEEKNUM.
    For those confronted to the challenge of building with Power Query a time dimension that includes an ISO week number, the following M code implements the formula found
    in this blog. If you already have a column "Date", you can use the following code to add ISO year and week number columns:
    InsertISOYear = Table.AddColumn(previousstepname, "ISOYear", each Date.Year(Date.AddDays([Date],3-Date.DayOfWeek([Date],1))), type number),
    InsertRefDate = Table.AddColumn(InsertISOYear , "RefDate", each #date([ISOYear],1,3)),
    InsertISOWeek = Table.AddColumn(InsertRefDate , "ISOWeek", each Number.IntegerDivide(Duration.Days( [Date]-[RefDate])+Date.DayOfWeek([RefDate],0)+6,7), type number ),
    InsertWeekInt = Table.AddColumn(InsertISOWeek , "WeekInt", each [ISOYear] * 100 + [ISOWeek], type number),
    InsertCalendarWeek = Table.AddColumn(InsertWeekInt , "WeekInCalendar", each Number.ToText([ISOYear]) & Number.ToText([ISOWeek],"-W00")),
    RemovedColumns = Table.RemoveColumns(InsertCalendarWeek ,{"RefDate"})

    I ran into the same issue, but had problems copying your solution. However, I think there is a quite simple alternative by using the Date.AddDays function. So instead of using e.g. Table.WeekOfYear([Date]) use Table.WeekOfYear(Date.AddDays([Date],-1)).
    That substracts one day from the date and gives the Monday-Sunday weeknumber.

  • OWB Support for Change Data Capture

    Hi All,
    Has anyone got OWB working with the Change Data Capture feature in the Oracle 9i database? I understand that CDC works by publishing changes through an advanced queue, which in theory OWB 9.0.4 upwards can have as a data source, but there doesn't appear to be any explicit support within the GUI for capturing CDC changes.
    I'm also working on the assumption that we're talking about Synchronous CDC as found in 9i. 10g comes with Asynchronous CDC which I guess presents a different interface to the receiving program.
    So - is there any support for 9i Change Data Capture in OWB, and has anyone got this to work in practice?
    thanks
    Mark

    Mark,
    There is currently no explicit support for the 9i CDC. You can use Advanced Queues to propagate the changes, but you will have to custom-build the capture infrastructure on the source side (set up the CDC, enqueue the changes in the appropriate form into the AQ etc.)
    OWB will explicitly support CDC (10g async, which is the least invasinve method) in our next major release currently scheduled to be release in November of this year.
    Regards:
    Igor

  • HT204368 I have a Tango TRX bluetooth speaker that is suddenly not able to connect to my New iPad. It worked fine for a few eeks and now I get the previously unseen "This device not supported by iPad" message. It was supported for three weeks. Thanks

    Most of the question is in the discussion header. I have a Tango TRX bluetooth speaker that worked fine for three weeks with my third generation iPad. I started having trouble connecting and recieved the "not supported by iPad" message. It connects just fine until I open any app that requires sound and at thet point I recieve the message and the device disconnects. The Tango still pairs flawlessly with my laptop which is not an Apple product. How could a product suddenly become unsupported? 

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Try a reset. Press & hold the Power and Home buttons simultaneously, ignoring the red power off slider, until the Apple logo appears. Then release both buttons. This should not affect any content on the iPad, it is similar to rebooting your computer.

  • UCS support for ISO install LMS 4.1

    Hi,
    can we install the ISO LMS 4.1 directly on a UCS platform?
    What platform UCS is supported?
    Do you have install experiences you can share?
    Is the ISO LMS 4.1 a Linux implementation?
    kind regards
    Ad

    I installed it onto of Windows 2006 R2 on a UCS C200 M2.
    You can turn anything into an iso, it just a format of how things are writen on a disk. That's why you can mount and iso file as a disk.
    The linux version comes as an ".ova " virtual appliance you can load into a VMware host.
    I think the machine could probably run an ESX server and run 2 or 3 LMS servers depending on the number of devices to manage.
    For performance reasons buying a bigger box won't help. I've installed LMS on pretty heavy systems and GUI performance remains bad.
    I think the problem is with the tomcat part of things. That process is responsable for the web gui. AFAIK Cisco provides no guidance on this.
    Cisco says performance will be better in the next version as usual.
    Cheers,
    Michel

  • Labview support for ISO 8859-5

    HI,
    does Labview support ISO 8859-5 character sets?
    If yes, then how do i change the default character set in Labview from ASCII to ISO 8859-5?
    If no, then which is the simplest way to display russian characters in Labview 6.1 (Labview 6.1 on SuSE LINUX)
    Thanks and Regards,
    Pavitra

    Hi Pavitra,
    There is a very easy way to do that in Windows. Start>Settings>Regional and Language Options. Make sure Russian is included as an input language language on the language tab, as well as on the advanced tab where you can specify the language for non-unicode programs.
    I have attached a screenshot that demonstrates cyrillic fonts in LabVIEW. The example is done with Bulgarian font, but it should work the same way with Russian. As you can see I have also specified Arial CYR as my font for the front panel and the block diagram.
    Try to use the same logic for a Linux system.
    Hope that helps!
    Kalin T.
    National Instruments
    Attachments:
    cyrillic.jpg ‏51 KB

  • How to get the week start date from ISO week number

    Hi,
    I have a table with the following stucture
    Year    error    Week1     week2   week3 ......week53
    2012       error1     2           4         2             1
    2012       error2    3          0        1                 1I was hoping to get something like select year, error, week1||'Week start date which is a monday of that week' , week2||'Week start date,again monday',....week53 from table
    Any suggestions please?
    Thanks,
    Sun

    Hi, Sun,
    To see when week N started, add 7 * (N - 1) days to the beginning of the year. (By definition, the beginning of the ISO year is the start of week 1 of the ISO year.)
    To see when week 22 of the current year started:
    SELECT  TRUNC (SYSDATE, 'IYYY') + (7 * (22 - 1))
    FROM    dual
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • Simple MDX : Associated Date Value for returned week number on Row Axis ?

    Team , I have this MDX Below :
    I'm trying to see if i can also have a Column which  Uniques the week Starting/Ending Date   as below , Thanks in advance for your help and time .
    1 20040101  20040101  20040103    (null)
    1 20040102  20040101  20040103      1
    1 20040103  20040101  20040103     (null)
    2 20040104  20040104  20040110    (null)
    2 20040105  20040104  20040110       1
    2 20040106  20040104  20040110       1
    2 20040107  20040104  20040110     (null)
    2 20040108  20040104  20040110      (null)
    2 20040109  20040104  20040110      (null)
    2 20040110  20040104  20040110      (null)
    Rajkumar Yelugu

    Hi Rajkumar,
    According to your description, you want to show the week start and week end date together with the date dimension members, right? In this case, you can add week start and week end attribute to date dimension. Adding Week Start and Week End dates to your
    Date Dimension table can make navigating your dimensional model extremely handy and tasty to the end user. Please refer to the link below to see the detail information.
    Calculating Week Start and Week End Dates Dynamically
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Support for hardware random number generators?

    Can a hardware random number generator be easy integrated into Solaris so that it is accessed via /dev/urandom or /dev/random?
    Hardware Random Number Generators such as (just googling "usb hardware random number generator")
    http://true-random.com/
    http://www.protego.se/
    http://www.araneus.fi/products-alea-eng.html
    http://www.westphal-electronic.de/zranusbe.htm
    Is it possible to have a generic framework which can work with all these devices?

    This is a forum specifically for Java, not Sun products in general. You might try one on the Solaris forums.

  • Week function gives wrong result for last week in year

    Week(CreateDate(2011,12,25)) returns 51 - correct
    Week(CreateDate(2011,12,26)) returns 53 - wrong
    It looks like all last weeks of the year are 53 whereas the next year with 53 weeks should be 2015.
    See http://tuxgraphics.org/toolbox/calendar.html for example.
    I am running CF9 on Windows 7 with Java V6 update 29.
    This is causing me a problem. Any ideas for a workaround?
    Doug

    Here is my general solution for my cfc which seems to work for all dates up to 2100 at least.
    Hope it can help if you need a Week function to replace the CF one.
    <cffunction name="getISOWeekNum" access="public" returntype="Numeric" hint="Gets ISO week number in which date occurs.">
        <cfargument name="date" type="date" required="true" hint="Date for which you wish to know the week number">
        <cfset var weeknum = 0>
        <cfset var isLeap = isLeapYear(Year(date))>
        <cfset var dayInWeek = dayOfWeek(date)>
        <cfset var isoDayOfWeek = iIf(dayInWeek GT 1, dayInWeek - 1, 7)>
        <cfset var nearestThur = dateAdd("d", 4 - isoDayOfWeek, date)>
        <cfset var fourthDayOfYear = createDate(year(nearestThur), 1, 4)>
        <cfset var fourthDayInWeek = dayOfWeek(fourthDayOfYear)>
        <cfset var fourthIsoDayOfWeek = iif(fourthDayInWeek GT 1, fourthDayInWeek - 1, 7)>
        <cfset var firstThur = dateAdd("d", 4 - fourthIsoDayOfWeek, fourthDayOfYear)>
        <cfset var lastWeek = iIf(fourthDayInWeek EQ 8 OR (isLeap AND fourthDayInWeek EQ 7), 53, 52)>
        <cfset var firstIsoDayOfFirstWeek = dateAdd("d", -(fourthIsoDayOfWeek-1), fourthDayOfYear)>
        <cfset var firstIsoDayOfLastWeek = dateAdd("d", -7, firstIsoDayOfFirstWeek)>
        <cfset var lastIsoDayOfFirstWeek = dateAdd("d", 6, firstIsoDayOfFirstWeek)>
        <cfset var weekDiff = iIf(dateCompare(date, firstIsoDayOfFirstWeek, "d") EQ -1, 0, 1)>
        <cfif dateCompare(date, firstIsoDayOfFirstWeek, "d") EQ -1 AND dateCompare(date, firstIsoDayOfLastWeek, "d") NEQ -1>
            <cfset weeknum = lastWeek>
        <cfelseif dateCompare(date, lastIsoDayOfFirstWeek, "d") NEQ 1 AND dateCompare(date, firstIsoDayOfLastWeek, "d") NEQ -1>
            <cfset weeknum = 1>
        <cfelse>
            <cfset weeknum = weekDiff + (dateDiff("d", firstThur, nearestThur) / 7)>
        </cfif>
        <cfreturn weeknum>
    </cffunction>
    Doug

  • Error in week number while running a discoverer reports. URGENT HELP NEEDED

    Hi All,
    we had a requirement of getting the week number for the given date in one of the columns. Here the start date of the year was not always 1-jAN so we had to create a function which returns the week number as an output.
    The problem that we are facing is we are using the Discoverer 4.1.41.05 both at my end and user end. While i am trying to run the report i am getting the right output but while with the same login id when user is trying to get the output he is getting correct data till the data in year 2009 and from 2010 onwards the answer for the week number is coming in lacks. I had suggested the user to re-install the discoverer but still the issue is there.
    If someone know something about this than please reply to the thread and also mail me on [email protected]
    Thanks,
    Sarang.A.Mehta

    I might be late in replying, but hope it might help.
    From your query it seems you are inserting records into interface tables and then calling process order API( probably from some PL/SQL block).
    This is where I am confused, because I hope you understand, that interface tables are for use with Order Import concurrent Program, and for Process ORder API, you need to provide the data as parameter. The api has, header record type and line table type as parameters. So you need to assign correct data to these variables and pass them as parameter when you are calling Process Order API.
    If you are doing the same thing, then post the exact pl/SQL code and error message from the API. That might help diagnose the issue.
    Regards,
    Nitin Darji

  • ISO-2022-JP support and ISO-2022-JP-2 escape sequences

    I have a mail generated by Outook with some Japanese text in. Outlook has set the charset as ISO-2022-JP. The ISO-2022-JP encoded text of the mail can be found here.
    Java 1.5 and 1.6 fail to load this text properly when using the ISO-2022-JP charset. The description of this charset is JIS X 0201, 0208, in ISO 2022 form, Japanese. I'm guessing that the problem is due to the use of an escape sequence that is defined in [ISO-2022-JP-2|http://www.mhonarc.jp/RFC/rfc1554.txt]. The escape sequence is hex 1B 24 42, which means that the charset is JIS X 0208-1983.
    There's no ISO-2022-JP-2 charset support in Java 1.5, not sure about 1.6.
    I'm thinking about writing a filter reader as a hack to add support for ISO-2022-JP-2. I guess that if I remove the escape sequence, the text should load properly using one of Shift-JIS, EUC-JP or ISO 2022 JP. Any suggestions?
    Edited by: bobajobrob on Mar 25, 2008 12:19 PM

    1B 24 42 (ESC $ B) is valid in ISO-2022-JP. However, the text file includes invalid characters in the JIS X 0208 standard. The ISO-2022-JP converter in Java strictly follows the standards.
    There are some ISO-2022-JP "variants" that are supported under different encoding names with compatibility workarounds. Please refer to Sun's bug ID 6173388 for details.

Maybe you are looking for