Analytical View - Substring function and Other functions.

Hello All
I am trying to use substring and trim function for a value/string and get the field value from position 6 - 10. in analytical view.
Example: Field name XYZ (Values showing as: ASDFG GETVALUENW  2345) --> (data type :22 VARCHAR)
Output must be : GETVALUENW (which is 10 characters, from position 6 after trimming) which I am wring to new filed in Calculated coloumns.
Trying the use built-in functions but syntax wise missing some thing need your inputs.
Regards
Kiran.

Hi Kiran Avunuri,
A small thought process.
Have you tried something similar(syntax) in your view.
BR
Prabhith

Similar Messages

  • I have a macbook pro running snow leopard. Just recently I cannot view youtube videos and other online videos. I recently updated my flashplayer plugin and I believe that is the problem. Is the latest flashplayer plugin compatible with 10.6.8?

    I have a macbook pro running snow leopard. Just recently I cannot view youtube videos and other online videos. I recently updated my flashplayer plugin and I believe that is the problem. Is the latest flashplayer plugin compatible with 10.6.8? If this is so, I need to find an older flash player plugin to reinstall. I do not want to upgrade from 10.6.8 at this time because I have 18 yrs. worth of financial records on Quicken that I have read will not work with Lion and I've read bad things about running music programs on Maverick.

    rayvonr wrote:
    ...I have 18 yrs. worth of financial records on Quicken that I have read will not work with Lion and I've read bad things about running music programs on Maverick.
    1)  Quicken 2007 for Intel (Snow Leopard, Lion, Mt. Lion and Mavericks) is a full featured app that can be downloaded from Intuit for $15 and will work with your data file if you are using Quicken 2005, 2006 or 2007 (if you version is earlier, let me know for more instructions on easy conversion):
    http://quicken.intuit.com/personal-finance-software/quicken-2007-osx-lion.jsp
    2) Partition your hard drive, or add an external hard drive and install Mavericks there and "dual-boot" to operate your music programs in Snow Leopard and experiment with them in Mavericks.
    DO NOT install Mavericks over Snow Leopard!

  • I was in the process of a software update and my backup was corrupted. I can see the backup on my computer and also was able to view contacts, photos and other items via "Dr.Fone". What should I do? I need this info...Thanks!

    I was doing a software update, while it was completing it said that the backup was corrupted, I tried restoring several times but no luck. I checked out this third party software "Dr.Fone" and hoped that it would work, i was able to view all of my data but have to pay for retrieval (if it even works). I am not sure what to do, i have no problem paying for "Dr.Fone" but the site seems shady...any help would be unbelievably appreciated!!!

    Liquid damage from water spill is progressive, unfortunately.
    Best.

  • Cannot view attachment​s and other noob issues

    Hello,
    I'm completely new to blackberry, and am quite confused.  Let me apologize in advance, as this is long and this device is much more involved than any I've had before.
    When I receive an email with an attachment(in this case, I sent myself a .doc file to test it out from a yahoo account) I get the "Attachment type cannot be viewed on your device". 
    I just recieved my BB Tour today, and was able to set up the email rather easily as it is on a POP3.
    I have activated the Documents to Go service, it appears that I have the viewer(I followed instructions to check it from another thread for the Curve I believe, and it appeared under Core Applications, so I'm not sure if that actually applies to the Tour, but I found what I think I'm supposed to have under setup/advanced options/applications and then viewed under 4.7 Core Applications under modules net_rim_bb_docview).
    I have tried the restarting the device, but no luck.  I installed the desktop manager, and followed the instructions to install/update everything.
    So far, I've got about 4 hours into this by trying to read through previous posts and the support site, which is wearing on me.
    Since I just got it today, is it possible there is some type of lag?  I did get an activation message that had instructed me to Leave Messages on the Server, which I did, so I think I'm activated as I'm getting email and can send.  But, again, being new to this, it's all a bit overwhelming and has me thinking I should have just activated the data package with my Motorola Q.  I'll keep toying with it, to see if something clicks.
    Could someone also direct me to a Blackberry 101 type guide?  I haven't found the user manual very helpful as I can't even find in it if I can set how often it checks for messages, or if there is a way I can set it to check every 5 minutes or only on demand.  So, if anyone can point me in the right direction, I would be grateful!  Also, need to update my contact list from Microsoft Outlook, but no luck in finding out how to do that successfully either.
    I know that this is a whole lot in one message, but thank you for indulging a newbie.
    Message Edited by bbtournoob on 08-27-2009 10:24 PM
    Solved!
    Go to Solution.

    Hi and welcome to the forums!
    Sorry there really isn't a 101 for the attachment service.
    http://na.blackberry.com/eng/support/blackberry101​/
    This will help with the basics!
    Don't think of one whole email and attachment being sent and received on the Blackberry as one item.
    You are drawing in the document and attachments in "segments", if you think of that, it will make the articles
    a little easier to read.
    Two things first.
    On the BB go to options, advanced options, applications. Scroll down to Blackberry Attachment service.
    Highlight, don't click, menu key, edit default permissions, set all to allow. Save and  go to the main message queue.
    Menu key, options, general options, scroll to auto more set to yes.
    Now the application is there, the defaults are set, the email address is set to automatically request the whole document.
    Lets check the email setup.
    Go to options advanced options, Host Routing Tables, click to enter. DO NOT click on any listing.
    Press menu key, and select register now. You will get a registration verification message.
    Then go to email settings and send service books. I recommend logging in via PC into the carriers BIS site.
    (If you need the link to the correct site, send me the carrier  name)
    You will get an activation email per account. See if the problem is fixed.
    If not, then we go into the Yahoo settings. In the mean time, here is some light reading material on the subject!
    Just go over it and see how much applies to you and we can discuss it, OK?
    Let us know how it goes!
    Thanks,
    Bifocals
    KB13278 How to save attachments from the BlackBerry Internet Service to the BlackBerry smartphone
    KB10613 Unable to open an attachment using a BlackBerry Internet Service account
    KB15503 Attachments larger than 3.1 MB sent to integrated Yahoo! Mail accounts are not viewable on the BlackBerry smartphone
    KB03265 Supported attachment formats for the BlackBerry Internet Service
    KB16362 Supported versions of Documents To Go
    KB16408 How to edit a document using Documents To Go on a BlackBerry smartphone
    KB10473 Unable to open attachments on the BlackBerry smartphone
    Message Edited by Bifocals on 08-27-2009 10:30 PM
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • When viewing news video (and others) the lips move and the sound follows after a few seconds. How do I fix this?

    The movement of the lips when a video plays is not synced with the verbal noise that comes from speaking. It's like if I am talking and I hear it moments later not when I actually say it.
    This happens when I view Fox news, cnn or any of the local news stations.

    You can try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    You need to close and restart Firefox after toggling this setting.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration
    Try to "disable the hardware acceleration" in the Flash Player.
    *http://helpx.adobe.com/flash-player/kb/video-playback-issues.html
    See also:
    *https://support.mozilla.org/kb/keep-flash-up-to-date-and-troubleshoot-problems
    Flash "Display settings" window:
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html

  • HT204382 Switched from PC Window XP to a new Mac mini...   Number of my wvm files and other stuff will not open.  HOW please?

    Switched from Windows XP to a Mac mini...  Unable to view  "Wave files" and other zip files that were imported to the Mac.
    How to open them please...

    Flip4Mac
    <http://www.macupdate.com/info.php/id/17787/flip4mac-wmv-player>
    NOTE:  There is a free version as well as paid version. You want the free version.

  • Substring function not working in Analytical view

    Dear All,
    I am trying to use substring function in my analytical view .It says valid expression during syntax check but getting activation error.
    thanks
    Sourav

    Hi Krishna,
    This is Kiran, I am trying to restrict a (string) filed value by removing the spaces and wring to calculated column field in an Analytical view for position 6 - 10.
    Example: Field name XYZ (Values showing as: ASDFG GETVALUENW  2345) --> (data type :22 VARCHAR)
    Output Value must be : GETVALUENW (which is 10 characters, from position 6 after trimming)
    Please advice which function use and how to apply the syntax
    Your inputs are highly appreciated.
    Thanks
    Kiran.

  • Can anyone tell how to use daysbetween() function in analytical view?

    I have been trying to create a calculated column in analytical view. Column needs to calculate days between two dates.
    Using daysbetween (date1,date2) function, I have been trying to bring the difference but while validating i m getting error as date 1 is not an attribute.
    Infact, I am using fields from my column itself but still not able to move further. Please help
    Regards,
    Vikram Sharma

    Hi Peter,
    The datatype is date, initially it was NVARCHAR type but i wanna keep it to date type so i changed it.
    However, the query that you have given will calculate days from current date, right?. I have one date as a column in a table and another date is from input parameter.
    So I need to calculate days lapse between two specified dates in which i have been unsuccessfull so far..
    Also, just for your info. when i used this date function in HANA SPS 07 it was working fine but don't know what happen now when I am using it in SPS08.
    Regards,
    Vikram

  • Does SAP ECL viewer has drag and drop functionality...

    Hi,
    Does ECL viewer has drag and drop functionality for example we can drag and drop file from windows sever to SAP. So that it can be used later on using BDN.
    Thanks.
    Regards,
    Rajesh.

    Implement this program,  it is a cut/paste solution.  Again, you must have the ECL component installed on your SAPgui.
    report zrich_0001 .
    parameters: p_check type c.
    start-of-selection.
    at selection-screen output.
      data: dockingleft   type ref to cl_gui_docking_container,
            dockingright  type ref to cl_gui_docking_container,
            ecl_viewer   type ref to cl_gui_ecl_2dviewer,
            html_viewer  type ref to cl_gui_html_viewer.
      data: repid type syrepid.
      data: url(2048) value 'c:'.
      repid = sy-repid.
      check dockingleft is initial.
      create object dockingleft
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingleft->dock_at_left
                            ratio     = 50
                            extension = 1000.
      create object html_viewer
           exporting
                parent    = dockingleft.
      call method html_viewer->show_url
           exporting
                url       = url.
      check dockingright is initial.
      create object dockingright
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingright->dock_at_right
                            ratio     = 50
                            extension = 1000.
      create object ecl_viewer
          exporting
             parent             = dockingright
          exceptions
             cntl_error         = 1
             cntl_system_error  = 2
             create_error       = 3
             lifetime_error     = 4
             others             = 5.
         call method ecl_viewer->create_toolbar
            exporting
                close_button      = ' '
                tools             = 'X'
                viewer            = 'X'
                navigation        = 'X'
                options           = 'X'
                viewer_openfile   = 'X'
                viewer_savefile   = 'X'
                tool_measurement  = 'X'
                remove_document   = ' '
            exceptions
                cntl_system_error = 1
                cntl_error        = 2
                cntb_btype_error  = 3
                dp_error          = 4 .
    Now drap a PDF file from the left container, and drop in the right side.  Slick, right?
    The ECL doesn't handle every file type,  but PDF works good.
    Regards,
    Rich Heilman

  • View + stored function + synonym for other user

    Dear All!
    I've got a quite strange problem which I cannot decide whether it's caused by my lack of knowledge on the appropriate topic or by an Oracle bug. I'm already after some heavy googling on the topic and I was unable to track any valuable answers neither in forums nor in the Oracle documentation. I'll try to be as short and specific as possible.
    Database: Oracle 10g
    Result of "SELECT BANNER FROM V$VERSION":
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    "CORE     10.2.0.4.0     Production"
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I have two users in the database for a single Web application: UAPP01, which is the owner of application DB objects and UAPP02 which is the application user connecting to the DB. The application runs for quite many years by now and DB structure layout has always been following a simple logic: for each DB object used by the app. (tables, views, packages and stored procedures/functions) and found in the UAPP01 there exists a synonym in the UAPP02 schema. For the privileges to be set correctly a role is created: RL_MY_APPL which is granted the necessary privileges on objects of UAPP01 (CRUD on tables, SELECT on views, EXECUTE on procedures, etc..). This role is granted to UAPP02.
    In the previous days I was about to extend the DB with a view that invokes a stored function. This pattern has already occured in the DB previously so I kept following existing conventions: I've created the stored function and the view in the UAPP01 schema, granted SELECT on the view to RL_MY_APPL and created the synonym for it in the UAPP02 schema. This is where the entire functionality began to act strange. I'll try to explain with a simplified example that was sufficient to reproduce the problem:
    REM ========================================
    REM Execute below code as UAPP01 user.
    REM ========================================
    REM Test function.
    CREATE OR REPLACE FUNCTION testfunction(p_param NUMBER) RETURN NUMBER IS
    BEGIN
    RETURN p_param *2;
    END;
    REM Testview version 1. causing trouble.
    CREATE OR REPLACE VIEW testview AS
    WITH testdata AS
    SELECT /*+ materialize*/ LEVEL AS d
    FROM dual CONNECT BY LEVEL <= 100
    SELECT a, b, c, SUM(d) AS sum_d
    FROM
    SELECT FLOOR(dbms_random.VALUE(1, 100)) a, FLOOR(dbms_random.VALUE(1, 100)) b, FLOOR(dbms_random.VALUE(1, 100)) c, testfunction(d) AS d
    FROM testdata
    GROUP BY CUBE(a, b, c)
    REM Testview version 2. not causing trouble.
    CREATE OR REPLACE VIEW testview AS
    SELECT a, b, c, SUM(d) AS sum_d
    FROM
    SELECT FLOOR(dbms_random.VALUE(1, 100)) a, FLOOR(dbms_random.VALUE(1, 100)) b, FLOOR(dbms_random.VALUE(1, 100)) c, testfunction(d) AS d
    FROM
    SELECT LEVEL AS d FROM dual CONNECT BY LEVEL <= 100
    GROUP BY (a, b, c)
    REM Synonym.
    CREATE OR REPLACE SYNONYM UAPP02.testview FOR UAPP01.testview;
    REM Grants.
    GRANT SELECT ON testview TO RL_MY_APPL;
    When creating TESTVIEW with the 1 ^st^ version I cannot query it using the UAPP02 user, I'm constantly getting the error: ORA-00904: : invalid identifier. However, when I use the 2 ^nd^ version everything runs perfectly. What is common in the two cases is that both versions use the TESTFUNCTION function. I have not granted the EXECUTE rights on TESTFUNCTION to the RL_MY_APPL since it was never needed previously (for other views using stored functions) and as far as I know it's not necessary (as both the view and the function are owned by UAPP01). The strange thing in the above behaviour is that the function is used by both versions, however only one of them fails. This is where I thought it's not a granting issue, otherwise neither of the versions would have worked and I think I would have received a different error stating that UAPP02 lacks the necessary privileges on underlying objects of the view.
    As I further digged into the problem by examining the EXPLAIN PLAN output for the two versions I found that version 1. leads to a TEMP TABLE TRANSFORMATION and to MULTI TABLE INSERTs, whereas version 2. simply executes the query without doing such things. In my setup I presume the MULTI TABLE INSERTs were caused by the GROUP BY CUBE. When I simply removed the CUBE and used only GROUP BY the TEMP TABLE TRANSFORMATION remained in place but the MULTI TABLE INSERTs disappeared. As a result of this small modification the view again began to work when I executed it through the synonym and using the UAPP02 user.
    With the original DB objects of our application the behaviour is even more strange: the error comes up if I select from the view and filter for a column that is grouped in the query whereas it works correctly if I filter for the aggregated columns. However, I couldn't reproduce this with the above simplified example.
    No problem occurs with any of the versions if I query the view using the UAPP01 user.
    This hectic behaviour made me suspect that the TEMP TABLE TRANSFORMATION + MULTI TABLE INSERT + synonym + stored function combo appears to bring a strange Oracle bug to the surface...
    As a final note: when executing GRANT EXECUTE ON TESTFUNCTION TO RL_MY_APPL everything works fine in all cases. I know I could simply live with this but I'd really like to get to the bottom of this. Although this extra GRANT appears to solve the problem I don't really trust it. I'd really like to avoid the bug emerging again in Production in case this extra GRANT were not sufficient due to some unknown misteries.
    Excuse me, the post has become a bit lengthy. Thanks in advance for anyone who's willing to read through and answer it!
    Regards,
    Krisztian Balazs Szaniszlo

    The error is thrown at run-time and only for the UAPP02 (second) user.
    The problem is that the appearance of errors is independent of whether the query contains the call to the stored function or not.
    So far I thought that if I use a stored function indirectly, like in this setup: UAPP02.synonym -> UAPP01.view -> UAPP01.stored function, then I don't need the grant. Of course, I understand that if I had used it directly, like :UAPP02.synonym -> UAPP01.stored function then I'd need the GRANT EXECUTE.
    Shall I just ignore the strange behaviour and go on by adding GRANT EXECUTE privilege on all the functions used indirectly through views? It seems to solve the problem, but this behaviour is disturbing me quite and I fear the real root cause of the problem can emerge later in a different fashion.

  • App Store, Pages 5.0, Evernote, and other Apps will not fully function after installing Mavericks. What is the issue and how can this be solved?

    Hello all, I could use some serious help on some major issues I have been having after installing Mavericks on my system (specs stated below). Never has a mac felt ever so rebelious and broken before in my lifelong period of using these systems. Anyway, after installing system 10.9, I had opened the mac App Store upon seeing that applications such as my iWork suite all had free updates. However, when I would attempt to navigate to the updates window, it would not respond to my various attempts. I then tried to get there by the system's menu bar and to my dismay, nothing would work when I clicked on it, not even the apple logo menu. I later quit the application using Command-Q and opened up the App Store by the apple menu option 'Software Update...' instead. Though it looked promising since the updates window did open, all update buttons or even '...more' info buttons were unresponsive.  These same problems persisted even after restarting my computer. I had also attempted to see if repairing definitions would help by booting from the recovery start-disk and using disk utility but the repairs it carried out apparently had nothing to do with my issue. Finally, I was able to update to the new iWorks suite (which interestingly did not replace the iWorks '09 suite) by following the notification that asked about allowing automatic updates which I did.
    Once trying to use Pages 5.0, I soon noticed that all I could do was merely type in a new document and change various options via key commands. Neither the inspector or top bar menus would respond to any place I click. Similarly, Evernote only starts up on the last used note and merely allows me to scroll through it. The top bar menus, the note select pane, and even clicking inside the note to input text are all not functioning and uninfluenced by any mouse clicks.
    I have noticed other apps that will not respond to any sort of input, but I still have not explored all applications to know what the issues of each may be. However there are some applications that work such as Safari, Google Chrome, dolphin, iWork '09 including Pages '09, and others.
    I do hope that I can avoid rolling back my system, but in the meantime, it has been quite the obticle course to use my computer for all of my school purposes.
    Any help is very much appreciated,
    Thank you!
    DT
    MacBook Pro 13-inch, Mid 2009
    Processor  2.26 GHz Intel Core 2 Duo
    Memory  4 GB 1067 MHz DDR3
    Graphics  NVIDIA GeForce 9400M 256 MB

    I also forgot to note that this problem also persists with the new iBooks application. I cannot get past the 'Get Started' screen or access the iBooks Store. Again, all top bar menus are unresponsive.
    DT

  • My iPod touch will not let me download more apps, though I have sufficent memory space, and other internet based functions are running...

    though I have sufficent memory space, and other internet based functions are running...

    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar
    However, since it works with other networks that really suggests a problem with your network.

  • How to perform Descending Order function on a DATE column in Analytical View

    Hi,
    I have the below requirement
    For the article/site having a+ stock quantity from table MARD field LABST, check the last goods movement date as a receipt table MSEG field SHKZG value "H".  To get this information fetch the data from the table MSEG & MKPF.  The lead time from that date till the present date is the ageing information.  Show the output sorted on the duration as ageing information.
    Created a calculate column with the below code and it is populating data i.e. multiple records for the same item for different dates like
    daysbetween(date("BUDAT"),date("CURRENT_DATE"))
    MC25001;1001;08;DC01;;H;WL;20150317;20150317;000000000000000233;2015-04-20;34;1,003
    MC25001;1001;08;DC01;;H;WL;20150312;20150312;000000000000000233;2015-04-20;39;2,006
    MC25001;1001;08;DC01;;H;WL;20141203;20141203;000000000000000233;2015-04-20;138;3,009
    MC25001;1001;08;DC01;;H;WL;20150409;20150409;000000000000000233;2015-04-20;11;1,003
    MC25001;1001;08;DC01;;H;WL;20141201;20141201;000000000000000233;2015-04-20;140;1,003
    Now I have to sort the date (BUDAT) (highlighted in bold above) to be sorted in Descending and then take the first record and then apply the the above formula to get the aging stock. 
    Any suggestions?
    Best Regards,
    Vijaya

    Hi,
    But I don't think you need to go for scripting view. What you can do here is create one more calculation view , insert this analytical view in the projection and select date as measure and pick max value and then create one calculated column and put your logic.
    I hope i got your requirement correctly.
    BR
    Sumeet

  • Can I use a deactivated verizon G'zOne Ravine phone for its nonphone properties such as the alarm and other functions? Do I have to do anything special?

    Can I use a deactivated verizon G'zOne Ravine phone for its nonphone properties such as the alarm and other functions?
    Do I have to do anything special?

    Just charge it

  • The select function in Pages and other apps gets stuck and the cursor will not move. What do I do?

    The select function in Pages and other apps gets stuck when I touch a word and the cursor will not move. What is the answer for this problem?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

Maybe you are looking for