Live Office single quote

Good day,
If I pull webi content into excel using live office, all my text values are prefaced by an apostrophe and a new line - Char(10).
If I base an xcelsius dashboard on this data, values display the extra empty line.
How do I get rid of the extra line? Char() and Clean() are unsupported functions in xcelsius.
Leandi

Hi,
We are having the same issue as you with the single quote appearing in our values displayed in excel.  Did you ever resolve this issue?

Similar Messages

  • Copying a table with the right-click menu in schema browser fails to copy comments when string has single quote(s) (ascii chr(39))

    Hi,
    I'm running 32-bit version of SQL Developer v. 3.2.20.09 build 09.87, and I used the built in context menu (right-clicking from the schema browser) today to copy a table.  However, none of the comments copied.  When I dug into the PL/SQL that the menu-item is using, I realized that it fails because it doesn't handle single quotes within the comment string.
    For example, I have a table named WE_ENROLL_SNAPSHOT that I wanted to copy as WE_ENROLL_SNAPSHOT_V1 (within same schema name)
    1. I right-clicked on the object in the schema browser and selected Table > Copy...
    2. In the pop-up Copy window, I entered the new table name "WE_ENROLL_SNAPSHOT_V1" and ticked the box for "Include Data" option.  -- The PL/SQL that the menu-command is using is in the "SQL" tab of this window.  This is what I extracted later for testing the issue after the comments did not copy.
    Result: Table and data copied as-expected, but no column or table comments existed.
    I examined the PL/SQL block that the pop-up window issued, and saw this:
    declare
      l_sql varchar2(32767);
      c_tab_comment varchar2(32767);
      procedure run(p_sql varchar2) as
      begin
         execute immediate p_sql;
      end;
    begin
    run('create table "BI_ETL".WE_ENROLL_SNAPSHOT_V1 as select * from "BI_ETL"."WE_ENROLL_SNAPSHOT" where '||11||' = 11');
    select comments into c_tab_comment from sys.all_TAB_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and comments is not null;
    run('comment on table BI_ETL.WE_ENROLL_SNAPSHOT_V1 is '||''''||c_tab_comment||'''');
    for tc in (select column_name from sys.all_tab_cols where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT')
        loop
       for c in (select comments from sys.all_col_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and column_name=tc.column_name)
       loop
       run ('comment on column BI_ETL.WE_ENROLL_SNAPSHOT_V1.'||tc.column_name||' is '||''''||c.comments||'''');
    end loop;
    end loop;
    EXCEPTION
      WHEN OTHERS THEN NULL;
    end;
    The string of the table comment on WE_ENROLL_SNAPSHOT is this:
    WBIG table of frozen, point-in-time snapshots of Enrolled Students by Category/term/pidm. "Category" is historically, and commonly, our CENSUS snapshot; but, can also describe other frequencies, or categorizations, such as: End-of-Term (EOT), etc. Note: Prior to this table existing, Census-snapshots were stored in SATURN.SNAPREG_ALL. All FALL and SPRING term records prior-to-and-including Spring 2013 ('201230') have been migrated into this table -- EXCEPT a few select prior to Fall 2004 (200410) records where there are duplicates on term/pidm. NO Summer snapshots existed in SNAPREG_ALL, but were queried and stored retroactively (including terms prior to Spring 2013) for the purpose of future on-going year-over-year analysis and comparison.
    Note the single quotes in the comment: ... ('201230')
    So, in the above PL/SQL line 11 grabs this string into "c_tab_comment", but then line 12 fails because of the single quotes.  It doesn't know how to end the string because the single quotes in the string are not "escaped", and this messes up the concatenation on line 12.  (So, then no other column comments are created either because the block throws an error, and goes to line 22 for the exception and exits.)
    When I modify the above PL/SQL as my own anonymous block like this, it is successful:
    declare
      c_tab_comment VARCHAR2(32767);
    begin
    SELECT REPLACE(comments,chr(39),chr(39)||chr(39)) INTO c_tab_comment FROM sys.all_TAB_comments WHERE owner = 'BI_ETL'   AND table_name = 'WE_ENROLL_SNAPSHOT'  AND comments IS NOT NULL;
    EXECUTE IMMEDIATE 'comment on table BI_ETL.WE_ENROLL_SNAPSHOT_V1 is '''||c_tab_comment||'''';
    for tc in (select column_name from sys.all_tab_cols where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT')
        loop
       for c in (select REPLACE(comments,chr(39),chr(39)||chr(39)) comments from sys.all_col_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and column_name=tc.column_name)
       loop
       EXECUTE IMMEDIATE 'comment on column BI_ETL.WE_ENROLL_SNAPSHOT_V1.'||tc.column_name||' is '||''''||c.comments||'''';
    end loop;
    end loop;
    EXCEPTION
      WHEN OTHERS THEN NULL;
    end;
    On lines 4 and 8 I wrapped the "comments" from sys.all_tab_comments and sys.all_col_comments with a replace command finding every chr(39) and replacing with chr(39)||chr(39). (On line 8 I also had to alias the wrapped column as "comments" so line 10 would succeed.)
    Is this an issue with SQL Developer? Is there any chance that the menu-items can handle single quotes in comment strings? ... And, of course this makes me wonder which other context menu commands in the tool might have a similar issue.
    Thoughts?
    thanks//jacob

    PaigeT wrote:
    I know about quick drop, but it isn't helpful here. I want to be able to right click on a string or array wire, navigate to the string or array palette, and select the corresponding "Empty?" comparator. In this case, since I do actually know where those functions live, and I'm already using my mouse to right click on the wire, typing ctrl-space to open quick drop and then typing in the function name is actually more work than navigating to it in the palette. It would just be nice to have it on hand in the location I naturally go to look for it the first time. 
    I don't agree with this work flow.  Right hand on mouse, left hand on home keys.  Pressing CTRL + Space is done with the left hands, and then you could assign "ea" to "Empty Array" both of which is accessible with the left hand.  Darren posted a bunch of great shortcuts for the right handed developer.
    https://decibel.ni.com/content/docs/DOC-20453
    This is much faster than waiting for any right click menu navigation, even if it is found in the suggested subpalette.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Live Office & WebServices

    Hello,
    I have some questions related to LO &WS:
    1.)    Can WebServices be configured to use multiple URLu2019s? If so, how?
    a.       i.e. Web Services URL = http://bodev.company.com/dswsbobje/services/session AND http://bobj-dev.company.com/dswsbobje/services/session
    2.)    I see in the Options section of the Live Office plug-in that it can use Single Sign-on via Windows Active Directoryu2026but can it be integrated into a Single Sign-on environment that uses Trusted Authentication. If so, how would you configure Live Office to use the Trusted Authentication?
    Thanks
    Chaouki

    web services, qaaws, live office, voyager, and several other Business Objects applications are only available in java. I believe there is an SAP note about this on SMP(containing a list of applications requiring java) but don't have access to it right now.
    all the ones you justed asked about are on the list
    the directory in java for qaaws and live office is http://servername:port/dswsbobje/
    Regards,
    Tim

  • Live Office XI 3.1 "Unknowned" Error

    We are trying to use Live Office XI 3.1 (latest SP and FP)  in Excel 2007 to create a single column dataset with approx. 250,000 rows.  The file size for this dataset is approx. 12mb and in the CMC we have set the "Maximum Character Stream Size" to 50mb in the Webi Processing Server settings.  The process returns a very generic error message stating "An error occurred when refreshing".  When we click the "Show Details" button, we get the "unknowned error" message.  We have successfully run a much smaller dataset from the same universe.
    Any ideas why the larger dataset would return this error?
    Thanks.

    Figured out the answer to this.  When bringing in large amounts of data into Excel 2007 from LO, you have to force Excel out of Compatibility Mode when it starts up.  If not, Excel 2007 starts up as Excel 2003 and you're limited in the number of rows a LO query can return.
    Thanks.

  • QAAWS query results differ from live office query results

    Hello,
    I ran a query in QAAWS using 3 filter components and got different results ( expected a single row and expected the query to sum up the values) Result was 4 dirrent rows for the the same combination
    eg)  A : B: C  value1
          A: B:C  value 2
         A:B:C   value3
        A:B:C    value 4.
    I expected A: B:C  (value1value2value3+Value4) .
    When I run the same query  in Live Office I get the correct single row.  Somehow the filter condition in QAAWS does not fetch accurate resuls, I removed the filter conditions and still got the same results. I am reviewing the results in the Xcelsius Dashboard.   Any thought on this issue. 
    Thanks
    Abhijit

    When you are using LO, the query result will be aggregated at report level, based on the aggregation you have selected for the Measure (Your Value). Hence you will get only 1 row. On the other hand QaaWS will not do any aggregation as it just output the querry result. IF you want QaaWS to output aggregated data, you will have to define your querry accordingly. For eg:(Assume that your are working with SQL based database), you can use Sum(Value) as the query defention for your measure.
    Hope this helps,
    Anil

  • QAAWS and Live Office together to fetch data on a dashboard

    Hello
    1.)Can you create multiple queries  in the QAAWS and use it on a single dashboard, and how do you fire multiple queries
    2) can all the queries be fired at the same time for the dasbboard to be functional or does it fire one query at a time.
    3.) Can you create a combination of QAAWS and Live Office queries and create your dashboard. 
    4.) If I have 5 selection or combo boxes, Is it mandatory to create a row for each selection variation.  Or do you have to select the filtered comoboxes as columns in the spreadsheet.
    6) In excel how do you arrange data, if 3 items are regular filter components, while the remaining two items are comboboxes with filtered row values
    7) Is it possible to create 4 queries based on 4 different universes and join the result set in the dashboad.
    5.) Do you have any example of the same.
    Thanks
    Abhijit Patil
    cell 978 804 2951

    Hi Abhijit Patil
    A lot of questions
    1) Yes you can. You can fire them on the same cell changing or on time intervals
    2) The queries can be fired as the same time, the query response time will be effected by the query complexity, the capacity of the web server, the capacity of your web intelligence processing
    3) Yes - I have a problem with 3.0 when displaying through BI Widgets, it asks me to log in even though I am already logged on to widgets, but other than that they are fine
    4) Not sure
    6) It is down to you how you do it. You should look at Everything Xcelsius or the Xcelsius portal for best practices
    7) Yes, you will bring all the data back and then combine them how you like. Alternatively you can merge them in a Web I document and bring them already merged into the dashboard, (which might save you on soem data volume.
    8) I would not be in a position to share the samples as they contain sensitive data
    Regards
    Alan

  • JSTL inside of single quotes

    Very strange occurrence here. I'm pretty sure it must be something to do with server set up, but here goes.
    I have the following code.
    <li><a href="" onClick="javascript:window.location='${pageContext.request.contextPath}/logOut.do';return false;">Logout</a></li></ul>This works just fine on my development environment (RAD 6.0) and in production. I'm going on a long Vacation and I was making sure another developer was able to support it while I'm gone. We got everything to work on his computer except he wasn't able to log out and wasn't able to do a few other things. I was under the impression we had identical environments, and I've check my project into source control and he checked it out, so all the same jars and libraries should exist.
    Turns out the problem is anytime there is EL inside a single quote (not counting single quotes inside JSTL tags), it isn't being recognized as EL. The source code is spitting out the ${...}
    the places that have el like <td>${data}</td> work just fine.
    My only guess would be something with the server settings.. but I don't know of anything that could cause this.
    Anyone have any ideas?

    well, we narrowed it down to a problem on his local 6.0 server. If he creates an ear file it deploys just fine to our test and QA environment.. so I would image the same would be true for Production. I can live with him not being able to double check that the logout functionality works on the off chance that he has to do any work on the app in the next 11 days.
    Just means I need to make sure he is at the top of the list on upgrading to Rad 7.0 and using a 6.1 server instead of 6.0, and I guess need to make sure he has the latest fix packs and such installed.

  • SSAS SSRS Report Action on Cell Value w/ Embedded Single Quote Not Executing

    I have configured an SSAS 2008 R2 cube SSRS ReportAction. I'm having problems when the member value for a cell has an embedded single quote, e.g. abc's. The action displays on the context menu appropriately, but when I click on the action, nothing happens.
    For member values that do not have the single quote, the action works as designed. I've added a calculated ember to escape the embedded single quote by adding another single quote, e.g. abc''s, with no luck. Is there a resolution or workaround for this?

    Hi Mdccuber,
    According to your description, you create a reporting action in you cube, and it works fine except the members that have embedded single quote, right? In your scenario, it seems that you pass this value to the report as the parameter.
    In SQL Server Analysis Services (SSAS), when pass values to a report, multi-select parameters have to be placed into IN statement and SQL Server Reporting Services (SSRS) will do single-quote wrapping for string values automatically. In this case, the original
    value that have embedded single quote will be damaged. So this action not work. You can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How can I will declare the symbol u2018 (Single Quote) in the report

    Hi ,
    Could you please tell me how can I will declare the symbol u2018 (Single Quote) in the report.
    My requirement is that I have concate the data with single quote and after that I have to store the data in to an internal table and I have to download the data in the form text file in the presentation server.
    For example :
    Let the below data I want to download into the presentation serve in the format of text file by storing in internal table.
    Assume all are constants:
    1st line : abcu2019add
    2nd line :  defu2019gef
    Thanks in advance.

    Hi Jyothi,
    Thanks for the quick reply .
    I can agree with you are point but My requirement is like this I am explaining clearly.
    I have declared the internal table like this.
    DATA: BEGIN OF OTAB OCCURS 0,
             LINE (9024),
           END OF OTAB.
    So I have to append the each line item into the internal table.
    So I am explaining what the data I have to append
    Ist line contains
    'UNBUNOC:2020308u2019 where 020308 I will get the  date from reguh table
    2nd line contains:
    'DTM+20020510' where the 20020510 will be reference document number from the table reguh.
    So I want to declare a constant 'UNBUNOC:2
    2nd the date from reguh table
    And another constant u2018
    So that I can concate all the three and I can put into string and I will append into internal table and I can download the data into the presentation server.
    Please let me know if you need any more clarification regarding my requirement.
    Thanks in advance.

  • SSRS Report Returning Double Quote string from a Single Quote String

    Hi, I'm getting weird thing in resultset from SSRS report when executed. When I pass parameter to a report, which passes String that has single quote value to a split function , it returns rows with double quote. 
    For example  following string:
    'N gage, Wash 'n Curl,Murray's, Don't-B-Bald
    Returns: 
    ''N gage, Wash ''n Curl,Murray''s, Don''t-B-Bald
    through SSRS report.
    Here is the split function Im using in a report.
    CREATE Function [dbo].[fnSplit] (
    @List varchar(8000), 
    @Delimiter char(1)
    Returns @Temp1 Table (
    ItemId int Identity(1, 1) NOT NULL PRIMARY KEY , 
    Item varchar(8000) NULL 
    As 
    Begin 
    Declare @item varchar(4000), 
    @iPos int 
    Set @Delimiter = ISNULL(@Delimiter, ';' ) 
    Set @List = RTrim(LTrim(@List)) 
    -- check for final delimiter 
    If Right( @List, 1 ) <> @Delimiter -- append final delimiter 
    Select @List = @List + @Delimiter -- get position of first element 
    Select @iPos = Charindex( @Delimiter, @List, 1 ) 
    While @iPos > 0 
    Begin 
    -- get item 
    Select @item = LTrim( RTrim( Substring( @List, 1, @iPos -1 ) ) ) 
    If @@ERROR <> 0 Break -- remove item form list 
    Select @List = Substring( @List, @iPos + 1, Len(@List) - @iPos + 1 ) 
    If @@ERROR <> 0 Break -- insert item 
    Insert @Temp1 Values( @item ) If @@ERROR <> 0 Break 
    -- get position pf next item 
    Select @iPos = Charindex( @Delimiter, @List, 1 ) 
    If @@ERROR <> 0 Break 
    End 
    Return 
    End
    FYI: I'm getting @List value from a table and passing it as a string to split function. 
    Any help would be appreciated!
    ZK

    Another user from TSQL forum posted this code which is returning the same resultset but when I execute both codes in SQL server it works and return single quote as expected.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8d5c96f5-c498-4f43-b2fb-284b0e83b205/passing-string-which-has-single-quote-rowvalue-to-a-function-returns-double-quoate?forum=transactsql
    CREATE FUNCTION dbo.splitter(@string VARCHAR(MAX), @delim CHAR(1))
    RETURNS @result TABLE (id INT IDENTITY, value VARCHAR(MAX))
    AS
    BEGIN
    WHILE CHARINDEX(@delim,@string) > 0
    BEGIN
    INSERT INTO @result (value) VALUES (LEFT(@string,CHARINDEX(@delim,@string)-1))
    SET @string = RIGHT(@string,LEN(@string)-CHARINDEX(@delim,@string))
    END
    INSERT INTO @result (value) VALUES (@string)
    RETURN
    END
    GO
    ZK

  • Report parameter field value has a single quote. need to escape before pass

    Report has a parameter whose value might have a single quote in it. If I pass that value directly into the SQL Command... like
    where ... user_name = {?parm_user_name}...
    which would translate to
    user_name='O'Donnel Honda'
    I am getting an error... so would like to convert this parameter value into 'O''Donnel Honda' before passing into the query.
    I created a formula called parse_user_name with following:
    Replace ({?parm_user_name}, "'", "''")
    And used in the query like
    where ... user_name = {@parse_user_name}...
    I am getting an error like invalid SQL92 character...

    I think you should use the condition like this
    where ... user_name = '{?parm_user_name}'
    keep the parameter in single quote at the command level itself.
    Now use the same formula like
    replace({?Parameter},"'","''")
    This works only if the parameter is a single value parameter but not multi value parameter.
    Regards,
    Raghavendra

  • Can we have a Single quote in the tooltip text?

    Hi,
    We have some tooltips for the presentation columns which contains a single quote.
    When I try to view the tooltip from answers the single quote is being replaced by double quotes.
    I tried to use all sorts of escape characters for single quote, like "\'" and ''' and "'" but that didn't work.
    Is there any way to do this.
    Thanks!!
    Vasantha.P

    As I said in my earlier post, I am looking for the tooltips for the Presentation tables and columns. The tooltips for these were extracted from the RPD using the externalize Strings option and these externalized strings are stored in the database.
    So I am escaping the single using a single quote both in rpd and in the database.
    Example text I have used both in the rpd and database is something like "Shipment's start time". I tried with "Shipment''s start time", " Shipment'''s start time", but it didn't work.
    Thanks!!
    Vasantha.P

  • Adding a single quote in the flash chart legend

    Hi all,
    I am using a following code to create a line chart.
    SELECT null link
    ,TO_CHAR(monat, 'MON-YY')
    ,ROUND(No_of_hits/1000) "No of Clicks(''000)"
    FROM
    SELECT DISTINCT TRUNC(ref_month,'MONTH') monat
    ,SUM(no_of_hits) OVER (ORDER BY TRUNC(ref_month,'MONTH') RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) No_of_hits
    FROM goodnews_hits
    WHERE ref_month BETWEEN :p77_DATE_startline
    AND :p77_DATE_endline
    ORDER BY monat;
    I get the following legend in the top region of the chart
    No Of Stories
    No of Clicks(''000)
    I need the No of Clicks to be displayed as
    No of Clicks('000)
    i.e.
    Only one single quote before 000
    Could you please tell me , how this can be achieved?
    Thanks,
    Archana

    As I said in my earlier post, I am looking for the tooltips for the Presentation tables and columns. The tooltips for these were extracted from the RPD using the externalize Strings option and these externalized strings are stored in the database.
    So I am escaping the single using a single quote both in rpd and in the database.
    Example text I have used both in the rpd and database is something like "Shipment's start time". I tried with "Shipment''s start time", " Shipment'''s start time", but it didn't work.
    Thanks!!
    Vasantha.P

  • How to escape a single quote in a find mode view

    Hello,
    I'm working with JDeveloper 10g.
    I've defined a view that is used in "find mode" in a JSP.
    When a value with a single quote is inserted in a field of the search form, an exception is thrown:
    JBO-27122: SQL error during statement preparation.
    ORA-00907: missing right parenthesis.
    The problem is that the "single quote" is not being escaped:
    WHERE STREET LIKE 'ABAT ESCARRE, DE L'A'
    How could I force the view to escape the "single quote"?
    Thanks

    Arrest the single quote by calling a javascript method.
    This might help you
    Re: af:clientListener javascript function call question
    http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_clientListener.html
    Edited by: Srinidhi on Mar 23, 2011 3:46 PM

  • Data not updated in the excel while using Live office

    Hi all,
         I have a Trial balance Crystal report in BOE and have created a Live Office document connecting that report. Now I've imported that document to the Xcelsius environment.
       In Xcelsius a Filter component having the YTD values as the Labels and its destination is bound to the cell having input to the Crystal report of the Live Office document. Now in the Preview mode when I change the select the year its corresponding data should be displayed in the Chart but unfortunately that's not that case. But when I change the year in Non Preview mode
    the data is getting updated.
    What could the error ?
    Thanks
    John

    Thanks Senthil, its working!!
    But its taking lot of time for the data to get updated in the chart upon changing the year. Is there any way to speed up the process ?
    Thanks
    John

Maybe you are looking for

  • How do I get a virus off of my Mac?

    I watched a movie on a website awhile ago, and I think I may have clicked the wrong download button.  After I watched it there were a few pop ups here and there but they were not very big and I didn't really mind but recently when I click out of the

  • WRT54G2 V1 drops wired PC connection all the time

    I have a WRT54G2 Ver 1.0 unit with 1.02 firmware - I connect via a Linksys CM-100 cable modem to Comcast (in Houston - was Time Warner). My PC is wired to the router and is running 32-bit Vista Home Premium.  The internet connection drops on a regula

  • The number of display columns in the report reached the limit" Interactive Report

    I get the error message of "The number of display columns in the report reached the limit" when trying to display less than 100 (100 is limit) columns when an aggregate has been created.   This does not happen when an aggregate has not been added to

  • Setting up IPad on one machine for use on another

    Next week my wife and I celebrate our Ruby aniversary and I am surprising her with an IPad2 on to which I hope to put a video-card that my Daughter in Law has compiled and edited.  That last bit is relatively easy, the hard bit is getting the Ipad sy

  • Report execute time nd how many records will be returned before hitting the "run" option?

    Post Author: Prasad15 CA Forum: WebIntelligence Reporting Is there any way to know how long the report executes and how many records will be returned before hitting the "run" option? Regards Prasad