Number of key Figures used in Query

Hi,
I would like to know the number of queries in a Query,
Is there any way to find out this?
We have nearly 100 queries, and we were asked to find out the top 5 queries in terms of number of key figures.
Thx.

Hi Thejo,
There is no direct way to do this using another BW query simply because the data is not stored in either Masterdata Info Objects/CUBE ODS. They are stored in BW system tables which are not directly accesible by any queries to build using the Query Builder.
Try to locate the system table that holds these Info (Keyfigures + Query Name) and do ABAP Query instead.
Regards,
Jkyle

Similar Messages

  • Max number of key figures

    In BI 2004s 7.0, how many key figures or the maximum number of key figures can a query have in the Column area that would not impede the performance of running the query? This would include key figures that use User Exit code for variables, RKFs, and CKFs.

    I can't imagine a requirement that would have 175 key figures in a query. What would be the requirement?
    It would be a big burden to maintain, support it, and change control. One of the tips to improving query performance is to break up the query with this number of key figures into smaller queries and make use of RRI. Workbooks are there for use with multiple worksheets or 1 worksheet with multiple grids. How would you improve query performance with this kind of query.
    The key figures are created to be able to derive other key figures based on the RKFs that make use of the exit code that determines the dates from what the user enters. 
    Are you saying that a Business Analyst would use 175 key figures to do the analysis at a time? I have seen the most is 12 - 13 key figures that are not hidden and the 10 others are hidden because they are use for derivation - a total of 23 key figures in a query. 
    "Insecured people are full of themselves. Nobody wants to be a second hand smoker or a job from you. Move on and stop calling me"

  • Maximum  number of characteristics and  Key figures used in a Query

    Hi Experts,
                Any Thought on the maximum number of Characterstics and key figures that can used in a Query. I know  it impacts performance query and runs for very long time.
    Thanks,
    Kumar.

    Hi Kumar,
    Welcome to SDN.
    I really did not think about it till now, sharing my thoughts on this -
    1. You can use all the characteristics & Key Figure ( & more)in Query what you have in you Cube.
    2. Query is suppose to serve a purpose, to deliver you analytics based on some KPI etc & it will have maximum no of char / key figures which human mind could make some sense of.
    3. Performance of query actually is divided into three areas -
    a. database time
    b. OLAP time
    c. Front End time
    and if you query on not performing well first look at which area is taking maximum time & the optimize that first & there are various ways to optimize each area.
    Hope it helps.
    VC

  • Number of key figures per query

    Hi guys
    I have a cube with over 150 key figures.
    In query designer I can see only the first 150.
    Does anyone know where to change this limitation?
    Regards
    Shlomi

    Hi Thejo,
    There is no direct way to do this using another BW query simply because the data is not stored in either Masterdata Info Objects/CUBE ODS. They are stored in BW system tables which are not directly accesible by any queries to build using the Query Builder.
    Try to locate the system table that holds these Info (Keyfigures + Query Name) and do ABAP Query instead.
    Regards,
    Jkyle

  • Virtual Key Figures using RSR_OLAP_BADI

    Hi gurus,
    We have been using the RSR_OLAP_BADI to generate some virtual key figures for our queries, now we have a problem creating a virtual key figure...
    We have got 4 key figures in the query, 1 is a normal KF and the last 3 are virtuals, one of the virtuals uses the normal KF and splits it between the total of the same KF. The point here is that the calculations are not coming ok because the COMPUTE method does not bring the information summarized as the KF is defined, because in the same structure of the query ther are some formulas that have the same KF restricted to another level of information.
    If we remove from the query this formulas, the virtual KF works perfect because the normal KF is delivering the information summarized.
    The question is... is it normal that this happened or there may be something wrong in our definition?
    Thanks and best regards to all!!!

    Hi,
    You can get number of threads in SDN search.
    Check in the following blog
    IF_EX_RSR_OLAP_BADI~DEFINE
    https://forums.sdn.sap.com/click.jspa?searchID=23657256&messageID=6776739
    https://forums.sdn.sap.com/click.jspa?searchID=23657256&messageID=6788064
    http://sapbikk.blogspot.com/2008/05/writing-virtual-characteristics-or-key.html
    Thanks
    Reddy
    Edited by: Surendra Reddy on Mar 18, 2009 4:29 AM

  • Adding key figures using commands in Web Application Designer?

    Hello, all.
    I have a query the contains several key figures.  From that query, I created a query view in which only one of the key figures is displayed.  I'm using this query view for one of the data providers in a web template.  In Web Applicaiton Designer, I would like to be able to hide the key figure from the data provider and show a different one.  How can I accomplish this using the built-in commands?
    I know I can hide all key figures using the CLEAR_SELECTION_STATE command, but I can't figure out how to use a command such as SET_SELECTION_STATE_SIMPLE to show a different key figure.  Any help would be great!  Thanks.

    I've tried that using the GUI to configure the command, but WAD crashes when I try to open the window where I choose the member name.  The error says:
    "4A6DM1A4LTXPJKA1BA3LD9TTD is not a valid characteristic for InfoProvider MQM_M01."
    I also tried entering the commands as you suggested in the XHTML editor, but that resulted in an error when I tried to execute the command.
    Maybe I can do what I'm trying to do using some method other than changing key figures.  Basically all I want do is change the date range of the data shown using offsets.
    The key figures that I'm trying to add and remove are restricted in Query Designer to different date ranges.  These date ranges use offsets to set the restriction.  For example, one key figure is restricted to display values for only the last 7 days and I'm trying to replace it with a key figure that's restricted to the last 14 days.
    If I knew how to set a filter with offsets using commands in WAD, then I'd use that method, instead.  Any suggestions would be appreciated.

  • Experience with creation of a large number of key figures

    Hi:
    I have a need to create a large number of Key Figures (at least about 50 of them) for DP use. Do you have any experience with automating this task if so, can you share your experience?  Thanks.
    Satish

    Hi,
    So far we have not come across a need to automate KF creation. And 50 KF is not a huge number, it would take may be a couple of hours to create them. Also, since it is a one time activity, developing an automation script for the same does not sound useful. You might want to consider creating them manually so that you can ensure all settings are proper.
    Hope this helps.
    Thanks & Regards
    Mani Suresh

  • Issue with Virtual Key Figures Using BADI

    Hi,
    We are populating values for a few virtual key figures in a query over a multiprovider through a BADI implementation(RSR_OLAP_BADI). On execution the VKF fields appear blank in the report.
    We tried debugging the methods of BADI by adding Break-Points in specific points. On doing so, we found that the values are properly updated in the 'Field-Symbols' used in the Compute method, but the same values do not appear in the report result and the fields are blank.
    Kindly provide any pointers or suggestions.
    Thanks.

    First check in <b>Technical Information</b> in <b>RSRT</b> , whether the
    <b>Virtual Char/Key</b> Fig is<b> Y</b> or <b>N</b>.

  • Restricting key figure using 0infoprovider

    Hi Experts
    My query is buily on a multiprovider (which is built on 10 cubes)
    I need to restrict key figures in the query so that every KF will search a particular cube, instead of searching all the cubes. because of this query performance is very poor.
    We use  10 RKF in that query. I know that we can restrict them it using 0infoprovider.
    Now my question - Do we have to restrict the original key figure using which we created RKF or can i just restrict RKF.
    Another question - If we have restrict RKF, then in global window (this will affect all the query using tht rKF)or at local level.
    Thanks
    BIT

    Hi,
    Now my question - Do we have to restrict the original key figure using which we created RKF or can i just restrict RKF.
    You can simply add the restriction in the RKF.
    Another question - If we have restrict RKF, then in global window (this will affect all the query using tht rKF)or at local level
    If RKF is getting used in multiple queries and you want it to restrict to same inforprovider for all the queries then you can restrict it at global level. But if you have different restrictions for different queries then you will have to create local RKF's and then use them in the individual queries.
    Regards,
    Durgesh.

  • Restrict Key Figure using a Characteristic InfoObject which is Compounded

    Hello Friends,
    I have a scenario where I need to restrict the a Key Figure using a Characteristic which is a Compounded Info Object.
    The Compounding is done on Info Object Payment Method and Country is the superior Info Object. The Values in the Compounded Info Object are like "country/payment method"  " AE/J ,  AU/J , BD/3". 
    In the Query I would like to restrict the data for a Key Figure using the above values. But when I try to create a Restricted Key Figure it does not take the compounded value instead it would take the value of Payment method like J or 3.
    But in the Single values for Payment Method it shows the complete compounded value "AE/J , AU/J", and when I select the values it selects only the payment method value.
    Any suggestions on how to achieve a restriction on the compounded value.

    Hi Naveen,
    Kindly try filtering the Key Figure with both Payment Method and Country in the restricted key figure that you are creating.
    For example, lets assume you want a restricted key figure, that is filtered with the value - AE/J.
    You are not able to get that directly by filtering it only with Payment Method - J.
    So filter it with Payment Method - J and Country - AE.
    Now save the restricted key figure and try executing it.
    Hope it Helps.
    Warm Regards
    Preethi R

  • Problem with virtual Key Figure in a query

    Hi Experts,
    I would like to share my problem with the virtual key figure in a query:
    I have a query with a virtual key figure and when I eject the query by analyzer, the result sometimes is displayed and sometimes is not displayed (is equal to 0), with the same initials values. And when I eject the query by RSRT always display the result for the virtual key figure.
    Why don't always display the result?
    Thanks a lot

    Hi,
    I think that the problem is the level of support package. We have BI AddOn 7.X (based on 7.20) support package 0.
    What do you think?
    Regards

  • Calculated Key figures using different key figures

    Hi All,
    I want to create a calculated key figure based on Actual and Plan.Actual values are coming from InfoCube,Plan values are loaded from Excel sheet into different key figure in another infocube.I've created a MultiProvider for these Cubes.Now I want to find the difference between plan and actual.So I created a calculated keyfigures based on the key figures.But the Query is giving error ..
    Then the connection terminated..
    Let me know how to do..
    Raji

    What is the error you are getting?
    First do this.
    In the query, filter on only 1 infoprovider. Check the KF's and see if correct and if you get the error. Then, do the same thing, for the other infoproviders. Once you get no errors that way. Remove the filter. See if the KF's are ok and no errors. Then do your calculation.
    Also, make sure in the definition of the KF's, you are filtering each on the right infoprovider. (For instance, KF1 has a filter on infoprovider1 and KF2 has a filter on infoprovider2.)
    hope this helps!
    /smw

  • Changing the formula to a key figure on a query

    Hello All,
    I do not have access to BEx. I would please like to know how to change the formula to a key figure "Total $" in a QD Promo Analysis query (technical name - N03_Q_D_N03_SD_502_0003). Will transaction RSRT take me to the query and eventually the formula so I can change it? If so please give me guidance as this is the first time I go into transaction RSRT. If there is another way please also give guidance.
    Thank you and kind regards
    Keith Kibuuka

    Hi Vishvesh,
    Thank you for your response. Maybe access to BEx was the wrong word - I do have access although I was trying to avoid configuring the SAP logon to add this particular client onto because I have not done this before. My boss has helped me and I have now have "access".
    Therefore from the query designer can you please guide me on how to change the formula to a key figure on a query? Input from all people is also be very much appreciated.
    Thank you and kind regards,
    Keith

  • Query Designer restricted key figures using a prompt value

    Hallo Experts,
    I would like to restrict key figures after user has beeen prompted to enter a date. I have 2 key figures:
    a) KF1, Date1
    b) KF2, Date2
    User should be prompted to select a specific date: e.g. 01/2011. After selecting/entering the prompted date value, it should be given to date objects for intance Date1=01/2011 and Date2=01/2011.
    How could I achieve it in Query Designer without using customer_exit function? Reason is that non-experienced users will use this report and they should not be confronted with complex query. Do you have any idea?  
    Many thanks
    Mamadu

    Hi,
    I assume that you need to restrict the value of keyfigures by date based on user input data on variable selection screen.
    First create one user input variable on your date field say for eg calday.
    Now restrict your KF1 with calday and choose that vairable which you created.
    For second KF2 which seems to me need to be restricted with offset of +1 based on the date entered by the user.
    So restrict this KF2 with calday and use the same variable with offset of +1
    I just misunderstood you ned calmonth or day because in requirement you have given month but you are calling it as date.
    If its month then replace calday with calmonth..
    Hope it helps.
    Regards,
    AL:
    Edited by: AL1112 on Dec 21, 2011 9:42 AM

  • Sort Key Figure in a Query

    I have a situation where I have to use a query (not possible to use a view - long story, but limitations on views make it so)
    I have a simple query that has products on rows, and Month and Sales Value on the columns.
    I want to sort the Sales value descending.
    ie
    product   Sales Value/8.2005
    prod1      500
    prod2      400
    prod3      300
    How do I tell the query to sort on the Key figure value descending as shown above???
    I have managed to achieve this by putting a condition on that returns the top 100% of the query, however there must be a better way??? (although I am slowly losing confidence in SAP's thinking (or lack thereof))
    Thanks in advance for any assistance.
    Regards
    Richard

    Hi JKyle,
    Thanks for your response.
    I am aware that you could sort by using the Properties on the context menu of the key figure, but this is no good for a default view without hacking the URL, which becomes quite tedious. (My users are not capable of entering even the simplest of variables, let alone using a context menu to sort every time they run a report.
    You can also bookmark once it has been sorted, however have had problems with bookmarks disappearing in the past, and so I don't really consider this to be a solution either.
    I guess I thought that this was such a fundamental requirement that it would be included, and that I was missing some setting somewhere when developing the query.
    Thanks again for your response.

Maybe you are looking for

  • Resolution of Transparency

    Hi I would like to know how the resolution of a transparent object is determined when exporting to a 1.6 PDF where the transparency is not flattened. Does it use the settings in the transparency flattener Preset? Or is it related to the resolution of

  • How to bind xml or any data to a mobile list in Dreamweaver?

    I am trying to figure out what should be a simple thing in Dreamweaver. That is while using jquery mobile, how do I attach an xml file to the attribute list elements? If that isn't possible, would someone be able to tell me or direct me to a way to h

  • What accounts for *intermittent* Error -8 failures?

    I've been following this group carefully, and configured my router and MacBookPro so that video iChat works successfully on my home wireless network. SOMETIMES. This is too weird, and I'm on the verge of giving up. First, I get it working fine. Then

  • UDF for Special Character Conversion

    Hello All, Can any one help me with the UDF for special character conversion code. I mean if a special character is given it should pass a blankspace. << Moderator message - Everyone's problem is important >> Many thanks, Rahul. Edited by: Rob Burban

  • How to use a time dependent attribute as a replacementh path in a Bex

    Hi  friends, Does anyone know if it is possible to use time dependent attribute as a replacementh path inside the Bex Query . For example in master data  I heve like following records                        material  value    date from