Formula Collision on properties of char in query designer

Hi BW Gurus,
Can someone explain this topic with some good example(s)?
Anil

Formula collision is a topic particulary significant when using two strucutes (one in the rows and one in the columns).
Let's consider you have the following Rows R1, R2 anc R3 = R1+R2. In the columns C1, C2 and C3 = C1*C2. The calculation in the ninth cell (R3-C3) can be done using the first (Rows) Formula or the second (Columns) formula, it depends on the result you want
   C1  C2  C3
R1 10  30  300
R2 20  40  800
R3 30  70  ???
Should the result be 1100 (summation) or 2100 (product)?
Hope it's clear
GFV

Similar Messages

  • How to restrict for same char in Query designer

    Hi Experts,
    We have a requirement where we have to display the TRansfer amount
    Where transfer from contract and transfer to contract
    Sould not be equal.
    Is there any way by which in query designer we can put condition on Chars.
    Please suggest.
    Thanks
    Mayank

    Hi,
    As much I understood, you may create a replacement path variable on CHAR and convert the same in number/Key Figure.
    You may put condition on this.
    I hope it will help.
    Thanks,
    S

  • Query Designer: Error-msg: Please enter a valid value for charact 1FORMULA

    Hello BI friends,
    when I open a query in the Query Designer (or change query from BEx Analyzer) I get this message. There is no detail description for the message. After pressing the OK-button in the message I get an u201Demptyu201D Query Designer (to create a new or open a query).
    The query contains some formulas, I know. I have checked the query by starting it via RSRT and debugging. There is only a warning (exception contains a non-numeric value).
    But how can I check the formulas, exceptions or something else if the Query Designer doesnu2019t show the query definition?
    Thanks in advance!

    Hello Karen,
    thanks for your answer.
    Unfortunately I didn't mention yet that we have BI 7.0, but I'm using a 3.x query and 3.x QD. The query has not been transfered to 7.0 level (I hope it, since other colleagues work in the system too). How can I check the level (3.x / 7.0) of the query?
    I have checked the table RSZRANGE, but I didn't find any row for the char. 1FORMULA, I have checked the fields IOBJNM, FACIOBJNM and ATTRINM. I also didn't find a row for RSRREPDIR-COMPUID = RSZRANGE-ELTUID. Did I search in a wrong way?
    I have also checked the program COMPONENT_RESTORE, but I didn't start it for the IProv, comp type = REP and the special query, because I'm not sure what I'm doing there exactly (the program has no documentation).
    Is it still the same way as you have described under these conditions?
    Best wishes
    Britta

  • Issue with formula collision

    Hello Experts,
    I am facing an issue with Formula collision, below is an expample
    My requirement is to use Column formula for the value (????) in the below table.
                                  Restriction (C1)     Restriction (C2)     Formula(C1-C2)
    Restriction (R1)     4              2                                 2
    Restriction (R2)     8              3                                 5
    Formula(R1+R2)     12              5                              ????
    I have tried using the below settings
    1) Formula(R1+R2)  "Standard"
    2) Formula(C1-C2)  " Use result of this formula"
    But still getting row formula being used, please advice.
    Thanks,

    Select the Formula which you created Formula(C1-C2)
    In the properties tab Go to Calculations--> Select the Check Box Cumulated
    In the Drop Down for Calculation Direction Select --> Calculate Along Columns
    If you require you can also select the Check Box Also Apply to Results
    Hope it Helps.
    rgds, Ghuru

  • Curerency conversion for a Formula in the query designer

    Hi
    I have a ' Financial Loss Formula' in the report. I want to convert this 'Financial Loss' into USD Currency at query designer level.
    Source Currency = SAR
    Target Currency = USD
    So how can i do the curerency conversion for a Formula in the query designer.
    pls let me kow
    kumar

    Hi,
    If you define your query conversion in BW then it is easy to do currency conversion through Bex.What you need to do is use calculated key figure instead formula and do a right click select properties there at the currency translation area you ca select defined currency conversion in BW and your target currency.
    /people/rasim.manavoglu/blog/2007/04/30/currency-currency-currency
    Regards.

  • Query Designer - Formulas in Results Row

    Hi,
    Is it possible to have a formula based purely on values in the results row? e.g.
                              Col A      Col B           Col C   ColDl
    Results Row       4             5                 1          40%
    Where Col D is Col A as a percentage of the total. I can create a formula for individual rows but not for the results row where it just seems to sum individual percentages.
    Thanks

    Hi Gaurav,
    i have done what you have suggested:
    In query designer > Properties for a Key Figure > Calculations > Calculate Result As > Nothing Defined,
    I have set that, despite the rows are calculated as per formula defined in the key figure but the result field is not. The formula is only applied for the rows but not for the result. The result is olthough i have the setting you suggested a summation of that whole column and thats wrong.
    Can you or anybody else help.
    Thanks and regards,
    Murat

  • Fox Formula Variable In Query Designer

    Hi Experts,
    I have created 1 variable in fox formula of type VARV and i want this Variable to show in query designer while creating new Variable so that i can replace the Query Variable With Fox Formula by Using Replacement Path.
    While Creating new variable in Query Designer it is not Showing that Fox Formula variable.
    Because i want to use this in WAD While Executing the Planning Sequence.
    Is there any way we could get That Fox Formula variable in Query Designer.
    Regards
    Girish

    Hi Marc,
    While Creating Variable from Query Using Query Properties it is still not Showing That Variable in Fox Formula.
    And My Requirement was to Replace that Fox Formula Variable With Query Designer Variable.
    Please Suggest any Solution.
    Thanks
    Girish

  • Query Designer Formula Logic

    Hi
    I have the following data and the status of the formula should be 1 or 0.
    Cancel Date : 05/31/2011
    Formula  : cancel date >=today's date                             
    Cancelled(Yes =1/No= 0) : 1
    Cancel Date : # (no date assigned)
    Formula  : cancel date >=today's date                             
    Cancelled(Yes =1/No= 0) : 0
    Cancel Date : 06/30/2011
    Formula  : cancel date >=today's date                             
    Cancelled(Yes =1/No= 0) : 0
    i tried the following formula in the query designer 7.0 but second condition gives 1 instead of 0.
    DELTA ( COUNT (cancel date >= today's date)).
    I am not able to find a better solution, please suggest.
    Thanks!
    Edited by: bwcrm01 on Jun 1, 2011 6:28 AM

    Hi,
    Here todays date is 06/01/2011 right? Shouldnt then be 1, 0 other way round for 1 &3.
    Cancel Date : 05/31/2011
    Formula : cancel date >=today's date
    Cancelled(Yes =1/No= 0) : 0
    Cancel Date : 06/30/2011
    Formula : cancel date >=today's date
    Cancelled(Yes =1/No= 0) : 1
    Anyways, Cancel Date is present as a Characteristic or KF? If Char, you can create the RKF, add above CKF in a RKF with Cancel Date NE #. This will give 'Blank' not zero when Cancel date = #.

  • Formula in Query Designer

    Hi Experts,
    I am confused in calculating
    Total sales/ net sales in bex query designer
    can you help me
    Regards,
    Anil Doddi

    Hi,
    if u need to create formula in BEx first u need to create structure. any section column or Row right click on it and create structure, then right click on structure and add formula, in which u can select the chara or kf on which u wanna create formula.
    hope this helps.
    KS

  • 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.

  • Urgent !Formula Collision

    Hi guys,
    This is critical i gotta deliver this issue fast
    the thing is i have two structures one KF the other chars, formulas
    having to do with YTD (year-to-date) calculations,
    and i'm having some formula collisions
    that is some formulas are incorrect
    eg (Gross margin %A Net Invoicing) for
    a characteristic (a current year) is wrongly calculated
    similar is the scenario for other formula in the char structures
    is there a formula collision do i need to use cell editor
    the two structures are in colums
    Thanks

    I checked the KF and it has "result from this formula "
    so the error could be something else i believe
    no cell editor was used in this case
    i think probably we need to use cell editor to
    calculate the complex formula, could that be the error
    help me out guys

  • Formula Collision in the result rows

    Hi Guys,
    I have 2 KFs A & B and KF C = A/B.
    In Results rown instead of calculating it as ( A1 + A2 +... +An)/ (B1 + B2 .... Bn) , I want to calculate it as (C1 + C2 + ....+Cn). I tried all options in formula variables, it simple doesnt work. Not sure if we can use it with Result Rows.
    Does anyone have any answer ?
    I would return point for all the helpful answers which I always does.
    Cheers
    Kirk

    Hi Kirk,
    There are 2 ways of doing this
    1) If you're defining the Caluclate KF then you have to right click on the calculated key figure and then click on Enhance button. In the Aggregation block you have to choose "After Aggregation" from the drop down.
    2) If you are using New formula which is local to the query only, in that you have to define a new formula as per your requirement and then go to the property of the new formula by right clicking on it. In the Formula collision block you ned to choose "Result from competing formula".
    Hope this will help.
    Please note that for the calculated field C which is A/B the Calculate Result as should be Nothing defined. But for Field A and B it should be SUMMATION.
    Give reward point if satisfied.
    Regards,
    Message was edited by: tapan tripathy

  • Grouping of Char Restrictions in Query Designer

    Hi
      Can you please update me on how can i achieve this at report level (Quesry Designer)
    Lets assume i had a Char Product which had 26 different values as Master data.
    Key: A,B,C.....Z
    In the report i need to group those values,Line
    North should display A,B,C,D
    South should display EFGH
    WEST Should display IJKL
    other should display the remaining all other  products
    Can i achieve this in Query Designer
    Thanks

    Hi,
    As per your requirement i can suggest you a way:
    1. Create as the structure as per your requirement: NORTH, SOUTH, EAST, WEST, OTHERS
    2. Then select the key figures and in the display properties; select the "hide (can be shown)"
    3, there you won't get the column heading. then you can describe your own column heading.
    PS: But you can do this only in BEx analyzer (in the workbooks). You cannot do this in the Web reports.
    Regards,
    Ravi Kanth

  • Message in BEx Query Designer Formula

    Hi Experts,
    I need to display message based on the value of the formula result. For Example:
    If K.F1 =<2.5 Then <Message: ODD>
    ElseIF K.F1 >2.5 Then <Message: Even>
    Else
    <Message: Determine the value>
    EndIF
    Thease above messages would be build in the formula column of BEx query designer
    Thanks and really appreciate your response.
    Regards,
    Waseem

    Hello,
    I have done the same funtionality with the help of workbook.
    May be experts can guide us how to display  messages in the formula column of BEx query designer.
    Thanks.
    With regards,
    Anand Kumar

  • Usage of formulas in conditions in BEx Query Designer

    Hi guys,
    does anybody of you guys know, if it's possible to use the results of formulas in conditions? I tried it, but the result of the query was "No applicable data found", but there are data for the selection.
    When I'm defining the condition with the key figure (no restricted or calculated key figure), then the query can be executed.
    In my case, I like to define a condition based on a formula result. The value should only be displayed, when the result is greater than 30.
    Any ideas or are there any bugy in the BEx Query Designer?
    Thanks a lot + best regards,
    Clemens

    Hi Clemens,
    I have created a condition in my own system based on formula and it works perfectly fine. Please check following points in your condition change mode,
    1) Condition is marked as Active.
    2) In the block "Evaluate condition below for" you will have to select "All characteristics in drilldown Independently". If you have selected combination of characteristics then you will have to maintain proper sequence otherwise your condition will not work.
    3) In the next block when you set the condition, click on new, in the first block select your Formula from dropdown and set the proper operator in your case you will have to select "Greater than" in the next column set the value of key figure and just trasnfer it.
    Now you are ready to use the condition.
    Regards,
    Durgesh.

Maybe you are looking for