Separated URL and Description into a calculated column

Hi;
I have a link column "SITE" (URL + Description) and I would to create a new calculated column "NameSite" which use URL + DESCRIPTION but separated.
How write my formula in separating URL and the description of the link column ?
Regards

You can't do it with a Calculated Formula as the Hyperlink field is not available for Formulas.
But the information you want is available in the ClientContext object when a View is displayed.
On 2013 you would use CSR/JSlink to do what you want with Javascript.
On 2010 you could try and stuff Javascript in a Calculated Column, see http://sharepoint.stackexchange.com/questions/130377/calculate-field-with-a-lookup-additional-column

Similar Messages

  • SQL*Loader - How to combine Flat File 3 columns and put into one single column

    Receive a flat file delimited by comma. Want to combine Flat File last 3 columns and put into one single column(Table).
    e.g.
    Flat File
    100,239,30,20,30
    While inserting into table want to combine last 3 columns and insert into invoice number column.
    302030

    It is not possible to combine the last 3 columns as those columns are seperated by commas and in the SQL Loader control file you must ve specified COMMA as an delimiter. So u better have all the columns in the table plus add one more column which holds the concatenation of the 3 columns.
    Vijay

  • Logical AND , OR operations in calculated Column

    Hi Frzz,
    I need to apply AND & OR operators in IF statement of Calculated Column. Could some one help he how to achieve this.
    IF( employeetype = = 'temporary' AND experiance == '5years' )
         IF( employeeDesignation == ' BA' )
             logic
        ELSE IF (employeeDesignation == 'AC')
             logic
       ElSE
            logic
    ELSE IF ( employeetype = = 'temporary' OR experiance == '5years' )
         IF( employeeDesignation == ' BA' )
             logic
        ELSE IF (employeeDesignation == 'AC')
             logic
       ElSE
            logic
    ELSE
    Logic
    Best Regards,
    Krishna.

    Hey Krishna, ( feels like calling myself )
    Just have a doubt here, before proceeding for the solution
    1) Why do you want to convert it into a string if it is a number?
    2) what is the data type of the field?  is it VARCHAR?
    If you feel like it has to be converted , then why don't you convert everything into a string so that
    1) if there is a number it will get converted into a string
    2) if there is string, it will again convert ( which should not be  a problem )
    Can you be more clear on what you wanted to do there?
    Regards,
    Krishna Tangudu

  • Can I import iMatch categories and descriptions into the organizer?

    I own both iMatch (v3.6) and Photoshop Elements (8)
    I want to migrate my photo and video catalog to the Elements Organizer avoiding a lot of work creating tags and categories all over again. Is there a way to import my categories and descriptions I made in iMatch into Elements Organizer?

    I just tried exporting the existing cloud calendar - which confusingly we've called "Family" and it's been in place for the last 4 years! - and then re-importing it and seeing if it will let me import to an existing calendar rather than make a new one. It worked for a few seconds (I told it to import in to the new "Family" calendar set up through Family Sharing). They all showed up alright - effectively duplicating all family events - but then I had thousands of error messages telling me the event already existed on the server and the only thing I could do was 'Revert to Server' - which deleted them all again. (It let me choose "Ignore" to start with but when the thousands of events clocked over to the first one again I knew I was on a hiding to nothing!).
    Going to try doing it about-face and deleting all trace of the original "Family" calendar first this time, (OK to do now that it's been exported)... stand by . . .
    ~/b

  • Reading  xml data from url and insert into table

    CREATE TABLE url_tab2
    URL_NAME VARCHAR2(100),
    URL SYS.URIType
    INSERT INTO url_tab2 VALUES
    (’This is a test URL’,
    sys.UriFactory.getUri(’http://www.domain.com/test.xml’)
    it is giving error as invalid character

    Check if your single quotes are the correct single quotes.
    The principle works as advertised in the XMLDB Developers Guide...
    C:\>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Tue Nov 25 21:44:46 2008
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create user OTN identified by OTN account unlock;
    User created.
    SQL> grant dba, xdbadmin to OTN;
    Grant succeeded.
    SQL> conn OTN/OTN
    Connected.
    SQL> CREATE TABLE uri_tab (docUrl SYS.URIType, docName VARCHAR2(200));
    Table created.
    SQL> -- Method SYS.URIFACTORY.getURI() with absolute URIs
    SQL> -- Insert an HTTPUri with absolute URL into SYS.URIType using URIFACTORY.
    SQL> -- The target is Oracle home page.
    SQL> INSERT INTO uri_tab VALUES
      2  (SYS.URIFACTORY.getURI('http://www.oracle.com'), 'AbsURL');
    1 row created.
    SQL> -- Insert an HTTPUri with relative URL using constructor SYS.HTTPURIType.
    SQL> -- Note the absence of prefix http://. The target is the same.
    SQL> INSERT INTO uri_tab VALUES (SYS.HTTPURIType('www.oracle.com'), 'RelURL');
    1 row created.
    SQL> -- Insert a DBUri that targets employee data from database table hr.employees.
    SQL>
    SQL> INSERT INTO uri_tab VALUES
      2  (SYS.URIFACTORY.getURI('/oradb/HR/EMPLOYEES/ROW[EMPLOYEE_ID=200]'), 'Emp200');
    1 row created.
    SQL> SELECT e.docUrl.getCLOB(), docName FROM uri_tab e;
    E.DOCURL.GETCLOB()
    DOCNAME
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN
    ">
    <html>
    <head>
    AbsURL
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN
    ">
    <html>
    E.DOCURL.GETCLOB()
    DOCNAME
    <head>
    RelURL
    <?xml version="1.0"?>
    <ROW>
      <EMPLOYEE_ID>200</EMPLOYEE_ID>
      <FIRST_NAME>Jenn
    Emp200
    SQL> set long 1000
    SQL> select HTTPURITYPE('www.oracle.com').getCLob() from dual;
    HTTPURITYPE('WWW.ORACLE.COM').GETCLOB()
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN
    ">
    <html>
    <head>
    <title>Oracle 11g, Siebel, PeopleSoft |
    Oracle, The World's Largest Enterprise S
    oftware Company</title>
    <meta name="title" content="Enterprise Applications | D
    atabase | Fusion Middleware | Applicatio
    ns Unlimited | Business | Oracle, The Wo
    rld's Largest Enterprise Software CompanEdited by: Marco Gralike on Nov 25, 2008 10:13 PM

  • How can I copy a url and paste into my email or other page?

    I used to be able to copy a url from wherever I was, say Youtube and my browser would remember that and I could paste it on another site, say email or Facebook, etc.

    Thank you so very much. I've been searching around to no avail for days. Woohoo. You made my day.

  • Seperate field containing date and time into two seperate columns

    Hi
    I have a column which contains entries which are in the format date time i.e. 27/10/2005 07:06:09
    however i would like to have these as two seperate columns so the date is in one and the time in another.
    how would i go about doing this in pl/sql?

    im running a query in excel to graph a variable against time, however excel is not storing it correctly so when i try to use string manipulation to put the time on the x axis it's producing a long decimal number instead of the actual time.
    i want to keep it in that format but also have it in two seperate columns. when excel makes the graph it will only read the same date over and over it won't get past the date to see the time changes.

  • Separating home and boot into separate partitions after installation

    Hi,
    is it possible to separate home and boot folders into different partitions for an already complete arch installation without re-installing? And if so, is it a good idea?
    I also would like to upgrade from ext2 file system to ext4. It would be great though if I could keep my current arch-linux installation.
    I know that the file system upgrade is possible (although not without risk), but I'm not sure about the partitioning.
    I guess creating new partition, mounting it with fstab and simply copying the content of boot folder from my root partition would not be sufficient, but I could be wrong.
    I know I can't run pacstrap script, because it would delete my current folders (except home). So is there other way?
    Thanks for help.

    2Head_on_a_Stick: I don't know why, but it didn't work. Is the partition supposed to have the folder boot in it or just the files inside the boot folder? Nevertheless I tried both and each failed. I suppose I made a mistake in fstab file.
    # <file system> <dir> <type> <options> <dump> <pass>
    UUID=CBB6-24F2 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    I got this from https://wiki.archlinux.org/index.php/Fstab and yes I did change the UUID accordingly. The partition was formated to fat32.
    I'll try the home partition now. Hope it will go better.

  • Title and description for lookup column

    Hopefully this can be simple.  I am working on development in SharePoint 2010 but I do NOT think that it is specific to 2013 or 2010, I am migrating to 2013 in a month or so (hopefully!)
    Requirement:
    Display lookup list for Server Name (Title) and Server Description (Description)
    Problem:
    I have a custom list with 2 columns, title and description, both text fields.  I am using that list as a lookup to my other custom list.
    The graphic below has 2 windows squished into it.  The middle window is the list pulling the data from, the lookup list.
    The graphic to the right is the issue that I am running into.  I create the column and hopefully I can use the lookup column with the title column AND THEN the additional fields for the Description!  It DOES appear, but AFTER I fill out the form. 
    The form is on the left part of the graphic below.
    I see the server names or "Title" but I can't even "hover" over it and see the description!  I don't know how to present the description lookup in the form when I do "new item."  Is this something that 2010 / 2013
    can do and OOTB or do I need designer? I don't code so I can't use VS.
    Thank you!
    Matt

    Thank you, I created a calculated column, using Microsoft's recommendations below, and Scott's!
    Calculated Field Formulas -
    http://msdn.microsoft.com/en-us/library/bb862071.aspx
    The result shows below.  the 3rd column is the Server and Description, with the calculated column, "merging" the two text into one, with a space and a dash in the middle to separate them.  The list is below and the "look up".  The black section
    is my new form or add new item, where I would select multiple servers based on their server name and their description.

  • ITunesU adding text to episode title and description

    Apparently our iTunesU site started doing something odd over the weekend. It's started adding the short name as well as the tab name to the beginning of the podcast name.
    For example:
    The tab name is "PHIL 2050 - Ethics and Values"
    When you subscribe to the "PHIL - 2050 Ethics and Values" podcast the name of the podcast shows up in the Podcasts portion of iTunes as "Phil - Public - Phil 2050 - Ethics and Values"
    I know that there is a setting in iTunesU to override album and artist information (those are currently set to "Use original", but I haven't seen anything related to the actual title of the podcast. Anyone have any idea why this is happening and how I can get it to stop?

    Thank you, I created a calculated column, using Microsoft's recommendations below, and Scott's!
    Calculated Field Formulas -
    http://msdn.microsoft.com/en-us/library/bb862071.aspx
    The result shows below.  the 3rd column is the Server and Description, with the calculated column, "merging" the two text into one, with a space and a dash in the middle to separate them.  The list is below and the "look up".  The black section
    is my new form or add new item, where I would select multiple servers based on their server name and their description.

  • Need help with a calculated column - is there any way to reference a value in the current row?

    Hey guys,
    I'm a bit of a DAX newbie, and I'm running into a block. I'm creating a Power View report about IT tickets. We are going to be creating a cube to automate the data soon, I'm currently working with a flat Excel Data Table of data to demonstrate the Power
    View reporting capabilities to the team. I need the default display to show the top 4-5 items basked on the Ticket Count. The three applicable columns I'm using are the TicketID, the ContactReason, and the AssetCategory - all three are
    text. One slide will show the top five Contact Reasons by Ticket Count, and the other will show the top five Categories by Ticket Count. The users will see this default view, but will be able to change it to see differently ranked items or can clear the
    ranking slicer altogether.
    What I've accomplished so far is to create the Calculated Field [Ticket Count] = COUNTA(Table1[TicketID])
    And 2 other calculated fields:
    [Contact Rank] = RANKX(ALL(Table1[ContactReason]),[Ticket Count],,,DENSE)
    [Asset Rank] = RANKX(ALL(Table1[AssetCategory]),[Ticket Count],,,DENSE)
    If I were creating a Pivot Table, this would be great. These fields calculate everything the right way. The problem is, I need to have a Rank slicer on each slide and the calculation by itself contains no data - with no data, there's nothing to slice. I
    realized I need to actually have columns of data so I can create a slicer. I need each row of the table to show the same [Contact Rank] for every instance of a particular ContactReason (and the same for the [Asset Rank] and AssetCategory).
    The RANKX formulas pasted into the Calculated Column section only show a value of 1 - with no Pivot table summarizing the fields, it's counting each row's ticket once, giving every line the tied Rank of #1.
    I've solved the problem in Excel by creating 2 Pivot Tables on a separate sheet that have the data field and the calculated field for ContactRason and AssetCategory. Then on my Excel Data Table, I've added two columns that do a VLOOKUP and pull over a the
    Calculated Rank from each Pivot Table that match the ContactReason and AssetCategory fields. This works on the flat Excel Data Table now, but will not be a solutions when we start pulling the data from the cube (and there is no flat table).
    What I think I need is an Expression for the RANKX formula that can give me, for each row, the count of all of the times a ContactReason shows up in an entire column. There's only about 100,000 lines of data and each ContactReason or AssetCategory
    may show up several thousand times. But if I can get the expression to return that count, then the RANKX formula should work in the Column. If it wasn't a DAX formula, I'd use a COUNTIF and say 'Count the entire ContactReason column anytime it's equal to the
    ContactReason on THIS row', but in DAX I don't know how to reference a single value in a row. I've tried the CALCULATE() formula, but it seems like the filter needs a specific value, and doesn't work on a dynamic "cell" value.
    Any help would be greatly appreciated! (I hope it all makes sense!)

    If I've understood you correctly then the ALLEXCEPT function may be what you're after and it could be applied in a similar way to the following...
    =
    RANKX(
    ALL(Table1),
    CALCULATE(
    COUNTROWS(table1),
    ALLEXCEPT(Table1, Table1[ContactReason])
    DENSE
    If this has missed the mark, would it be possible to clarify the requirement further?
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com
    Blog: http://www.nimblelearn.com/blog
    Twitter: @nimblelearn

  • EXCEL CALCULATION IN CALCULATED COLUMN PROBLEM

    Hello,
    Please someone kindly help out with this calculation problem. I have an Excel file with this calculation:
    =IF(E10<D10,E10/D10,E10/E10)
    I am trying to translate this into a calculated column in a list and I can't seem to succeed with it. Can anyone try this out and be my hero.
    You've only got ONE LIFE; HELP as many people as you can, and ENJOY IT while it lasts. People are in the centre of our happiness, even God understands that.

    Hello Hemendra,
    Voila! here it is finally.
    =IF([SCORE-FM1]/[TARGET-FM1]*100>=100,"100",[SCORE-FM1]/[TARGET-FM1]*100)
    Frankly I couldn't believe it! It does fulfill my requirement. Thanks a lot for pointing in the right direction.
    Let me explain what this does.
    whenever the target is higher than the score (and inversely whenever the score is lower than the target)
    (still saying one and the same thing), we will always get a figure less than 100% (say anything between 0% - 99%) and this perfectly OK. That is what is happening in the above image where 89% and 33% is %Achieved.
    Also, whenever the score is the same with the target, the result will be 100%, that is what happened
    to the last calculation having "3" and "3".
    But whenever the score is higher than the target, the result will be over 100% (say 120%, 180%, 350%,
    etc). I want it such that whenever this is the case, the logic should trim it down to 100%. This is what the below calculation does:
    =IF([SCORE-FM1]/[TARGET-FM1]*100>=100,"100",[SCORE-FM1]/[TARGET-FM1]*100)
    Thanks Hemendra for being online. And for Sylvester Oriabor and Chinenye Nwanna who are offline who helped to drive this to conclusion, especially Chinenye Nwanna. Thank you all.
    You've only got ONE LIFE; HELP as many people as you can, and ENJOY IT while it lasts. People are in the centre of our happiness, even God understands that.

  • Combining two single recordset into one two column recordset

    Hi Forum
    Assume we have three types , each 'table of'
    CREATE OR REPLACE type type1 as table of number ;
    CREATE OR REPLACE type type2 as table of varchar2 (255);
    CREATE OR REPLACE TYPE TYPEVALUE AS OBJECT
    (object_type number ,
    object_value varchar2(255)
    resultset1 type1 := type1() ;
    resultset2 type2 := type2() ;
    resultset3 typevalue := typeValue3() ;
    I want to populate records of resultset3 from resultset1 and resultset2 , using resultset1 for first column of record and resultset2 for second column.
    One way is to do for loop but I don't want to use this.
    I need something similar to resultset3 to use it dynamically in select statement to do MINUS operation with another resultset . I think things like MULTISET, COLLECT, CAST can achieve what I want to do.
    Can you please help me to have a select statement that combines two single column rowset and put into a two column recordset.
    Thanks

    Hi,
    You can do something like this:
    SQL> create or replace type type1 as table of number;
      2  /
    Type created.
    SQL> create or replace type type2 as table of varchar2(255);
      2  /
    Type created.
    SQL> create or replace type typevalue as object(object_type number, object_value varchar2(255));
      2  /
    Type created.
    SQL> create type typevalue_tab as table of typevalue;
      2  /
    Type created.
    SQL> ed
      1  declare
      2     resultset1 type1 := type1(1, 2, 3, 4, 5);
      3     resultset2 type2 := type2('one', 'two', 'three', 'four', 'five');
      4     resultset3 typevalue_tab;
      5  begin
      6     for l_res in (
      7        select typevalue(t1.col1, t2.col2) as col
      8        from (
      9           select column_value col1
    10           , rownum rn
    11           from table(cast(resultset1 as type1))
    12        ) t1
    13        , (
    14           select column_value col2
    15           , rownum rn
    16           from table(cast(resultset2 as type2))
    17        ) t2
    18        where t1.rn = t2.rn
    19     )
    20     loop
    21        dbms_output.put_line(
    22           'Object Type:  '||l_res.col.object_type||' '||
    23           'Object Value: '||l_res.col.object_value
    24        );
    25     end loop;
    26* end;
    SQL> /
    Object Type:  1 Object Value: one
    Object Type:  2 Object Value: two
    Object Type:  3 Object Value: three
    Object Type:  4 Object Value: four
    Object Type:  5 Object Value: five
    PL/SQL procedure successfully completed.All the work here is done in SQL so it should work similarly if you have these things defined as nested table columns in the database.
    However, there is a caveat here: the lines highlighted in bold above are defining an arbitrary ordering for the nested table elements using rownum, as there is no concept of ordering within a nested table. You should change this part of the query to whatever makes sense in your environment, otherwise this solution cannot be guaranteed to be correct. Another option would be to use VARRAYs, as they will retain the order of elements.
    cheers,
    Anthony

  • How do you import CSV, tab, and OFX files into multiple Numbers columns

    This Apple function from Numbers '08 Help "Importing a Document" does not seem to work:
    "You can create a new Numbers spreadsheet by importing a document created in Microsoft Excel or AppleWorks 6. Numbers can also import files in comma-separated value (CSV) format, tab-delimited format, and Open Financial Exchange (OFX) format."
    No amount of experimenting with Import, Export, Save As, Paste and Match Style, or using other applications will enable importing CSV, tab, or OFX files into multiple Numbers columns. Instead, all data is imported into a single Numbers column, which then has to be manually and tediously parsed one data element at a time into columns, one row, and one column at a time.

    Jerrold Green1 wrote:
    Joe,
    They all have worked here. I'm not presently able to try in Numbers 08, but I know I've done them all.
    Just double-clicking a .csv file will open Numbers and display the data in a table. Dragging a .csv file to your Numbers icon on the Dock will open it as a Numbers table. Dragging it to a Sheet in an open Numbers document will make a new table in an existing document, and dragging to a table will insert the csv file into the table you dropped it into.
    CAUTION
    With Numbers '08, CSV files must use the comma as delimiter on every setting of decimal separator.
    Numbers '09 behave differently.
    With your tab-delimited file open in a word processor, copy it, then paste it into a table in an open Numbers document. When doing this, select a cell in the table, but don't double-click into the text field of the cell, then paste.
    Why use this long road when we may import directly Tab Separated Values file (tsv.txt) with Numbers '08 (or '09) ?
    Yvan KOENIG (VALLAURIS, France) jeudi 2 décembre 2010 21:05:36

  • DAX - IF statement and filters within calculated column

    Hi all,
    I've got a bit of a complex formula I'm trying to run, but I'm not quite there yet.  I don't know where/how/if I can place a filter within my IF statement for a calculated column due to so many variables.  I either get errors or wrong numbers. 
    Hope the following makes sense. 
    Here is my formula for the calculated column [Years Since Last Task]:
    =IF (ISBLANK([Last Task Date]) && ([Current Role]<>BLANK()), DIVIDE([Quarters],4), FLOOR(1. * ( today() - [Last Task Date]) / 365, 0.25))
    Problem:  I am getting "114.25" for Ken....but I want a blank result instead.  Meaning, I need to also filter out any name (row) who has a blank [Current Role].  How do
    I add a filter to this current formula?  Is one more step of filtering possible in this IF statement?  (Maybe I shouldn't use an IF statement, and try CALCULATE instead?)
    Below is the table 'Work' for you to see what's happening.
    Name
    Quarters
    Last Task Date
    Current Role
    Years Since Last Task
    John
    1
    1
    0.25
    Mike
    4
    2/7/2011
    3
    3
    Todd
    5
    4/20/2009
    4
    5
    Jeff
    9/1/2013
    3
    0.5
    Ken
    0
    114.25
    Steve
    2
    12/3/2011
    2
    2.25
    Nate
    2
    1/1/2014
    2
    0.25
    Greg
    1
    8/11/2013
    1
    0.5
    Ross
    4
    11/9/2010
    4
    3.25
    Hope all this made sense.  Let me know if you have any thoughts.
    Thanks,
    ~UG1

    you can use nested IF-statements here:
    =IF (ISBLANK([Current Role]),
    BLANK(),
    IF(ISBLANK([Last Task Date]),
    DIVIDE([Quarters],4),
    FLOOR(1. * ( today() - [Last Task Date]) / 365,0.25)
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

Maybe you are looking for

  • Can JPG Be Opened in Camera Raw if Not Using Bridge?

    I love the flexibility that Camera Raw provides even for files that were not created as NEFs and am looking for a way to open a jpg when I'm NOT using Bridge. Can't seem to find a menu command in Photoshop and using the Finder's  "Open With" Contextu

  • Replace/Remove functionality in GRC 10

    HI All Would somebody be able to tell me what authorization objects and values are required for a user role to allow the user to perform remove or replacement in GRC 10. The only way I can the user to see the list of assignments to replace or remove

  • Networking macbook with Desktop PC using airport??

    Ok well at the moment I have an pc running on windows(with a dialup net connection) and im looking at buying a macbook and i was wondering if i buy a wireless PCI (desktop) adaptor here: http://www.dse.com.au/cgi-bin/dse.storefront/4471682d096f293a27

  • Inserting double-byte (Japanese) characters

    I am trying to insert a < 30 character Japanese string into a table with a column of type VARCHAR2(30), but I get the Exception: ORA-01401: inserted value too large for column which is fairly self explanatory....... I'm using the thin driver against

  • Problem on confirmation

    Hello, I want a confirmation's user when he closes the browser with the X icon. For this i use the code :          var needToConfirm     = true;          window.onbeforeunload = confirmExit;          function confirmExit()           if ( needToConfir