Time format is showing wrong at query level

hi,
i have a problem at query level
i have two time fields which are key figures
i have calculated key figure which has a formula
cal kf =  time (tim1- tim2)
data at the dso level
flightno              time1                 time2          
  f001                11:12:24     10:12:24
  f002                11:12:24     10:12:24
  f003                10:12:24     10:12:12
  f004                11:12:24     11:12:12
query output
flightno              time1                 time2               calkf
  f001                11:12:24     10:12:24           19:00:00
  f002                11:12:24     10:12:24           19:00:00
  f003                10:12:24     10:12:12           18:00:12
  f004                11:12:24     11:12:12           18:00:12
calculated key figure is showing me wrong values by adding up 18 hours
so i added a key figure at dso level and calculated using formula in transformations
it is showing me correct value at dso level but query level it is showing me wrong values
how to solve this
did any one face this problem before
any ideas
i will assign points
Message was edited by:
        venkat s

Venkat,
Try out this.
Since the 2 time fields are key figures,create the calculated key figure for each of them using the Time() data function.
eg: for tim1 --> create CKF using time data function as TIME(tim1)
eg: fro tim2 --> create CKF using time data function as TIME(tim2)
As a next step,now create a CKG for calculating the diff bewteen 2 time CKG.
eg : TIME(TIME(tim1)-TIME(tim2))
Hope this helps.
Thanks & Regards,
Suchitra.V

