Customer built function in new formula (query designer)

Hi we have got a problem, we want to built our own function that we  can use for different cubes and Queries. (like Operators)
Did anyone knows a way to develop this?

Hello Dirk,
      Its not about the visibility in the query about the 'Selection' but when i am trying to define a formula using a selection (which has both key figure and characteristic) and a key figure, the formula takes only the key figure in the selection but doesn't involve the characteristic. So i would like to know how to define a formula using a selection which involved both key figure and characteristic.
Thanks,
Anjali

Similar Messages

  • Error in formula(query designer)

    Hi guys,
    I have a formula in query designer.Its showing wrong value.Cannot understand why?
    Formula:
    (-1) * (Actual.present month < Actual previous month) + 1 * ( Actual present month >= Actual previous month )
    Actual present month and Actual previous month both are selections and are also shown in query.Eevnthough,Actual Present month is equal to Actual previous month,result is showing -1.
    I checked Sign settings in Formula properties but they have right settings for 'Keep +/- sign' as it is chosen.Exception aggregation is chosen as Total.I tested by changing it to standard aggregation but its the same.
    Is there any setting I need to change.
    Thanks for your help.

    Hi ravi,
    It didnot solve the problem.In my case ..  its working for all other company codes but failing only for this company code and that too from Januari this year....
    To other authors:
    Thanks for your replies.This is existing in our Production query and for this month,it started showing wrong value...for febraury,actual month value is equal to actual previous month(January)..so it should show 1 but its showing -1. so we noticed.I havent changed anything to log out and log in and check.Also,the result should be 1,-1...so I cannot use max funtion as mentioned by Jaya.
    Any different ideas of achieving this are welcome.

  • Delivery Date for custom Built iMac in New Zealand Why so Long ?

    Since the begining of January we  have been told three to four weeks for delivery when is that time going to be reduced to somthing like the the same time as the mac mini two to three days somebody please answer when  are  you going to reduce that time down.

    Hi, manufacturing problems...
    http://www.inquisitr.com/476971/27-inch-imac-delays-caused-by-lg-display-problem s/
    http://www.macnn.com/articles/13/01/07/215.inch.model.still.seeing.smaller.delay /

  • Not able to find the New ods created in Query Designer.

    Hi,
    I am trying to create a new query on an ODS(new) in Query Designer but not able to find the ODS . The ODS is present in the system however when we check . Please advice whats going wrong.

    Hello Prakash,
    I know the solution
    Go to RRMX -> Queries -> Select New Query -> and then click on InfoArea -> Select ur new ODS -> and Click OK
    U will be able to see characteristics and keyfigures..
    Drag and drop and click on execute....
    Reward if its helpful.....
    Thanks,
    Sonu

  • Percentage calculation on query designer (7.0)

    Hi experts,
    I´m new on Query designer (7.0) and I´m trying to do a finnancial report, so for the lines I create and structure  using G/L accounts and in the columns I got the amount for each level in my structure for a month. Now I´m trying to create an Integration percentage, it specifies how high the percentage in a level is in relation to next higher level but so far I couldn't make it...
    My report must seem like this:
    Structure.............................Amount ...... Int %
    1. Assets................................1000  ....... 100%
    1.1 Current assets....................  600  .......  60%    -> (600/1000)*100
    - Cash.............................  300  ........  50%    -> (300/600)*100
    - Inventories.....................  300  ........  50%    -> (300/600)*100
    1.2 Long-term assets................ 400  .......  40%    -> (400/1000)*100
    - Property, plant and eq..... 150  .......  37.5%  -> (150/400)*100
    - Investment property......... 150  .......  37.5%  -> (150/400)*100
    - Intangible assets..............100  .......  25%    -> (100/400)*100
    I try to use each Percentage calculation options (%, %A, %CT,%GT, %RT) but it didn't work. Can anyone help me in creating a formula to get this percentage?
    Thanks

    Hi,
    check this notes and links to get an overview how to use:
    III. List Calculations (e.g.'Calculate result as..'):Interesting facts about the OLAP Processor/Analytic Engine
    SAP Note Number: [1151957|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31313531393537%7d]
    If, in a structure element (key figure ID), you use the 'Calculate Results as' and 'Calculate Single Value as' properties with their additional fields at the same time, priority problems occur and the system behavior is not immediately clear.:
    Calculate Results/Single Values as ... priority rules
    SAP Note Number: [853058 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383533303538%7d]
    Regards
    Andreas

  • Query Designer slows down after working some time with it

    Hi all,
    the new BEx Query Designer slows down when working some time with it. The longer it remains open, the slower it gets. Especially formula editing slows down extremely.
    Did anyone of you encounter the same problem? Do you have an idea, how to fix this. To me it seems as if the Designer allocates more and more RAM and does not free that up.
    My version: BI AddOn 7.X, Support Package 13, Revision 467
    Kind regards,
    Philipp

    I have seen a similar problem on one of my devices, the 'Samsung A-920'. Every time the system would pop up the 'Will you allow Network Access' screen , the imput from all keypresses from then on would be strangely delayed. It looked like the problem was connected with the switching from my app and the system dialog form. I tried for many many long hours / days to fix this, but just ended up hacking my phone to remove the security questions. After removing the security questions my problem went away.
    I don't know if it's an option in your application, but is it possible to do everything using just one Canvas, and not switch between displayables? You may want to do an experiment using a single displayable Canvas, and just change how it draws. I know this will make user input much more complicated, but you may be able to avoid the input delays.
    In my case, I think the device wasn't properly releasing / un-registering the input handling from the previous dialogs, so all keypresses still went through the non-current network-security dialog before reaching my app.

  • Bex Analyser vs query designer

    Gurus,
    1. Can some one enlighten me on the functionality of Analyser vs Query designer?
    2. We have installed NW2004s (BI7) with the standard Business content. I want to see the data along with the graphs when I execute the queries.
    I am able to create new web templates (using WAD) and use them in the EP, but do the standard reports (SAP delivered) have web templated assigned for them? How to activate them if this is the case.
    I am able to see some charts when I open the same query using the analyser.
    Please suggest any relevant documentation for me to read and understand.
    Thanks.

    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
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70e18305-2356-2910-4bbe-9c1ebd751032
    Presentation - Publishing strategies
    SAP NetWeaver 2004s BI - Define your Publishing Strategy Part 2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6cc17893-0e01-0010-6d91-f9303b436d91
    Hope it Helps
    Chetan
    @CP..

  • Unable to find my InfoArea in Query Designer

    Hi all,
    Iu2019ve created an InfoObjectCatalog, InfoArea, DSO and an InfoCube. The data source, transformation,DTPs are all active and the flat file is loaded into the cube. I've the data also in the cube. I want to create a query out this cube that I created. But when I open query designer and look for my info area, I donu2019t find it. I searched for Info Area in Find but it says u2018No objects foundu2019. I can't find any of the objects i.e. either the cube or the Info Area.
    My question is why canu2019t find any of the objects that I created inspite of all the objects being active? How do I locate my objects in Query Designer that I created in BI backend?
    Please advise.
    Thank you.
    TR.

    Hi,
    You need to create the Query first to Find the Info Area (relevant to that Query)
    You can search the Info Area Manually (if you dont have Query also) provided You need to say New at Query designer Standard Menu.
    Hope it helps

  • Error in total of Key figure in query designing

    Dear Friends,
    I am new at query designing & am stuck in a problem.
    I have a CKF named Load in the column.
    When I select District & Complaint No.in rows the result is some 100 rows and upon exporting the result in excel & summing up load the total comes out to be right..............................
    BUT in web browser when i choose only District in the row and the result is a single row the sum of load displayed is incorrect.............wht cn b the possible reason of this??
    Thnx in advance.

    Hi Dear, i asume every districwise total also calculated. pls check onemoretime.
    Regards
    Amulu

  • Issues opening a BI 7.0 query in to 3.x query designer?

    Hi,
    I opened a 7.0 based query in to 3.x query designer. I have couple of concerns that are listed below:
    1. First of all is it ok to open 7.0 query in 3.x query designer? if no what are the Consequences?
    2. A warning message displayed saying that the infoprovider is inactive any idea?
    3. Can use the 3.x browser for 7.0 queries? Do you think 3.x browser have all the cozy navigation options like 7.0.
    Thank you.
    Aslam.

    Hi,
    Pls find some SAP notes:
    1.Queries created or adapted with the SAP NetWeaver 2004s BEx Query Designer will still appear in the Open Dialog of the 3.x tool but they cannot be opened anymore.
    2.For those scenarios where customers do not want to use the SAP NetWeaver 2004s BEx Query Designer, SAP ships a 3.x version of the BEx Query Designer in addition to the SAP NetWeaver 2004s BEx Query Designer.
    3.New capabilities are only implemented in the SAP NetWeaver 2004s Query Designer.
    4.Query Views that were created before will still run after a query has been changed with the new BEx Query Designer.
    In general, query views do not need to be migrated.
    5.The new BEx Analyzer gives access to InfoProviders, queries and query views but not to query views created with the new BEx Web Analyzer. On the other hand, query views created with the BEx Analyzer are available within the new BEx Web Analyzer.
    6.Several Features of the new BEx Query Designer and BEx Web (e.g. in the area of exceptions and conditions) are not available in the new BEx Analyzer.
    7.SAP does not recommend using NetWeaver 2004s queries and query views in the old 3.5 BEx Analyzer.
    Hope this helps,
    Regards
    CSM Reddy

  • Creating customer formula to be used in the Query Designer

    hi,
    How can i code a specific formula to be used in the query designer. As an example, i need to calculate dynamically working days between two dates.
    i tried to find the corresponding BAdl interface with no success..
    Do you have any suggestion ?
    Ludovic

    Hi..
    I have a scenario ...  it may help..
    The group HR administrator wants a detailed line item report that lists all employee absences in a given period. The report is to show the employee number, the absence start date, together with the end date of the absence and show the number of calendar days the employee was absent.
    The good thing about using this technique is that no redesign work is needed from your technical BW team, no ABAP is involved and best of all, it quick and easy.
    Solution:
    For this example I created an ODS object called Absence that holds basic employee information along with individual absence record data.
    Follow the steps below:
         Open the BEx Query Designer and create a new report on your chosen InfoProvider.
                  Drag the Employee, Valid from and Valid to characteristics into the Rows section of the screen.
    If needed, apply data selection restrictions to the characteristics as pop up
         Right click on the Key Figures structure and select New Formula
         In the new formula window right click on Formula Variable and choose New Variable
         The Variables Wizard will launch and will require you to specify the variable details.
    ( Click the NEXT button if the Introduction screen appears )
         Enter the variable details on the General Information as shown in  pop up
    Enter the Variable Name , Description and select Replacement Path in the Processing by field.
    Click the Next Button.
         In the Characteristic screen (pop up) select the date characteristic that represents the first date to use in the calculation (From Date).
    Click the Next Button.
         The Save Variable screen (pop up) displays a summary of the new variable.
    Click on the Finish button to save the variable.
         Repeat steps first four  for to create a second variable for the second date to be used in the calculation.
    In the example shown, the characteristic 0DATETO is used to create the variable ABSEND (Absence End Date)
    Define the Calculation............
                The new calculated key figure will now show in the columns section of the BEx query designer
    excute...
    with regards,
    hari

  • What is the Count function in formula of Query Design?

    What is the Count function in formula of Query Design?  Could someone gives an example?
    Thanks!

    Example :
    COUNT of
    Also, check :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af

  • Formula creation in Query designer

    Hi All
    I want to explain a bit more on my requirement .
    I have supplied qty and ordered qty and i have the difference between both which is called as service level as %. there will always be 100% for some suppliers and lessthan 100% . So i want to count only the 100% suppliers and divide by all the suppliers . so that i can get the perfect order . and the formula is below .
    I need to apply a formula line count with 100% / line count in one of my querys how to do it the qury designer . Can you anybody guide how to do it .
    Thanks in advance . I am sorry if i have posted in the worng fourm .
    thanks

    you must be having an  infobject refering to say supplier say supplier no. ( like customer number).
    STEP 1: create a new CKF ( formula in query designer on right columns panel)
    STEP 2: create a formula variable with reference characteristic as supplier no . replacement path replaced with infobject->attribute value - constant 1.
    STEP 3. you CKF  " NO OF SUPPLIERS"  definition would be as below
    supplier counter .
    STEP 4. identifying 100% suppliers.create a new CKF  " NO OF 100% SUPPLIER " ( formula in query designer on right columns panel).
    it definition would be
    supplier counter * ( ordered qty == supplied qty ).
    where supplier counter is formula variable. this will give total counts of supplier where ordered qty == supplied qty.
    STEP 4.
    divide CKF  " NO OF 100% SUPPLIER " / " NO OF SUPPLIERS"

  • Diff between Calculated key figure and new formula 6extra functions why

    Hi Friends
                  In BEx query designer we have Restricted key figure & Calculated key figure. In the case of Ristricted Key figure And new selection the difference is Global and local.
    But if we come to Calculated Key figure and New Formula the difference is same global and local. But in New formula we have 6 extra function. My question is does is there any certain reason for this or SAP AG not be able to develop those functions
    Thganks & Regards
    Bramhanand

    Hi Surendra thank you for your reply.
    But i am not asking difference between calculated key figure and New formula.
    What i am asking is in the case of Restricted Key figure And new selection the difference is Global and local.
    But in Calculated Key figure and New Formula the difference is same global and local and in New formula we have 6 extra function. My question is does is there any certain reason for this.Why not SAP AG is not included the new formula functions in Calculated key figure.
    Thanks & Regards
    Bramhanand

  • Add a mathematical function in Query Designer ?

    Hi,
    Do you know if it is possible to add a function in the Query Designer on formula screen ? If yes ... how ?
    Thanks a lot,
    CG.

    You can use the CEIL and FLOOR Functions for this
    Suppose you have a Key Figure K.F . hide this key figure and create a new formula Key Figure and create a formula as shown below.
    ( FRAC ( 'K.F' ) >= 0.5 ) * CEIL ( 'K.F' ) + ( FRAC ( 'K.F' ) < 0.5 ) * FLOOR ('K.F' )
    CEIL, FLOOR and FRAC will be available under Mathematical Functions

Maybe you are looking for