Cell definitions with Query formulas

I have a query with cell definitions used.
My problem is when I use a formula in one of the original query columns, it ignores the cell definitions and considers the orignal columns definitons.
My understanding is that cell definitions overwrite the original query column defintion by default.
The only way I can think of it, is that I should do all my formulas in the cell definitoins editr for all affected cells (one by one).
Anyone had a similar problem.
your help is appreciated.
Thanx in advance

I'm not sure if i understood correctly, you have the a formula defined in query columns let's suppose ab, and for the same formula intersection in the cell defnition you have another formula bc.
But the query is returnign the result of a*b ? Am i correct in understanding ? If this is right, then why do you have calculations in both the places....

Similar Messages

  • Using Bex Query with cell definition with WEBI

    Hi,
    Currently I am using a Bex query as a datasource for a webi, normally this works ok but I am having trouble with one particular query.
    This query has cell definitions defined in the query. When i import the query into WEBI I get an MDX error.
    Any suggestions?
    Thanks
    Flash

    Hi,
    We do not see all elements of the BW query in the universe, just those not using cell definitions.
    We are currently on Business objects XI 3.1
    Using BW 3.5
    And the query runs fine using RSRT, it does show some asterix for some of the values but this can be removed by filtering on currency type in BW report
    Thank You,

  • Cell definition in Query Design within Bex Analyzer

    Hello,
    I would like to use special cell definition to visualizing the difference row definition between 2 columns (last year and actual year). With "Cell Definition" function in Query Design within Bex Analyzer there's a option to select a new restricted key figure for a related cell. But as a result I just can see a star (*) against a result number in that field. Do you have an idea, how can I solve this problem?
    Thanks and Regards,
    Nuran

    Hi again Dirk,
    there's not a unit problem. We use 2 different restricted key figure definition for a same row. The first restricted (or can be decribed as calculated key figure) key figure must be used in the first column to represent the value of the last year. And at the same row with usage of same text (for example: cost of goods sold)the second restricted key figure should be used to show the value of actual year (B2:costs in euro). The problem is the key figure definitions are totaly different; they're using different account groups etc. Cause of, I wanted to use cell definition function. In the first value field (B1) should be shown first key figure but I just get star (*) and a wrong value in the formula field of excel (between the toolbars and the result area).
    Thanks for your reply.
    Nuran

  • Is it possible to populate cell A with the formula in cell B as opposed to the value of the formula in cell B dynamically?

    Hello,
    I am wondering if the following scenario is possible:
    Cell B contains a formula which refers to a number of other cells.
    Cell A refers to Cell B such that the formula in Cell B is applied in Cell A.
    I am aware that I can copy and paste, but I am wanting to do this dynamically, for the following reason.
    In order to avoid constructing a very complicated formula which involves lots of tricky IF functions, I use a formula with a chain of simpler IF functions, such as follows:
    =IF(A1=1,B1,IF(A1=2,B2,IF(A1=3,B3,IF(A1=4,B4,IF(A1=5,B5,IF(A1=6,B6,IF(A1=7,B7,"" )))))))
    Then in B1-B7 I include the complicated formulas, and depending on which value is actually in cell A1 that particular formula is applied in the cell (i.e the cell is populated with the respective formula).
    Is it possible to use Numbers in this way, or if not, is there another way of achieving my goal (i.e. to avoid having to construct one very long and complicated formula)?
    Thanks,
    Nick.

    It depend of what you want to achieve.
    Here, in standard cells of column B the formula is :
    =IF($A=1,C,IF($A=2,D,IF($A=3,E,IF($A=4,F,IF($A=5,G,"")))))
    Here, in standard cells of column C the formula is :
    =$A*10
    Here, in standard cells of column D the formula is :
    =$A^2
    Here, in standard cells of column E the formula is :
    =$A*12345
    Here, in standard cells of column F the formula is :
    =$A+10000
    Here, in standard cells of column G the formula is :
    =20000-$A
    Here, in standard cells of column H the formula is :
    =OFFSET($A$1,ROW()-1,A+1)
    Here, in standard cells of column I the formula is :
    =CHOOSE($A,C,D,E,F,G)
    Here, in standard cells of column J the formula is :
    =IF($A=1,$A*10,IF($A=2,$A^2,IF($A=3,$A*12345,IF($A=4,$A+10000,IF($A=5,20000-$A," ")))))
    As you see, the formulas used in column B,H, I, require the use of the columns C, D, E, F, G
    The one used in column I doesn't require these columns.
    When a task requires a complex formula, I often used the columna A thru G
    then when I'm sure that the formula in column B return behave exactly what I want, I replace in the formula of column B the references to columns C thru G by the formula embedde in the pointed columns minus the equal symbol.
    It's what I did to build the formula of column J.
    If you build the sample table, you will see that the formula in column I isn't perfect because it return a red triangle when the cell in column A is empty.
    I decided to leave it as is and created an enhanced synthetic formula for column K:
    =IFERROR(CHOOSE(A,$A*10,$A^2,$A*12345,$A+10000,20000-$A),"")
    As you see a single problem may receive different answers.
    Sometimes, one is clearly the best, sometimes it's matter of taste.
    Here my best choice would be the very last one which I added for column K.
    Yvan KOENIG (VALLAURIS, France) mardi 23 août 2011 16:44:11
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Cell Definition in Query Designer

    Hi,,
    Can anyone will tell me the real time use of cell definition option in query designer.
    Thanks and Regards.
    Anjali

    Anjali,
    You can use cell definitions when you want to overwrite the value of a particular cell.
    For this you need to have an identification of where the cell intersection takes place. So for defining cell definitions its mandatory to have two structures in the report.
    Now coming to the scenario,
    You have GL accounts in the rows structure and the key figures amount, deductions and some others.
    Rows-----Amount--
    Deductions
    1001--20000--
    100
    1002--15456--
    4363
    1007--64334--
    252
    1005--36643--
    34
    1111--43436--
    343
    This is what the report displays for a particular year the user enters e.g 2007.
    But for a GL account 1005 the user wants to display the amount for the last fours years.
    The out put for amount for the GL account 1005 displays only 2007. The requirement is that it should display the summed up values of 2007,2006,2005,2004.
    To get this out put we go for cell definitions and in the intersection of the 1005 GL account and amount we define a cell definition. Based upon the requirement we define the cell definition...
    Hope this helps you.......

  • BEx Query Cell Definition (If ..then...else with AND)

    Hello Experts,
    I am struggling with a requirement which I need to define in the Cell definitions in Query designer. I have tried going through the numerous posts regarding this if..then...else in SCN but were of no help to me.
    My requirement is as follows:
    if expression1 then result1, else if (expression2 AND expression3) then result2, else (expression4 AND expression5) then result3
    I tried to define this in the cell as below:
    <expression1> * result1 + (<expression2> AND <expression3> ) * result2 + (<expression4> AND <expression5>) * result3
    but somehow it does not work.
    Any pointers of how to achieve this?
    Thanks.

    Hi,
    If you are getting 'X' then this may be related with the dimensions you use in comparing variables. Try the whole formula such as
    (nodim(var_1) > nodim(var_2) * nodim(kyf_1)
    "then try seperating the if else statements into different cells" : for example try adding a formula for
    each item in your formula (one for buchungsperiode, one for buchungsperiode ein gabe etc. I mean you can find the formula vaiable or key figure that causes 'X' in the results by seperating the formula into the items of the formula.
    Regards
    Yasemin...

  • Use of hierarchy with cell definition

    Hi all,
    I have an issue with a query that is using cell definition in order to have different selection criteria in 2 columns.
    In the cell definition, it has being defined a new selection using a hierarchy ( 0costcenter hierarchy) to filter and select the desired values, but the query result is not taking into consideration the filter with the hierarchy.
    I have tested the same selection out of the cell definition and the right values are selected...
    Is there any constrain in the use of hierarchies to filter values within the "cell definition"?
    Many thanks in advance,
    Elena

    Hi Elena,
    I too face the same problem for cell definition with hierarchy.
    As per my knowledge cell definitions are purely valid for that cell only (like MS Excel formula in a cell).
    So cell definitions are possible with static reports only (with out hierarchy drill downs).
    If you got any solution please let me know.
    Thanks = Reward Points
    Ram
    Message was edited by:
            Ram Yaganti

  • Exception Aggregation & Cell Definition

    Hi All,
    Can someone please explain me what are Exception Aggregation and Cell Definition with some real time examples?
    Many thanx in advance...
    Best Regards,
    Nene.
    Message was edited by: Nene BW

    Hi Nene,
    Check out the below links
    Exception Aggregation
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/e0173f5ff48443e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8e/08ab3d81534c64e10000000a114084/frameset.htm
    hope it helps
    Regards
    Sajeed

  • Cell definition choice in Query Designer is inactive

    In the Query Designer the choice "Define cells" is inactive, or grayed out. Why is this? Is there a global setting or does it have something to do with the query itself?

    Hi TMV,
    if you want to see the "cell " option in active mode , first u must have two structures.
    one is charactersitc structure and on key figure.
    Just go throw the below description.
    Hi,
    just go throw the below description:
    In the Query Designer, choose View ® Cells from the menu bar to reach the functions of the cell definition. The Cells screen area is displayed.
    New selection
    1. Select a cell in the Cell screen area and choose New Selection with the secondary mouse button. The new selection that is not yet defined appears in the cell.
    2. Select the new selection and choose Edit from the context menu. The Change Selection Cells dialog box appears. Make the basic settings on the General tab page.
    3. Use Drag&Drop to define your required selection by dragging a key figure and the characteristic values by which you want to restrict the key figure to the right-hand area of the Details of the Selection dialog box. See Defining Selections.
    You can use characteristic value variables instead of fixed characteristic values.
    - If you want to change an existing variable, select the variable and choose Edit from the context menu. The variables editor appears and you can change the settings.
    - If you want to define a new variable, select the characteristic value and choose New Variable from the context menu. The new variable is displayed. Choose Edit from the context menu of the new variable. The variables editor appears and you can define the settings.
    For more information, see Defining Variables.
    4. Enter a description for the selection.
    You can use text variables in the description.
    5. Make any necessary settings for the properties of the selection on the other tab pages. See Selection/Formula Properties.
    6. Choose OK. The cell contains the description of the selection. The symbol shows you that a selection exists for this exception cell.
    New formula
    1. Select a cell in the Cell Definition dialog box and, using the secondary mouse button, choose New Formula from the context menu. The new formula that is not yet defined appears in the cell.
    2. Select the new formula and choose Edit from the context menu. The Change Formula Cell dialog box appears. Make the basic settings on the General tab page.
    3. Define your formula using the operands and functions available. See Defining Formulas.
    4. Enter a description of the formula.
    You can use text variables in the description.
    5. Make any necessary settings for the properties of the formula in the other tab pages. See Selection/Formula Properties.
    6. Choose OK. The cell contains the description of the formula. The symbol shows you that a formula exists for this exception cell.
    New cell reference
    You can use any cell that you define in a formula. If you want to reuse the value from the implicit, generic cell definition that is automatically created at the intersection of the two structural components of a query, select this cell in the Cell screen area and, using the secondary mouse button, choose New Cell Reference. A description taken from the two structural components now automatically appears in the cell. The symbol shows you that a cell reference exists for this exception cell. Now you can reference this cell. You can continue to use the implicit cell definition and do not have to manually generate this value using a new selection.
    Functions of explicitly defined cells:
    Select a defined cell and choose the required function from the context menu (secondary mouse button).
    &#9679; Edit
    &#9679; Cut
    &#9679; Copy
    &#9679; Paste
    &#9679; Remove
    &#9679; Where-Used List
    Before you delete a cell, you can check for the formulas in which the defined cell is used in the where-used list.
    You reach the properties of a defined cell by selecting the defined cell. In the Properties screen area you can also make changes such as:
    &#9679; Changing the description of the cell
    &#9679; Changing the highlighting of the cell
    &#9679; Hiding the cell ( if you do not want to see the values of the cell)
    Help cells
    In the Help Cells area you can define additional cells for help selections or help formulas. You can use the functions New Selection and New Formula in the context menu to define help cells that are not displayed in the query to serve only as objects for help selections and help formulas.
    For example, you can define an invoice in a help cell and use this in a “real” cell to calculate a duplicated invoice.
    a. Using the secondary mouse button, click on the empty cell next to Help Cells to reach the context menu. From here, choose New Selection.
    b. Use Drag&Drop to drag the Invoice key figure into the right-hand Details of the Selection area.
    c. Enter a description.
    d. Choose OK. The cell contains the description of the selection. The symbol shows you that a selection exists for this exception cell.
    e. Now choose New Formula from the context menu of the required cell of the query. The new formula that is not yet defined appears in the cell.
    f. Select the new formula and choose Edit from the context menu.
    g. Use Drag&Drop to drag the cell you have just defined, which you can find in the Available Operands window under Cells, into the Detail View window. Click on the button twice.
    h. Enter a description.
    i. Choose OK. The cell contains the description of the formula. The symbol shows you that a formula exists for this exception cell.
    Result
    You have defined one or more exception cells for a query.
    Regards,
    Shailaja

  • Problem entering formula for Cell Reference in Query

    Hi,
    In a query, I need to enter a formula in a cell reference
    1.
    Following instructions on Help.sap, I was supposed to “…In Query Designer, choose View  ® Cells from the menu bar to reach the functions of the cell definition …”
    I could not see these options, BUT, I saw an icon called Cell Reference.
    Is that the way? Why this difference with the instruction?
    2.
    While following cell reference icon, I saw my rows and columns and I wanted to put a formula at the intersection of the row, Product A and the column, YTD Adjusted Amount.
    The formula is as follows:
    (‘reference_cell_30’ > 0 ) *  ‘reference_cell_30’
    When I entered  (   .i.e. the parenthesis in the formula box it was ok but it won’t allow me to enter the rest of the formula.
    What could be wrong?
    What is the best approach to make the entries?
    Also, in this IDES test case, is reference_cell_30 referring to a cell as in MS Excel cells?
    Thanks in advance

    HI Amanda,
    No we can't treat Rows as one structure and columns as second structure....can u send screen shot of u r Query designer  [email protected]..will get back to u how a structure looks like...
    unless and ubtil u have structures in u r Query,cell definition cant be enabled...
    regards

  • Formula Logic for Dates in the Cell Editor in Query Designer

    Hi All
    We are on BI7. (This is in the Cell Editor in Query Designer)
    I am trying to create a formula in one cell that enters a date based on the following logic (Lets call this formula A):
    I also have a placeholder "Cell reference" for a Date in another cell in the Cell Editor (Lets call it B).
    I also have two other dates in seperate cells in the Editor (Lets call them C and D)
    What i need to do is check that either C or D are not blank i.e one at least has a date and if so enter the date that is in B in A.
    My formula logic in (Cell A) at the moment is as follows:
    ( Cell C <> 0 ) OR ( Cell D <> 0) * Cell B
    When I run the query It is coming back with either a 1 or  0 depending if there is a date in C or D.
    What I want it to do is to display the actual date of  'Cell B'  in 'Cell A' if  ( Cell C <> 0 ) OR ( Cell D <> 0)
    If the value of B is blank ie no date I also want A to be blank i.e not equal zero or a blank date ie 00/00/0000
    Example 1
    Cell A    08/09/2009
    Cell B    08/09/2009
    Cell C   15/03/2010
    Cell D
    Cell A should = 08/09/2009 as there is a Date in Cell C or D and if so enter the date of Cell B in cell A
    Example 2
    Cell A   
    Cell B    08/09/2009
    Cell C  
    Cell D
    Cell A should = BLANK as there is a NO Date in Cell C or D
    Example 3
    Cell A   
    Cell B  
    Cell C   15/03/2010
    Cell D
    Cell A should = BLANK as there is a No Date in Cell B although a Date in cell C or D.
    Thank you for assistance in advance
    Kind regards
    Stevo

    Hi there,
    It seems you have done almost everything...
    What it seems that is missing is probably the cell reference for Cell C and for Cell D, or did you forget to mention it here?
    So here it is the big idea:
    - In the Cell Editor of the query designer, create a new cell reference for Cell C, let's name it ref_cell_c;
    - In the Cell Editor of the query designer, create a new cell reference for Cell D, let's name it ref_cell_d;
    - In the Cell Editor of the query designer, create a new cell reference for Cell B, let's name it ref_cell_b;
    - In the Cell Editor of the query designer, create a new formula for Cell A, let's name it form_cell_a;
    The form_cell_a should be created by the following:
    ( COUNT(ref_cell_c) + COUNT(ref_cell_d) ) * ref_cell_b
    So COUNT(operand) returns 1 if operand is different of 0 else it returns 0; So if ref_cell_c has any valu or ref_cell_d has any value it should return the value of ref_cell_b.
    Please note that with this formula, if you have values in both ref_cell_c and ref_cell_d this formula returns 2 * ref_cell_b, which is not what you pretend, I'm assuming you'll have value only for the following combinations:
    ref_cell_c has value but ref_cell_d don't have any
    ref_cell_c don't have any value but ref_cell_d has a value
    ref_cell_c don't have any value neighther has ref_cell_d any
    Diogo.

  • Cell Definition in the query

    Hi Experts,
    Iam new cell definitions in the query. can anyone please explain an easy example scenario using cell definition and the reason why we go for it eventhough we can do all the filters in the query definition windows as well.
    Thanks,
    DV

    Before you create cell, you need to have two structures only then the cell icon will be enabled.
    The value of the cell is dynamically getting calculated using formula, example,.. in your struct:
    KF
    PLANT1-----10
    PLANT2-----20
    But you wanted to get plant1 divided by Plant 2 and vise versa for the other plant, you can achieve this only by using cell.
    After creating the two structures, then the cell icon will be enabled once you double click that, that is the time you can do all the manipulation for the cell.
    hope that helps.
    Thanks.
    Wond

  • Cell definition in BEx query processed in WEBI?

    Hello,
    We have defined cell definition in Business Explorer query. This query is processed by WEBI. My Querstion is: Does WEBI consider the cell definition from BEx Query?
    Thx for answer.

    Problem solved

  • Is there any posibility to restrict a new selection in cell with new formul

    Hi,
    I have developed a report where it need some Cell references.
    I have Net sales, Inventories, Receivables(These are RKF's) from these i have created New formulaes ad inventory days and receivable days
    inventory days= (inventories/netsales)*90.
    Receivables days= (receivables/netsales)*90.
    I have used this in cell reference.
    But the thing is now we need to find out
    inventory days Basic Chemicals
    PVOH/Emulsions
    Chemicals Segment
    Acetate
    Ticona
    Nutrinova
    AT Plastics
    Other
    and so on only for inventory days.
    now what i need to do is i have to create an RKF and need to restrict that with the Inventory Days, but here the inventory Days is a formula. bcos of which i am unable to do.
    so what to do.
    Is there any posibility to restrict a new selection in cell reference with a new formula
    pls tell me soon

    Hi Ajay,
    You can use the Cell Editor to define this. You have to create a structure of KFs and Formulas.
    Hope this helps.
    Kumar

  • Cell Editor in query desinging with hierarchy in row

    Hi,
    Is it possible to use cell editior with hierarchy in row? I am able to use it with structure in column.
    Pl advise
    Best Regards,
    UR

    Hi,
    you need to have a structure in the rows and in columns.

Maybe you are looking for

  • Apple Remote on iPad 2 with Apple TV 1st Gen

    I cannot get the remote app to work with my 1st Gen Apple TV with my iPad 2? Can anyone help? (works find using my iPhone 4)

  • Is there a way to identify safe vs. malicious files on computer that was hacked?

    Our MacBook (OS X ver. 10.8.5) was monitored remotely without our knowledge for over a year. Actually, we had found things that were suspicious but we listened to various experts who told us not to worry. We found several pages of commands in the Ter

  • Can I install windows on my early 2008 iMac?

    I really want to get a software called Training Peaks running on my early 2008 iMac, but it appears that I can no longer get a version of Windows which is compatible. Is this correct? Is there a way around the problem?

  • How to see all photos as thumbnails

    How do I view my photos as thumbnails in Preview or anywhere else, at the moment I can see some as thumbnails but most as JPEG generic icons. thanks, Michael (10.3.9)

  • Some general questions about java

    Hi, I am a beginner with java and actually i am new to programming as such. i want to ask certain questions. I read in The Java Tutorial that java is both a 'compiled' and an 'interpreted' language while most languages fall in either one of the two c