Similar Messages

  • Time charecteristic is showing wrong in query

    hi,
    in dso my time charecteristic is showing 02.10.56
    but in the query it is showing 21.10.56
    canany one tell me what is the problem?

    Venkat,
    Weird - so it's adding 9 hours to the actual data?
    Regards
    Gill

  • HH:MM:SS Time format to show in Graphs - OBIEE 11g (11.1.1.5)

    Hi,
    I have got a requirement to show time format in graphs. I am converting seconds to HH:MM:SS format using the formula that I found in one of the blogs.
    http://123obi.com/2012/06/obiee-converting-seconds-to-minuteshoursdays/
    Is there better way to conver seconds to HH:MM:SS format?
    Note: I don't want to show the days because in our requirement it would never reach to it.
    How to show the values like 1:11:34, 0:23:54, etc... in the graph?
    Thanks in advance.

    Hi
    We have implement two ways.
    Method 1:
    Open your repor--> click your date column --> use the below syntax.
    SUBSTRING(cast("- D_CALENDAR_DATES".DATE_TIME as char) FROM 11FOR 9)
    method 2
    Open your report --> Goto your column properties--> data format--> Override Default Data Format -->select custom--> give your format like (HH:MM:SS).
    Hope this help's
    Thanks
    Satya

  • Time Title is showing wrong time in iMovie 11

    When I use the "Time/Date" title in iMovie 11, the time is always 3 hours behind the time of the clip. The time shown in the "Time/Date" Title sreen is definitely wrong by a couple of hours.
    I have not found anyting to adjust it, except adjusting the time stamp of the clip to that specific offset, which will corrupt the time stamp of all my clips.
    Computer system time and the system time of the camcorder are the same.
    Please help to solve this problem

    Venkat,
    Weird - so it's adding 9 hours to the actual data?
    Regards
    Gill

  • Time and date showing wrong time when set on auto since 4.1 update

    hi since i updated my 3gs to 4.1 my time and date have changed by about 1 and a half hours and afew days before. i can change it manually but i dont understand why this has happened. has this happened to anyone else?
    can anyone help? or am i just best to wait till the next update?

    Me too.
    Second time I've been late to work in two weeks thanks to Apple ** programming!
    First time when I upgraded to 4.1 and the alarms stopped working if they were set to go off every working day.
    Then again today when the time unaccountably rolled back to be Sunday the 7th at 5am instead of WEdnesday 10th at 9am. Waiting for the day I'm out of contract on this rubbish so I can switch to a phone with a decent OS!
    Message was edited by: twixPanther

  • Wrong DATE-TIME FORMAT among REPORTS NOTIFICATION EMAILs

    Dear all,
    I create a report request with url
    https://ocixxxx2.oci.xxcl.net/reports/rwservlet?>destype=printer&desformat=PDF&server=rep_xxxxx2_orahome&userid=ixxxxxx/xxxxxxx@saas&notifysuccess=IASL&notifyfailure=IASL&report=R1000R13.rdf&jobname=R1000R13&desname=HPLaserJet4150PCL6
    Email notification was generated with wrong date format .
    It's expected to be in UK English but it shows encoded text , may be random. I route it to another email servers such that find the date time is in chinese characters . That caused problem on original email server in which was not supported
    Could any expert please advice ?
    Warmly
    Edited by: MosielleKwan on 2010年2月26日 下午11:31

    It's indeed an expected behavior.
    When a Reports Server starts on a Windows machine, it likely detect the Windows Regional Settings in order to use it when needed later. This let the Reports Server communicate in the same format/way the Server machine uses. For example, if the System / Application Server administrator prefers to use the Windows (on which the Application Server is installed) with Chinese Regional Options, it is normal that the Reports Server send the Notification Email with a "Date/Time" Format matches the Windows.
    Thence, you like to get English/Western Date and Time format in the Reports Server Notification Email, it is required to change the Windows Regional Settings from Chinese to English and restart the Reports Server and restart the corresponding compoent. This will let the Reports Server detect the change and will send the Notification Email(s) then with English/Western Date and Time formats.
    If English/Western Date and Time format in the Reports Server Notification Email but still have the Windows Regional Settings set to Chinese, you can implement it
    that :-
    1. Change the Windows Regional Settings from Chinese to English.
    2. Restart the Reports Server and restart others.
    3. Change the Windows Regional Settings back from English to Chinese. .
    With these 3 steps, the Reports Server will keep sending the Notification Emails with English/Western Date and Time format, and maintain original settings.

  • Report from SQL Query -Excel format only show the first page

    Hi,
    I have some Reports from SQL Query. In the display options, I choose Excel as default format. The Excel documents only show the first page. If I choose HTML as default format, it shows every rows.
    Please advise on how to have a complete Excel document as HTML format does.
    Thanks a lot.
    Lina Han

    I beleive when you export Oracle reports to Excel it is the Data that is transferred along with Column Names.
    You cannot export the variables defined on the report.
    Hence you will not be able to export the Footer to excel. (Still looking into it will let you know if i find anything interesting)
    Regards,
    Bhushan Salgar

  • My new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.

    my new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.
    At first my computer had issues. Once it go to sleep it will not back again. I dropped my laptop at apple store to fix it. After 10  days they returned my laptop saying they were no able to fix the problem so they replaced motherboard aiming if that might help. Acttually that didn't help.I had same issue again. I visited apple store again. This time they said they could fix, if I will allow them to format the harddrive. I said ok. They formatted it. It was working fine for few daysAfter few days compter is taking.even more than 15 min to shutdown. Now computer has another problem. It is being hang frequently like every 20'to.30 min.
    I don't know what to do? I still have one month left on first year warranty. I have requested couple times to apple associates either to fix or replace or refund. They are showing me rude behavior. They are not understanding my situation. I am a student. I need to do lot of home work. Since last three month my mac book and apple associates giving me hard time. Any suggestions are welcome.

    Contact Apple Customer Care - not Apple Care - Customer Support. Have your receipts handy and/or case numbers. Be patient, be calm, and tell your story just as you have here. I get the sense you are not in the US and don't have access to an Apple Store but are going to an independent shop. This makes using Customer Support all the more important. If phoning isn't viable, use registered mail.
    Since time is running short, be prepared to purchase AppleCare to exennd your warranty 2 more years. Yes, you shouldn't have to do this, but it gives you added protection and more opportunities over the next 2 years to claim a replacement computer if you don't get one immediately. After dealing with a similar unhappy situation with a Mac in the late 1990s I finally got a replacement computer and reimbursed for the AppleCare policy.

  • BO 3.1 WEBI Time format variable not showing correctly

    Hi,
    I apologise in advance. I know this topic has been covered many times in previous forums but I have been through each and I am still encountering an issue.
    My requirement is to convert x number of seconds into a HH:MM:SS time format for both positive and negative numbers in WEBI.
    I found a formula on a forum here that suggest using the following code:
    =FormatNumber(Floor([Column_Name]/3600) ;"0") + ":" + FormatNumber(Floor(Mod([Column_Name];3600)/60);"00") + ":" + FormatNumber(Mod(Mod([Column_Name] ;3600) ;60) ;"00")
    I have used this code and when I give the code an input of -720 seconds it outputs in the format -1:-12:00.
    It is quite frustrating I cannot get this to the correct format, can anyone suggest what is wrong with this formula?
    I am using WEBI for creating the formula on BO 3.1.
    Kind Regards,,
    John

    Hi,
    Let me try.
    This is your formula.
    =FormatNumber(Floor([Column_Name]/3600) ;"0") + ":" + FormatNumber(Floor(Mod([Column_Name];3600)/60);"00") + ":" + FormatNumber(Mod(Mod([Column_Name] ;3600) ;60) ;"00")
    Issue with this formula is only when you have used negative seconds.I have break the formula =FormatNumber(Floor([Column_Name]/3600) ;"0")  and found this is giving the wrong result.If you divide -720/3600 you will get 0.2 and nearest integer is 0 but in this case 1 is coming.
    Same time it is working properly with 720 and  the result  will be 0.
    In this case i have  created one variable  which  convert the negative values to positive.If you enter -720 then it will convert 720 and you will get the 0 from first part.
    =If([Column_Name]<0) Then ([Column_Name]*-1) Else [Column_Name]
    Second part is if you entered the negative values then output should be in the negative.but with above condition you will get the positive values.
    Again i have created the formula If([Column_Name]<>[Column]) Then "- which compare the object values and see if I have changed anything.
    Like i have entered -720 so first variable will convert to 720 then in next formula it will check -720 is not equal to 720 (Which is not) then add - (minus sign) and same calculation else part if is equal then use the same formula which you have put.
    Hope this is clear to you.
    Regards,
    Amit

  • Time conversion at Query Level

    Can anyone suggest any methods to convert the time from UTC time zone to PST time zone at Query level without changing at backend level???

    If it is a key figure you can create a formula and add the offset.
    If it is a characterisitc and you want to limit the selection you can use customer exit variables. If you want to display the characteristic value, then you may be able to do a replacement path variable to convert characterisitc to KF and then use a formula to adjust the offset.

  • Lync shows wrong available time

    We have 1 VIP whose lync shows wrong available time. He works in night hours, so it must say available till 12am .
    Pls guide on how to fix this.
    Note: i have also attached a pic with this thread for easier reference, thanks!!

    Hi Ramkumar,
    Lync will take the work hours from your Outlook client. Try changing users working in Outlook.
    To change your work days and times in Outlook 2010, do the following:
    Open Outlook Calendar and click the File tab.
    Click Options.
    Click Calendar.
    Under Work time,
    Under work hours change the Timings.
    Once this is done close the both Lync client and outlook. Open outlook Client first and then Lync Clietn
    Whenever you see a helpful reply, click on Vote As Helpful & click on Mark As Answer if a post answers your question.

  • Show time in current time format

    Hi!
    jdk1.3
    windows2000
    I want to show time in java in current time format
    e.g if I set in Windows (Regional Settings->Time) time format to 12 h format , then I want java show me time in this format
    if I set in Windows time to 24 h. format, then I want java show me time in 24 hours format.
    What I can do?
    Thank you.

    Hi!
    jdk1.3
    windows2000
    I want to show time in java in current time format
    e.g if I set in Windows (Regional Settings->Time) time
    format to 12 h format , then I want java show me time
    in this format
    if I set in Windows time to 24 h. format, then I want
    java show me time in 24 hours format.
    What I can do?
    Thank you.haha just did this a few hours ago hey this should get you started
    http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html
    anyway it will be much easier and faster if u just type 'date/time' in forum search lots of similar questions this type

  • Invite from Lotus Traveler shows wrong time zone

    Question: why is the time zone always showing as Hawaii on calendar entries sent using Lotus Traveler and which I accept on my iPad?
    Here are the facts:
    1.  I am an iCloud user (on my personal iPad and Mac)
    2.  I access work emails/calendar on my work iPad using Lotus Traveler
    3.  I send an invite from my work calendar on my work iPad and accept the invite into an iCloud caldendar on my personal iPad.
    Result:  Invite shows correctly on my calendar on my personal iPad but when I open Calendar on my Mac, the invite will ALWAYS shows as "Hawaii" timezone.
    I've tried all combinations of timezone support on/off etc. The problem also does not present itself if I accept the invite from Calendar on my Mac.
    I've taken alook at the .ics file that is origanlly sent and the TZID is "GMT +10" format as opposed to "Australia/Sydney". If I look at the .ics file on my Mac, it as "Hawaii" as the TZID.
    Do anyone have any ideas?
    There are a few posts of similar issues from a few years ago, but the issue seems to have been resolved in previous OS versions.

    I don't have an anwer to the previous in this thread but I believe a related question. I recently received two invites to meetings from a Lotus Notes v6 user. Each repeated weekly on a Tuesday for 10 weeks and one meeting followed the other. The first posted to iCal perfectly. The second posted a meeting on the Tuesday in the first week at the correct time. The first repeat however posted 24 hours later (not a week later) and then repeat weekly but on the Wednesday (not Tuesday) but at the correct time.
    I have examined the ics script of both meetings. The only difference appears to be that the meeting that posted correctly had DTSTART and DTEND both on the same date (in Universal Time) where as the one that incorrectly posted the repeats the meetings spanned midnight in Universal Time. Are there any patches or ways to fix this. Can I edit the script and then re-post it to iCal so as to "trick" iCal into placing this on the correct day?
    I have copied the header script for the meeting that behave correctly below:
    BEGIN:VCALENDAR
    X-LOTUS-CHARSET:UTF-8
    VERSION:2.0
    PRODID:-//Lotus Development Corporation//NONSGML Notes 6.0//EN
    METHOD:REQUEST
    BEGIN:VEVENT
    DTSTART:20070910T230000Z
    DTEND:20070911T010000Z
    TRANSP:OPAQUE
    RRULE:FREQ=WEEKLY;UNTIL=20080129T010000Z;BYDAY=TU
    DTSTAMP:20070905T004709Z
    SEQUENCE:0
    ATTENDEE;ROLE=CHAIR;PARTSTAT=ACCEPTED
    The header for the script that does not operate correctly for the repeats is copied below:
    BEGIN:VCALENDAR
    X-LOTUS-CHARSET:UTF-8
    VERSION:2.0
    PRODID:-//Lotus Development Corporation//NONSGML Notes 6.0//EN
    METHOD:REQUEST
    BEGIN:VEVENT
    DTSTART:20070910T230000Z
    DTEND:20070911T010000Z
    TRANSP:OPAQUE
    RRULE:FREQ=WEEKLY;UNTIL=20080129T240000Z;BYDAY=TU
    DTSTAMP:20070905T004709Z
    SEQUENCE:0
    ATTENDEE;ROLE=CHAIR;PARTSTAT=ACCEPTED

  • Select query on key field for different time format

    Hello Experts,
    I am working in Sender ABAP proxy <===> SAP PI 7.31 JAVA <===> Oracle database.
    Oracle Database stores all records of material sold where the date is maintained in 01/15/2010 01:48:20 which has date and time format.
    In ECC , I will be sending a proxy request with system date as the only field and this would be key field to select all the material records sold for 01/15/2010 in Oracle Database i.e. Select statement.As we can observe that the system data of ECC does not have time stamp.
    I am clueless how to get this done in Message Mapping or in some way? If I maintain just the date stamp of ECC as the key field, would I be
    able to fetch all the records from Database?
    Regards
    Rebecca

    Dear Hareesh and Harish,
    Ooopps the names are confusing. but very close..
    Yes I changed my receiver structure and added <compareOperation> under the key field Material Number. In the Message Mapping , I assigned a constant EQ to <compareOperation>.
    Now tested the proxy will value of Material with no 100 , expecting a response from database for Material 100. But getting error as below.
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SAP:Category>XIProtocol</SAP:Category>  
    <SAP:Code area="PARSING">GENERAL</SAP:Code>  
    <SAP:P1 />  
    <SAP:P2 />  
    <SAP:P3 />  
    <SAP:P4 />  
    <SAP:AdditionalText />  
    <SAP:Stack>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 53cc7fab-e712-0b20-e100-8000ac10134c(OUTBOUND) expired. at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:505) at  
    I am not sure whether there was any response from database.
    I am close to end of this thread..
    Please guide.
    Regards
    Rebecca

  • Facebook game apps showing wrong level on ipod

    i have noticed that one of my facebook game apps on my ipod is 2 levels behind
    bejeweled blitz on the ipod touch  is showing i now on level 72 but on facebook its self its showing iam about to go on to level 74 its since the ios 5.0.1 update of the ipod its went behind on the level it was at same level before up date. the game app is up to date.
    my coins on the ipod app are the same on the facebook game when i sign it to my facebook account on my computer its just the level thats behind

    No, the Facebook app does not appear to have its own "hide" feature. But if you hide something while in a full browser it's permanently GONE from your feed no matter what computer or device you use.
    My Facebook app's live feed is nearly a perfect mirror of what I see in the browser. I say nearly because the Facebook app's Live Feed on the Touch excludes new friend, new group, new fan, and event join notifications.

