Create a new column - convert minutes(mins) to time (HH: MM) in a day-OBIEE

Hi..
I have an issue in building the OBIEE repositoryin Administration tool.
I have a column of minutes (24hrs X 60 = 1440 mins in a day) as its values.
I need to build a column of Time ( convert minutes into time) using existing column of minutes.
Say 300 mins = 5:00AM (since -------> (60 X 5 =300))
315 mins = 5:15 AM
330mins = 5:30 AM
360mins = 6:00 AM.......so on in a day.
I appreciate your help.
Thank you.
Edited by: user11939829 on Aug 11, 2010 9:00 AM

Hi,
In Admin Tools, if you want to create a new colume as time(HH:MM), you can do it like this:
1. in "Business Model and Mapping", in the table which you want, create a logical column "Time"
2. Check the checkbox "Use exist logical column as the source"
3. In the expression builder, write the formula to convert minutes to time, like:
concat(concat(cast (minutes/60 as varchar(2)) , ':'), cast(mod(minutes,60) as varchar(2)))
Hope this helps you
Marc

Similar Messages

  • Getting Error while creating a new column in a list or library in a site collection - Sharepoint 2013

    Hi,
    I am getting below error when i create a new column in a library or list,
    "Save Conflict
    Your changes conflict with those made concurrently by  another user. IF you want your changes to be applied, click back in your browser, refresh the page, and resubmit your changes"
    Any help please.
    Smile Always

    Hi,
    I have done a test in my SharePoint 2013. And I can re-appear your issue.
    Per my test, I found that If  there are more than one user create a new column in
    a library or list at the same time, when we
    click ok after the other users, we will get the error.
    Or if we open a library or list in two windows with the same user, when we
    create a new column in a library or list in two windows
    at the same time, we will get the error.
    To resolve your issue, refresh your page and
    create a new column again.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • How to Create a new column from two different result sets

    How to Create a new column from two different result sets, both the result set uses the different date dimensions.

    i got solutions for this is apply filters in column formula it self, based on the requirement.

  • How to create an new column from ordered pairs

    Hi,
    Wondering if anyone can help this problem. I am analyzing network traffic between a PC and a Server. I can easily get a count of packets in each direction, PC1 to Server1 and the return path, Server 1 to PC1. But want I really want is a count
    of PC1 to OR from Server1, basically a count of packets by IP conversation.
    Each row is a packet with fields like: Time, Source, Destination.
    For example
    2:01:01, PC1, Server1
    2:01:01, Server1,  PC1 
    I would like to create a new column that represents a conversation. So new have columns: Time, Source, Destination, Conv. To get something like this:
    2:01:01, PC1, Server1, Conv1
    2:01:01, Server1,  PC1, Conv1
    2:01:01, PC2, Server1, Conv2
    2:01:01, Server1,  PC2, Conv2
    Thanks,
    Wes

    Wes, I just got around to revisiting your problem. The solution I came up with is twofold. The first part is the creation of a custom function that generates a conversation ID in the form PC1_Server1, PC2_Server1 etc. The second part uses a lookup table
    for each unique combination of PC and server to return a conversation number (Conv1, Conv2...).
    First of all, the "NetTraffic" table (your original table) generates the following script
    let
        Source = Excel.CurrentWorkbook(){[Name="Table8"]}[Content],
        #"Changed Type" = Table.TransformColumnTypes(Source,{{"Time", type time}}),
    in
        #"Changed Type"
    In the above, the type of the timestamp column is changed to time, but you can alternatively fix it as text.
    I've called the custom function "ConversationIdentifier." It takes four parameters, as described by the parameter names.
    (sourceList as list, sourceValue as text, destinationList as list, destinationValue as text) as text=>
    let
        SourceConversationList = List.Sort(List.Select(sourceList,each (_ = sourceValue or _ = destinationValue))),
        DestinationConversationList = List.Sort(List.Select(destinationList,each (_ = sourceValue or _ = destinationValue)),Order.Descending),
        ConversationID = SourceConversationList{0}&"_"&DestinationConversationList{0}
    in
        ConversationID
    Usage:
    As an added custom column in Power Query, the formula, based on the "NetTraffic" table would be:
    =ConversationIdentifier(#"Changed Type"[Source],[Source],#"Changed Type"[Destination],[Destination])
    As previously mentioned, the custom function generates combinations of PC and server, such that each combination represents a conversation.
    Next, I created a two-column "ConversationLookup" table in a worksheet, with entries like PC1_Server1|Conv1, PC2_Server1|Conv2, and so on.
    In the NetTraffic table, I did a merge with the ConversationLookup table, ensuring that the "Only Include Matching Rows" option is left unchecked (left join).
    Finally, I removed unwanted columns. Note: You don't need to use the lookup step if PC1_Server1, PC2_Server1 etc. serves your need for identifying a conversation.

  • Creating a new column in SAP reports

    Hi All,
    I need to add a new column in, Financials -->  Financial Reports --> Accounting --> General Ledger.  When I try to create a column, it says Column already exists.
    Kindly advise me if it is possible to add new columns in SAP reports.
    TIA,
    Satish. B.

    Hi Satish,
    you can't add a column to a system matrix using UIAPI - the only way is to add a userdefined field
    And check this thread..
    New column in Standard Report
    Hope it helps,
    Vasu Natari.
    Edited by: vasu natari on Jul 22, 2009 7:38 AM

  • Creating a new Column for my list Versus adding it from existing site columns, when to use each approach

    I have created a new issue tracking list inside SharePoint 2013 team site. And it comes with predefined columns, some of them are useful while the other are not . Can anyone help me in figuring out the following:-
    The list come with a field named “Assigned To”, while in my case I want a column named “Approver”. So what is preferred , to re-name the “Assumed to ”column to “Approver”, or create new field name “Approver”.?.
    If I rename an existing column, could this be overridden in any future updates for my SharePoint server?
    Now we want to add a column named “Office location”.so I need to create a new field for this. But seems there are two ways to do so either to add a new Site Column at the site level and then assign it to the list as follow :- 
    , or to directly adding a column to the list, even if it is not available in the site columns , as follow:-
    So what are the differences between the two approaches ? .if I am not wrong defining a site column will allow me to re-use it in another list , but defining the column at the list level, will allow me to add a column even if it is already defined as site
    column.
    So can anyone advice on my three questions please? Thanks

    1) 'Assigned to' has a different meaning then 'Approver' , it will be better if you create a new field for 'Approver'. Assigned to is a Site Column which has managed property for search, so it will be confusing type of data it will return from search in
    future. 
    2) Any rename of fields should not / and will not get modified in SharePoint updates. So, you can rename is without any issue since the internal name will remain the same. But its always better to create your own custom column for business use.
    3) Creating a site column or not depends upon your need, If you create a Site Column - in whole site collection you will be able to add this field in any list - It will be crawled, SharePoint will automatically provide managed property for site column and
    you will be able to get this value via search. These things will not be present in list column, you will need to do specific settings in case its required.
    If these things are needed then you can go for Site Column, usually its good to create a Site Column and use it.
    For Site Columns you can check following links 
    Introduction to Columns
    From site column to managed property - What's up with that?
    Create a site column
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.
    thanks a lot for your reply it is really helpful. so as i understand that using site columns will be better in most cases, and there is not any specific reason for not using it? is this right ?
    Second question, do u mean that if i have a list column named "Serial number", then this column will not be searched ? For example if i have serial number such as "12345" and i try searching this text "12345" i will not get
    the item in my search ?
    Thanks

  • Problem with rule file ,not able to create  a new column

    I am trying to create a text temp in column 53 and trying to join with another column54.A new column temp is created but some filelds are blank instead of temp.I donot understand why it is happening like this ,what is the reason behingd this .
    Thanks

    Check out the following thread..
    Re: SLD forbidden access
    Your user id has to be assigned to the group JDI.develeopers
    Regards
    Krupa
    Message was edited by: Krupakar Oleti

  • StackOverflowError when creating a new column in jdev TopLink JSF

    Hello everybody,
    Please if you know, share your knowledge about the below aspect from JSF Toplink.
    I created tables in db. Table is called DCF. In that table there are many columns, so many that by accident I forgot to put one. So I created Application in jdeveloper, then
    1)     I created projects Datamodel and UserInterface
    2)     In DataModel I created “java objects from tables”
    3)     Then I created session bean “PublicFacadeBean.java”
    4)     From that I created Data Control
    5)     Than I created DCF.jspx page and dragged all the info from Data Control to the jspx page.
    6)     Than I realized that I need one column which is not in DB, so I went to DB and created that column, and committed all the changes.
    7)     I went to jdeveloper again, in the Application Navigator in the DataModel project under realopt.oracle package I double clicked the DCF.java and created instance variable that I need, added set and get methods manually.
    8) then again i went to PublicFacadeBean.java and created again DataControl, I saw the column i need,
    Made compilation and no errors were found. But when running the page in the explorer, I got error :
    Fatal error: Cannot find class java/lang/StackOverflowError
    Process exited with exit code -1.
    I restarted the computer again, but still could not view the page. Do you have any idea how I can solve this problem?
    I’m very grateful in advance.

    Hi Satish,
    you can't add a column to a system matrix using UIAPI - the only way is to add a userdefined field
    And check this thread..
    New column in Standard Report
    Hope it helps,
    Vasu Natari.
    Edited by: vasu natari on Jul 22, 2009 7:38 AM

  • Add a field in a form after creating a new column in a table

    Hi,
    I have searched extensively in the help menus and tutorials and maybe I have missed this, but after adding a new column to a table. How do I update the form so that when data is entered into the form it is populated in the table? Is there a tutorial or explanation of the process somewhere?
    Thanks,

    Hi
    That has to be done manually but it is simple. Create a new item of the desired type e.g. Text Item, Select List by Right clicking on the region and select Create Page Item. A wizard will start where you will select the desired type. Press next and enter the name of the item. e.g. P3_LAST_NAME. Press Next and Enter a label for the Item. Press next and choose Source Type as Database Column when asked. Press Create button.
    Hope it helps.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • How to create a new column in BEx Analyzer

    Hello,
    I have 12 characteristics and 7 Key figures in my Query. This includes RKF and CKF.
    I'm executing the query in BEx Analyzer.
    Now I want to include a new column which will be a replica of another Key figure column.
    How to do this?
    Regards,
    Arif

    Hello Arif,
    You can do the setting in BEx QD and view it in Analyzer.
    You can create a new formula and include the keyfigure in that formula.
    This will be displayed as a new column on execution.
    Regards,
    Bharath

  • Looping multiple excel files at a time in ssis and create a new column to insert the files names

    Hi Friend,
    i have one requirement.
    I got around 200 excel files with date as file name like 120101.xls, 120102.xls (YYMMDD).
    I am able to loop all the files and insert data but i am unable to load the files names using ssis.
    Please can any one help to fix this using script task or any other code..
    It is very urgent

    Thank You Vaibhav,
    I want to insert the file name along with the other columns of data from excel.
    like this deriving a new column FILE_NAME
    Your ForEach Loop task must be returning the entire file path, I suppose.
    1. Get the file name from your file path. 
    New variable: FileName 
    Expression   : RIGHT(@[User::FilePath],FINDSTRING(REVERSE(@[User::FilePath]),"\\",1)-1)
    2. Inside Data flow, after Excel source use Dervied Column and use above @FileName
    3. At your OLEDB destinition, use MyFileName.
    -Vaibhav Chaudhari

  • Create a new column in a table that compares the value of one column with its previous value

    The DDL:
    DECLARE
    @T TABLE
    IDNO
    int,
    name
    varchar(40),
    [Date]
    datetime2,
    Price1
    float,
    Price2
    float
    DECLARE
    @K TABLE
    IDNO
    int,
    name
    varchar(40),
    [Date]
    datetime2,
    Price1
    float,
    Price2
    float
    INSERT
    INTO @T
    VALUES(22,'C_V_Harris','2014-01-02 10:23:49.0000000',
    23.335,      
    23.347)
    INSERT
    INTO @T
    VALUES(21,'C_V_Harris','2014-01-02 10:05:13.0000000',
    23.357,      
    23.369)
    INSERT
    INTO @T
    VALUES(20,'C_V_Harris','2014-01-02 09:56:15.0000000',
    23.364,      
    23.377)
    INSERT
    INTO @T
    VALUES(19,'C_V_Harris','2014-01-02 09:45:26.0000000',
    23.351,      
    23.367)
    INSERT
    INTO @T
    VALUES(18,'C_V_Harris','2014-01-02 09:43:20.0000000',
    23.380,      
    23.396)
    INSERT
    INTO @T
    VALUES(17,'C_V_Harris','2014-01-02 09:34:28.0000000',
    23.455,      
    23.468)
    INSERT
    INTO @T
    VALUES(16,'C_V_Harris','2014-01-02 09:30:37.0000000',
    23.474,      
    23.486)
    INSERT
    INTO @T
    VALUES(15,'C_V_Harris','2014-01-02 09:18:12.0000000',
    23.419,      
    23.431)
    INSERT
    INTO @T
    VALUES(14,'C_V_Harris','2014-01-02 09:16:06.0000000',
    23.360,      
    23.374)
    INSERT
    INTO @K
    SELECT
    ROW_NUMBER()
    OVER (ORDER
    by IDNO)
    AS RN,*
    FROM
    @T
    SELECT
    * FROM
    @K
    --not working:
    SELECT
    a.RN,a.Price2
    FROM
    @K a
    INNER
    JOIN @K
    b
    ON
    a.RN=b.RN-1
    WHERE
    a.Price2>b.Price2
    I need to create  a view with a column (say 'Comp' below) that compares the value of each row in Price2 with the previous Price2 row, and it is greater then +1, the
    same 0, and less -1.
    The processed table should be:
    IDNO
    name
    Date
    Price1
    Price2
    Comp
    22
    C_V_Harris
    1/2/2014 10:23:49
    23.335
    23.347
    0
    21
    C_V_Harris
    1/2/2014 10:05:13
    23.357
    23.369
    1
    20
    C_V_Harris
    1/2/2014 9:56:15
    23.364
    23.377
    1
    19
    C_V_Harris
    1/2/2014 9:45:26
    23.351
    23.367
    -1
    18
    C_V_Harris
    1/2/2014 9:43:20
    23.38
    23.396
    1
    17
    C_V_Harris
    1/2/2014 9:34:28
    23.455
    23.468
    1
    16
    C_V_Harris
    1/2/2014 9:30:37
    23.474
    23.486
    1
    15
    C_V_Harris
    1/2/2014 9:18:12
    23.419
    23.431
    -1
    14
    C_V_Harris
    1/2/2014 9:16:06
    23.36
    23.374
    -1
     How can I structure the statement to get (the most recent - order by date ) result for Comp?

    Satheesh Variath, I just had to make some corrections from your script to get the correct answer:
    CREATE
    VIEW vw_Comp
    AS
    SELECT
    TOP 1 t.IDNO,t.name,t.[Date],t.Price1,t.Price2,
    CASE
    WHEN t.Price2
    > LAG(Price2,1)
    OVER (PARTITION
    BY name
    ORDER BY IDNO) 
    THEN 1
    WHEN t.Price2
    < LAG(Price2,1)
    OVER (PARTITION
    BY name
    ORDER BY IDNo) 
    THEN -1
    ELSE 0
    END
    AS Comp
    FROM 
    @T t
    ORDER
    BY DATE
    DESC
    The adjustments: the selection of the most recent comparison (Top 1) and the use of the function LAG (instead of LEAD) to get the previous value of the column.

  • Should I create a new Wi Fi network or add Time Capsule to existing Wi FI network

    I decided to buy a 3 TB Time Capsule rather than have a bunch of USB drives connected to my iMac (2010 3.2 GHz i3 running ML). I’ve noticed that when I have 3 USB drives connected, one always fails to mount.
    I have a Netgear CG3100 Cable Modem on Telstra’s network.
    The TC (located in a entertainment unit downstairs) connects to the Cable Modem via Ethernet (located upstairs).
    Under ‘AirPort Utility’ Network menu, the Router Mode is: Off (Bridge Mode). This creates two Wi Fi networks (Netgear creates a Wireless-N network plus the TC network). I’m running AirPort Utility version 7.6.3.
    Is this environment the ideal setup – Bridge Mode? Running ‘Speedtest.Net’ via my iPhone, both Wi Fi networks offered up to 30 Mbps. Although, I’ve noticed TM on some occasions to be significantly slower (maybe due Time Machine syncing via Ethernet???).
    The following devices attach to the Network;
    via Ethernet to Cable Modem, iMac, Ethernet Switch (for TV, Apple TV and Amp), TC (running off ports are TV, Apple TV and Amp) and,
    via Wi Fi; iPads, iPhones, MacBook Pro and Windows laptop.
    Network is used for all the usual stuff including Apple TV, Skype and VPN.
    Ideally I don’t want to have to switch between the two Wi Fi networks. As the Cable Modem and TC are in different locations, one would expect the performance would vary depend on your proximity to each device. Ideally, you’d won’t to connect to the device with the best signal.
    I’d appreciate any guidance on the best configuration for this environment.

    I didn't roll back 5.6 but was able to get things working with Airport Utility7.6.3. I believe the problem may have been one of two things. The Wireless Settings for the Netgear CG310 had the following Security Option selected:  WPA-PSK [TKIP] + WPA2-PSK [AES].
    So I selected just WPA2-PSK [AES] which matched the AirPort Utility Wireless Security option.
    That appeared to fix the iMac. The MacBook Pro (MBP) still didn’t play ball. From the Network Preferences menu, I selected ‘Assist me’…re configured the wireless on the MBP. Followed the ‘Diagnostics…’ option ‘Choose network port configuration’ selecting WiFi…and that solved whatever voodoo was preventing the MBP from connecting to the WiFi network.
    The 5GHz achieved a download speed of +60Mbps (speedtest.net), so I’m pretty happy with that!
    The following images are now my setup so that my DSL/Cable Modem and TC have the same:
    SSID
    Security WPA2-PSK[AES]
    Password
    The TC Network Mode is 'Create a wireless networl'
    The DSL/Cable Model is set to channel 1 and the TC is set to 11 for 2.4GHz and 36 fro 5GHz.
    The TC Router Mode: Off (Bridge Mode)
    Thanks LaPastenague & edex67for taking the time to assist me. I hope my experince will help others when they want to add a TC to their existing home network.

  • Create new column in BI Admin Tool being HFM the OBIEE data source.

    Hi all,
    I am developing a BI project using OBIEE 11g 11.1.6.4 and HFM 11.1.2.1. HFM is the data source for OBIEE.
    Having the metadata imported in the physical and in the BMM layers, what I want to do is create a new column that will contain a float value. This float value depends on Account dimension, that is, if account name is 'XYZ', in a join of all dimensions, this new column´s value should be the same for all the other accounts in the same join.
    I have reached a point that the new column created shows the same number (value) as the logical column 'value' of the fact table, but I don´t know how or where specify which value (the one of the account name 'XYZ') should be for the rest of the new column (where account name is not equal to 'XYZ').
    I hope it is understandable, if something is not clear, please ask me.
    Thanks in advance.
    Best regards,
    Borja

    Hi,
    yeah when i put * in the set online filter i am able to see the users which i have created in weblogic. After all the users appear then i select Action-> close. Now again when i try to cross check it once again i again clicked on manage->indentity->now i dont see the users. what could be the issue?
    Thanks,
    RM

  • How to create New columns for the Internal Table Dynamically?

    HI Guys,
                          In my logic i have to create new columns depending on the logic which i am executing.
    My requirement is .I have to display o/p like this
    Material || Year || Period  ||  Mix ratio || Vendor ||Mix Ratio || Vendor || Mix Ratio Vendor || Mix ratio || Vendor || Mix ratio.............................from table's CKMLMV003 and CKMLMV001.Her i have to display the o/p in the above format and i have to display Vendor and Mix Ratio for 5 columns irrespective of data .If i have more than 5 columns for any record then i have to create a New columns dynamically for Vendor and Mix ratio.If anybody want my code i can Submit But plz tell with example how to do?
                    <b>The O/P must be finally shown in ALV Grid</b>
    Thanks,
    Gopi

    You must create the entire internal table dynamically, you can not add columns to a statically define internal table.  Here is an example of creating a dynamic internal table.
    Creation of internal table dynamically based on the Date Range entered
    Regards,
    Rich Heilman

Maybe you are looking for