I am experiencing a problem in SAP Business Objects "Analysis for Excel" and would appreciate some help resolving the issue.
I am using the application as an expert user and i am trying to create a new "value" by referring to existing values in an existing query, a simple A +/- B .... +/- D = X equation. The problem could surely be solved by modifying the query, or creating a new one, with my calculated X being presented by the query, but I am trying to save some time.
The root of the problem is that the cell which I want to make a reference to in my equation is "blank" (containing no value, but could possibly do so in the future so I have to create redundancy by adding it to my equation).
I dont want to create the reference to a cell in an active query on a worksheet, the query is dynamic and the cell i want to create the reference to could possibly change place/move the next time I execute the document (with different variables). Also when trying to create a reference to a cell in the active query Excel interprets the cell as being empty and therefore this creates an #Value!-error when trying to calculate my value.
I tried to solve this problem by using the =GetSapData(xxx) function. This solves my problem with the query being dynamic and creates a fixed value-reference to the business warehouse that I can create a reference to in my equation. The cell with the =GetSapData function still delivers an empty cell-result though, with the cell containing the function. Excel therefore (correctly) interprets the cell as not being empty, but rather containing the function.
This is relevant because this causes the standard (advanced) excel-option of "show empty cells as 0" to be non applicable. It does not work with the sheet containing the active-query because it is a standard function(?), and it can not be used on the worksheet containing =GetSapData-functions, because those cells are in fact not empty.
I have solved the problem using an IF-function in my equation:
When creating the reference to the empty cell I use;
=IF('CellReference'=""; 0; 'CellReference') which returns a 0 from the empty cell and solves the equation #Value!-error.
This is an extra step i would prefer to skip because it consumes time when creating many versions of my report for different business areas (and causes extra complexity).
So, the question: Is there a more simple way to make either the "blank" cells in a query AND/OR "blank" cells created by using the =GetSapData(XXX)-function return a 0-value so i can create a direct reference to them without returning #Value!-error when I am creating my equation and calculating my new value?