Maybe you are looking for

  • Dreamweaver doesn't load CDN jquery in preview?

    I've been learning javascript and jquery lately, and am trying to implement a few features on my site. Troubleshooting a basic slider effect jquery was really difficult, because I was literally copy and pasting WORKING code from other websites, and i

  • 160GB iPod syncs about 50GB and tells me it's out of memory space...

    When I sync my iPod it syncs for a while but then iTunes tells me it couldn't sync all the music because there wasn't enough space. It shows me about 50GB of music is on the iPod but I have around 100GB that needs to be on the iPod

  • Regain space after a reorg

    Hi All, me again! I'm trying to figure out how much external fragmentation I have in my production database so that I can then reorg the tablespaces and reclaim the space on the hard drive (which we are running out of and can't add any more space to)

  • LOgic 7.2  + G5 + 10.4.6 = 0

    hi guys i'm in france and my good buddy has a massive problem, he was using logic 7.1.1 with OS 10.3.9 and a problem came , nothing opened; then on advice he updated to 10.4.6 and installing logic upgrade to 7.2, nothing works, doesn't even open just

  • Manually modify DISPLAY port number

    Our 11.5.9 system has ADF concurrent report, we started up a X background service at Admin tier for Report server running. As request from the UNIX admin, we need change the port number for X windows. Since it is production, we have lots of customiza