Prin,t an interval in Query Analyzer (popup and report)

Hello,
I have a cube where a month represents a year... I explain this: for the key figures of March 2007 (200703) we have the sum of the key figures of the years (between 200604 and 200703). the problem is that when I ask the month for the user (in a popup), I want him just to put a month (the last month of the period) and when he validates i want him to see the interval and not just the value insered.. do you have any ideas to do that?
Furthermore, when I have the column in the query analyzer i have created a caracteristic variable so we can see the first month of the interval but i would to print the entire intervall (200604 - 200703 instead of 200604). Do you know how can I do that?
Thanks a lot,
Reragrds,
Julien

Hi.
The best way is to add 2 attributes to your IO: one is only chars and second is numeric.
Question "how to fill them" depends on which system you use: 3.5 or 7.
In BI 7, in transformations set "rule type" for these objects "formula" and use formulas LEFT and RIGHT
For example the value is AAA123. For char IO use LEFT(3, YOURINFOOBJ) - result will be AAA
For numeric IO use RIGHT(3,YOURINFOOBJ). result will be 123.
Then in BEx add 2 this attributes to your query.
In BW 3.5 the formulas will be the same but insert them into update rules.
Regards.

Similar Messages

  • Query not running in report builder 3.0

    hi, i can run my query in mgmt studio (version 2008R2) and within the query designer of report builder 3.0 but it will not run from report builder. i get a generic error message of "an error has occurred during report processing. (rsProcessingAborted)".
    the query uses report parameters and is written with dynamic sql (using a pass-through to oracle). any ideas why the query doesn't execute in report builder ? thanks a bunch,

    Hi KanataPablo,
    According to your description, it seems that you are using linked server to pass value to oracle. Seeing that the query is worked well in Management Studio, you may have the permission to connect to oracle (In this scenario, make sure the users to run the
    query in SSMS and Report Builder are the same user). So this issue can be caused by the user’s permission to connect to report server, the credential of data source and the dynamic query.
    We can add the current user as a Login, then click Properties and navigate to User Mappings page, enable ReportServer and ReportServerTempDB options.
    We can try to type user name and password, and enable “Use as Windows credentials” as the credential used to connect to data source.
    Try with dynamic query:
    ="Select column1, column2 From tableName where ID IN (" + JOIN(Parameters!param1.value, ",") + ")"
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Query Analyzer - issue in variables

    Hello,
    In query analyzer, I have a requirement for 3 keyfigures.
    1 -> Current Month budget
    2 -> Next Month budget
    3 -> Cummulated Yr to Month budget
    for eg. I fI am in month 02.2006
    column 1-> budget for 02.2006
    column 2-> budget for 03.2006
    column 3-> budget for 04.2005 - 01.2006
    for column1, I have created a new selection and included budget qty and 0calmonth and restricted it to 0CMONTH.
    for column2, I have created a new selection and included budget qty and 0calmonth and restricted it to 0CMONTH, and specified +1 as variable offset.
    for column3, I have created a new selection and included budget qty and 0calmonth and restricted it to 0I_CMY01 or 0CYTCM.
    the output is that column1 show the rigth current month figures.
    column2 is blank
    cloumn3 shows the same figure as column1.
    is there any activation that needs to be done so that these variables work.
    thanks in advance

    Hi,
    <i>for column3, I have created a new selection and included budget qty and 0calmonth and restricted it to 0I_CMY01 or 0CYTCM.</i>
    0I_CMY01 gives what????
    0CYTLM
    This variable denotes an interval from month 1 of the current calendar year to the month before the current calendar month.
    <i>for column2, I have created a new selection and included budget qty and 0calmonth and restricted it to 0CMONTH, and specified +1 as variable offset.</i>
    pl check data in infoProvider for 03.2006...i think data is not there for 03.2006..thats y u r getting blank.
    regards

  • How to create a Matrix table using this data in SQL Query Analyzer

    Hello all,
    I have a problem while I am trying to represent my Sql Table namely table1 in Matrix form
    my table Format is
    city1 city2 Distance--------------------------------------------------------
    Mumbai Delhi 100
    Delhi Banaras 50
    Mumbai Rajasthan 70
    Banaras haryana 40
    Mumbai Mumbai 0
    784 entries
    there are 784 cities each having link to other
    Now i want my output as
    Mumbai Delhi Banaras haryana
    Mumbai 0 100 -- --
    Delhi 100 0 50 --
    Banaras
    haryana
    respective distance from one city to other should be shown
    final Matrix would be 784*784
    I am using SQL Query Analyser for this
    Please help me in this regard

    I'm pretty much certain that you don't want to do this in pure SQL. So that means that you want to do it with a reporting tool. I'm not familiar with SQL Query Analyzer, but if it is in fact a reporting tool you'll want to consult its documentation looking for the terms "pivot" or perhaps "cross tab."

  • Supress warning message in Query Analyzer after free characteristic removed

    Hi
    I have a query and several workbooks looking to the same query.
    When I remove a free characteristic from the query (not the cube) I am presented with a warning message when opening Analyzer indicating that the removed field is no longer available on the report.
    Is there any way to supress these warning messages?  I am aware of the option Settings > Supress warnings from server but I would not want to ask every people to do this in the company.  Is there a way I can supress the warning from the query?
    We are running 3.x for this particular query and report.
    Thanks

    Hi,
    In RSRT, you have an option for the suppressing the messages.
    Have a look on the below link -
    http://wiki.sdn.sap.com/wiki/display/BI/SuppressquerymessagesusingRSRT
    Regards,
    Geeta

  • Why 0FISCVARNT is not shown in Query Analyzer?

    I have a cube, when I look at its dimensions from RSA1->Info provider under Time Dimension,
    I see Fiscal Year, Fiscal year Variant and Fiscal Year Period.
    But when I go to Query Analyzer and develop a query on it, under Dimensions Fiscal Year Variant is missing, why?

    Hi,
    Are you creating query on info cube or multiprovider? Have you included info cube in multiprovider and identified the fiscal year variant in the multiprovider or not? If you are creating query directly on Info cube it is not possible that you won't see it.
    Please check if you are creating queriy on proper info provider.
    Regards,
    Kams

  • Problem about printing special character in bex query analyzer

    Hi,
    in bex query analyzer i have created one restricted key figure , in which i have substracted two date with the help of replacement path.
    So i got result.
    But i am facing one problem. when in both date, if one date is null or # then it is giving some big value like -734567.
    But i want some special character like X instead of this big values.
    So how can i do this?
    With the help of if and else it can be done.
    But how can we print special character in report.
    Please help me
    Thank you in advance

    hi,
    You cannot show X in a formula result. You can highlight the row using exception.
    Still if you want to show X in the result then you need to create a formula variable on a char which returns X value all the times.
    Then you can use the three formula variable to write a formula so that it shows the difference:
    date1 -- formula variable
    date2 -- formula variable
    charx -- formula variable.
    the formula will be
    Count(date1)Count(date2)(date1 - date2) + charx *(count (delta(date1) + delta(date2))).
    this would return the X value if any of the dates are empty otherwise their difference.
    regards.
    Arvind.

  • "Define query parameters" popup in Dataset properties - Refersh field, not displayed for Sps in SSDT 2010 (Works fine in BIDS)

    When we upgraded our SSRs projects to 2012, we are facing an issue in Data tools environment.
    When we click REFRESH FIELDS button in Dataset properties, With query type as SP (For all our sps), the "Define query parameters"  popup is not displayed. 
    When we checked the SQL Profiler for queries executed at back end , NULL values are used for parameters.
    But when we Used the QUERY DESIGNER button, and clicked execute for sp, the popup comes.
    For User defined Functions, the Popup comes correctly.
    In BIDS, still we can open the RDLs and do the operations correctly
    Please advice

    Dear Wendy Fu
    My Scenario is different.
    In Query Designer, Every thing is fine (Parameter Popup is coming, and fields are populated under data set)
    But what we need to do is
    1, Select Query Type As SP
    2, Select the required SP
    3, Click Refresh Button
    4, A "Define
    query parameters" window popsup
    5, Provide values and click Ok
    6, Fields will be populated under the dataset
    The issue we face is that, we are not getting the  Define query parameters popup,
    Hence NULL values are passed to execute the sp, to retrieve the fields set.
    The Work around we are using now is editing the sp, and use
    set @Parameter = Value
    for each parameters in sp, and then we get the fields populated under dataset, when we click refresh.
    The issue exists in both  MSDT for
    Visual studio 2010 &  MSDT for  Visual studio 2012.
    But every thing is fine in BIDS with VS 2008 Shell for the same RDL

  • Report running very slow compared to Query Analyzer - high TimeDataRetrieval

    Hi,
    I have a report in SQL Reporting Services 2005 which calls a stored proc and the report takes a very long time to run and sometimes returns zero records. But when i run the stored proc in query analyzer it takes about 4 seconds!!
    I have checked the execution log on the RS using the below sql:
    Code Snippet
    use ReportServer
    Select * from ExecutionLog with (nolock) order by TimeStart DESC
    It shows that i have a large amount of time for the dataretrieval (601309ms, about 10mins) and does not return any records most likely because of a query timeout:
    TimeDataRetrieval  TimeProcessing  TimeRendering Source Status         ByteCount RowCount
      601309                      2227                     3                         1            rsSuccess 4916           0
    The weird thing is that when i run it in query analyzer, i get about 400 records in 4 seconds !!
    I dont understand what RS is doing to take up so much time like this to retrieve data.
    The report is very simple - it basically returns the records straight out into a table.
    The only thing I somewhat suspected was a parameter data type conflict between RS and SQL, specifically dates. I have a start and end date parameter in the report - i tried specifying this as date and string to see if it made any difference but it didn't.
    Any help would be greatly appreciated.

    Hi Mark,
    I didn't say it was an issue of parameter sniffing, and I didn't point you towards the good article about that <s>. I asked you whether you had read the article, described to you earlier in the thread.
    What I said was that it might be an issue of appropriate and dynamic query optimization, versus a cached query plan.  Parameter sniffing is only one of many ways that SQL Server tries to figure out how to optimize a query.  I thought the article did a good job of discussing some of what goes on during this process, and that by absorbing that you could think of ways to handle the wider issue that would be appropriate to your code.  I also pointed you to a thread in which I discussed this in more detail.
    While there are truly many issues with the date controls in the default parameter interface and how they behave, I don't think that what you're experiencing with the date format is implicated in the performance issue.  I guess it *might* be if (say) there is a non-default param value in your proc but your report parameter allows nulls. 
    Let's say the report server database has a different date default than your production database in your system. I have never sat down and tested this scenario and I guess it might cause problems, So we'll look at that first. 
    Whether the date format is at fault is really easy to prove one way or the other, and once proven can be pretty easy to fix:
    Create a test parameter that is of string type.  SQL Server is really good about dynamic conversion of string dates to date types as you probably know.
    place values (formatted however you want) into this version of the parameter instead of your date control parameter.  Use valid dates, in both formats.
    Does your performance change?
    Do you get the right results but bad performance with US format date strings versus right results with good performance with AU date values?
    Do you get the WRONG results with US format date strings, or with AU date strings?
    Try additional permutations involving casting/converting in your proc.
    FWIW, go ahead in the Query Analyzer and put the SAME values you see in the log into your tests there (in US format, I mean).  Do you get the CORRECT results?  Does performance change?  Hold this thought and see below.
    Another thing you can do is look at the query plan as presented by the Query Analyzer when you present the arguments different ways.  See #7 above -- try presenting the date in different formats.  Does the plan show the same path and the same indexes in use each time, or are some not possible because of the way the date has to be converted?  When this happens, the issue is usually that the conversion must be done for each line compared in the filter.  You can fix this really easily in most cases by cast/convert in the procedure so that your SELECT line is only doing that work once. 
    If the plans are different, and perhaps the indexes used are different and you *can't* fix it by fixing the date before the SELECT, do you need to add an index, or perhaps rebuild one?
    Moving on from the date format, as I said before it may be really important NOT to go by your interactive Query Analyzer performance because what you do there may not be used by SQL Server in determining a query plan to cache and re-use.  In case you haven't read the other discussion that I pointed you to at (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1827775&SiteID=1), think about using RECOMPILE or other options that will force a more dynamic investigation of the query.
     >L<

  • How to restrict the users to make sorting on Field in query analyzer(Excel)

    i want to know that is it possible to put restiction for user to make sorting for posting date or any other Field in Query analyzer(Ms Excel )  after excuting the queryy ? i want restiction on sorting option of Ms excel . pls reply me soon.

    viral
    it depend upon different companies and how they are maintianing securities in that...
    for e.g.
    after discussing iwth ur senior member u will decide to publish a new folder in ur production system...
    let say name of folder is BW Financial Accounting
    Now u will publish ur report in this folder.
    go to query designer
    hit Query in menu
    hit publish and select the BW FINANCIAL ACCOUNTING
    now u interact with Security administrator at ur firm
    he will create proper Authorization object for this Folder BW FINANCIAL ACCOUNTING
    once he/she does that then he will add this authorization object to ur user id
    this way u can test that
    u can acess that folder and query link in that folder.....
    similarly they will add the newly created authorization objects to ur specific user ids and they will then have acess to this .....
    if u want to check authorization objects currently assigned to ur user id
    enter t code /su01
    enter ur user id
    and u can see several authorization objects

  • Licensing for Query Analyzer

    Hello,As a partner with access to the download center, I would assume that the license keys provided to us on the download page would unlock all Essbase functionality, including the new Query Analyzer (or whatever it's called...it's the new tool in the spreadsheet add-in. And no, I don't mean the Essbase Query Designer).But when I try to access this functionality, I get the "server not licensed with this option" message. Have any other partners encountered this? Do we have to make special requests to our partner reps to gain access to this functionality, just so we can test it?Jared

    If you're refering to "Visual Explorer" then yes, we're having the same problem too. I had an Essbase 6 license, when upgrading to v7, got the warning that license will expire in 365 days, so I opened a ticket with tech support and asked them for a new license. Finally got one and noticed Visual Explorer option still didn't work. When I contacted tech support again, they stated that we "weren't entitled to the option". I explained that we were a partner and it would be real difficult to sell/implement a feature that we've never seen. They said they would look into it. Still haven't heard back as of yet. Will probably escalate to our senior partner and see if he can get them to see the logic in letting us have access to the features in the product.Regards,

  • BEx QUERY DESIGNER AND QUERY ANALYZER

    HI!!!
    I want to learn to use the BEx Query Designer and the Query Analyzer, someone can help me with link, manuals, tutorials, cookbooks, everything about this?
    Thanks and regards

    Hi,
    Please check the links below which may help you.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/a8cd1f71-0a01-0010-4783-f119b6132d25
    https://www.sdn.sap.com/irj/sdn/bi-elearning
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/ba95531a-0e01-0010-5e9b-891fc040a66c
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/27388d45-0c01-0010-9ebf-9b3dd7bd4ce6?prtmode=navigate
    http://help.sap.com/saphelp_nw04s/helpdata/en/05/4b583cf7388362e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92a25985-0a01-0010-5ea0-99ff9e0a244a
    http://help.sap.com/saphelp_nw04s/helpdata/en/42/d21c1f46076bb2e10000000a1553f6/frameset.htm
    Regards,
    ®

  • Open View not seen in the 7.0 Query Analyzer

    Hello ,
    I am not able to see open view in the 7.0 Query Analyzer, but that seen in the 3.x Designer
    Are we missing something here, or its the GUI issue
    When we click on Open, I have only 2 options
    Open Query....
    Open Workbook...
    I could locate my view through the open Query & then naviagting it from the Dialog box, but thats does not seem a good way of locating views.
    Any help on this
    Regards
    Lalan

    Hi Lalan,
    The Query View is not missing and it's not a GUI issue.It's by design.
    With 7.x BEx Analyzer,the Query View can be opened only through Open->Open Query dialog
    where you have to select the "Type" as "Query View".It will list the available query views in the open dialog.Select the query view you want to open and click "Open".
    This is the way to open the query view with 7.x Analyzer.
    Rgds,
    Murali

  • BI query Analyzer

    Hi,
      BI query analyzer is posing problem when connecting to 2004srelease patch 700 revision 259
      when executing  in citrix as it is redirecting to N:\cache\tmp....... if we are doing Execution after
      3 or 4 attempts this error occurs
        its using ie. 7.0
       guys pls help out with any version problems or is it intenet explorer settings may be?
    Thanks,
    p.suresh

    I am not sure which button you pressed and which tool are you using ;however below are the options available.
    Reporting Methods nw2004s
    You can use the BEx Analyzer, the Web Applications and the Web Analyzer for the Business Explorer for free multidimensional
    data analysis as a part of Enterprise reporting.
    Bex Analyzer
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ba/45583ca544eb51e10000000a114084/frameset.htm
    Web Applications
    http://help.sap.com/saphelp_nw2004s/helpdata/en/05/4b583cf7388362e10000000a114084/frameset.htm
    Web Analyzer
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    Hope it Helps
    Chetan
    @CP..

  • Program, transaction or anything for query analyzer in abap

    is there any program o txn like SQL query analyzer but in SAP?
    i read something in recently udates, but im not sure.
    tks in advance

    Hi!
    It's possible that you consider interesting tx. ST04 too.
    I hope it will be enough.
    Regards!

Maybe you are looking for

  • Since upgrade to ios6.0.1 a few days ago my wifi doesn't work

    I received a notification to upgrade to iOS 6.0.1. Ever since then I have been having problems with wifi. Go to a website, safari cannot connect to the server. Go to PayPal app, works ok, login...cannot find server. My Verizon app, login ok, try to g

  • Suitcase Fusion 5 making Adobe CC slow?

    Hi. New Macbook Pro Retina. Just moved back to Suitcase Fusion 5, after really liking Fontcase for several years. It seems the Extensis plugins are really decreasing the startup time for Photoshop, etc. I don't even have any fonts loaded or activeted

  • Media Encoder and DeviceCentral will not open

    Adobe Media Encoder will not launch from Premiere Pro and (along with Device Central) will not open as a stand alone.  I went through all of my Web Premium CS4 programs and they all open except for the programs mentioned above.  I added Premiere Pro

  • Trouble connecting my WRT54GS wirelessly

    I just got this wireless router for Christmas. I got it connected and as a wired router, it works fine, but I can not get the wireless features to work. I get this message: Sorry for the large image size, btw, but I had to make the words readable Any

  • Install PeopleTools 8.53 with Linux: psdmtx issue

    Folks, Hello. I am installing PeopleTools 8.53 Internet Architecture. Database Server is Oracle Dabase 11gR1. OS is Oracle Linux 5. I have installed JDK7, WebLogic 10.3.6, Tuxedo 11gR1 and PeopleTools 8.53 successfully. Now, I am setting up PeopleToo