BEx Query- Making into Zero value in the blank row/column

Hi All,
I am running a query on multiprovider, say I have three characteristics (sales org, distribution, customer) & key figure (amount) in the layout. I am lookling the actual & plan data in the report.  If there is no plan data for the above combination of characteristics, in the report i am getting blank, instead of blank i want $0.00, how to do this?
Regards,
Anand

Hi ,
Could you please let me know how can we fix this issue.  I tried to create a new formula as KF+0 but it did not work.
Hi ,
This issue is in a Bex Query . We are looking for options on how to display blanks as zeros for keyfigures.In the below screen shot highlighted in red there is no data for march 2015 so it needs to display as zero and the overall result should be Zero.
Issue : Overall Result for Cumulative Quantity FTE should pick up the last value which is Mar 2015 instead its displaying 2 as there is no data for Mar 2015.
Thanks,
Bharathi.

Similar Messages

  • XCelsius list view selection does not show values of the last row/column

    Hallo,
    I have a list view selction in EXcelsius 2008 and there it shows the whole data as it sould and the correct line is marked as selected. When I embedd the swf-File in Crystal Reports 2008 the values of the last column and the last row are empty and the wrong line is marked as selected. What to do?
    Thanks in advance for your help.
    kind regards
    Monika Anna

    .. okay, the area definition in the data manager was incorrect. Now it works ....

  • Zero values in the database

    Dear BPC Experts,
    I am getting incorrect results when running SPRUNCONSO.  It seems that the error is due to zero values that are in the database.  Would you know how i am getting zero values in the FACT tables?  What should i do to prevent this situation in the future?
    Best regards,
    Grace

    Hi!
    Thanks for your comments/inputs.  I am getting wrong amounts in the calculation of minority interest expense, equity in net earnings and investments.  However, only a few entities are affected. 
    Minority interest expense = PMIN * Net Profit  >>> Using the data in BPC, i dont get the correct results for some entities. 
    System was calculation correctly in the previous month.
    Any idea what is causing this wrong calculation?
    Thanks and regards,
    grace

  • In BI Bex Query Designer output, dont want to have unit at column Heading..

    Hi
    I have a BI Bex Query Designer report showing output with Qty unit at Column Heading level. Even in KF's Text i didn't mention unit. I want unit to appear to column fields instead of column heading. Pls let me know how to do that.
    One more thing is: i have 2 reports exactly same except due date range is different. first report showing unit for each KF at the column heading level and for 2nd report showing column fields level... Surprising. Pls let me know what is the reason and how to control it.
    Thanks...

    Hi Harpal,
    Key figures can have scaling factors and units/currencies. Normally, units/currencies are displayed for every key figure, but not the scaling factors. If you activate the Display Scaling Factors for Key Figures, an additional header row is added to the row or column header. Information about the scaling factor and currency/unit appears in this additional header row, as long as it is consistent (for example, 1,000 EURO).
    For more information, You can go through
    http://help.sap.com/saphelp_nw04/helpdata/en/e0/52029f961aa84d869b9b20fa7f7646/frameset.htm
    Hope it helps & resolves your issue.
    Regards,
    Pavan

  • Change field value in a table, based on another field value in the same row (for each added row)

    Please Help, I want to change field value in a table, based on another field value in the same row (for each added row)
    I am using this code :
    <HTML>
    <HEAD>
    <SCRIPT>
    function addRow(tableID) {
    var table = document.getElementById(tableID);
    var rowCount = table.rows.length;
    var row = table.insertRow(rowCount);
    var colCount = table.rows[0].cells.length;
    for(var i=0; i<colCount; i++ ) {
    var newcell = row.insertCell(i);
    newcell.innerHTML = table.rows[1].cells[i].innerHTML;
    switch(newcell.childNodes[0].type) {
    case "text":
    newcell.childNodes[0].value = "";
    break;
    case "checkbox":
    newcell.childNodes[0].checked = false;
    break;
    case "select-one":
    newcell.childNodes[0].selectedIndex = 0;
    break;}}}
    function deleteRow(tableID) {
    try {var table = document.getElementById(tableID);
    var rowCount = table.rows.length;
    for(var i=0; i<rowCount; i++) {
    var row = table.rows[i];
    var chkbox = row.cells[0].childNodes[0];
    if(null != chkbox && true == chkbox.checked) {
    if(rowCount <= 2) {
    alert("Cannot delete all the rows.");
    break;}
    table.deleteRow(i);
    rowCount--;
    i--;}}}catch(e) {alert(e);}}
    </SCRIPT>
    </HEAD>
    <BODY>
    <INPUT type="button" value="Add Row" onClick="addRow('dataTable')" />
    <INPUT type="button" value="Delete Row" onClick="deleteRow('dataTable')" />
    <TABLE id="dataTable" width="350px" border="1">
    <TR>
    <TD width="32"></TD>
    <TD width="119" align="center"><strong>Activity</strong></TD>
    <TD width="177" align="center"><strong>Cost</strong></TD>
    </TR>
    <TR>
    <TD><INPUT type="checkbox" name="chk"/></TD>
    <TD>
    <select name="s1" id="s1">
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    </select>
    </TD>
    <TD><input type="text" name="txt1" id="txt1"></TD>
    </TR>
    </TABLE>
    </BODY>
    </HTML>

    Hi,
    Let me make sure u r working with table control.
    First u have to create a event(VALIDATE) to do the validation.
    Inside the event,
    1. First get the current index where user has pointed the curson
    2. Once u get the index read the internal table with index value.
    3. Now u can compare the col1 and col2 values and populate the error message.
    1. DATA : lo_elt TYPE REF TO if_wd_context_element,
                   l_index type i.
    lo_elt = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
         CALL METHOD LO_ELT->GET_INDEX( RECEIVING  MY_INDEX = l_index.
    above code should be written inside the event.
    Thanks,

  • JTable cell Render on the last row column one help please

    Hi All
    I am hoping that someone will be able to help me with this....
    I want to render the last row and column one of the table with this render
    thanks for any help
    Craig
        public class MyRenderer2 extends DefaultTableCellRenderer {
            public Component getTableCellRendererComponent(JTable table,
                    Object value,
                    boolean isSelected, boolean hasFocus,
                    int row, int column) {
                ImageIcon icon = new ImageIcon(image_pics.SMALL_BLUE);
                setIcon(icon);
                return this;
        }

    it still renders every row
    any Ideas ??
    I just want the last row column 0 to be rendered
    I a call a method set table
    then I call for the data
    //TableModel
        public void setClientTableModel() {
            clientModel = new DefaultTableModel(coloumHeaderObject, 0) {
                public boolean isCellEditable(int row, int column) {
                    return false;
            TableSorter sorter = new TableSorter(clientModel); //ADDED THIS
            sorter.setTableHeader(phoneList.getTableHeader()); //ADDED THIS
            phoneList.setModel(sorter);
           // phoneList.setTableHeader(null);
            setTable();
            revalidate();
        public void setTable() {
          // phoneList.getColumnModel().getColumn(0).setCellRenderer(new MyRenderer());
            phoneList.getColumnModel().getColumn(1).setCellRenderer(new MyRenderer1());
            phoneList.getColumnModel().getColumn(4).setCellRenderer(new MyRenderer2());
            phoneList.getColumnModel().getColumn(0).setMinWidth(20);
            phoneList.getColumnModel().getColumn(0).setMaxWidth(20);
            phoneList.getColumnModel().getColumn(0).setPreferredWidth(20);
            phoneList.getColumnModel().getColumn(1).setMinWidth(20);
            phoneList.getColumnModel().getColumn(1).setMaxWidth(20);
            phoneList.getColumnModel().getColumn(1).setPreferredWidth(20);
            phoneList.getColumnModel().getColumn(2).setMinWidth(80);
            phoneList.getColumnModel().getColumn(2).setMaxWidth(80);
            phoneList.getColumnModel().getColumn(2).setPreferredWidth(80);
            phoneList.getColumnModel().getColumn(3).setMinWidth(150);
            phoneList.getColumnModel().getColumn(3).setMaxWidth(150);
            phoneList.getColumnModel().getColumn(3).setPreferredWidth(150);
            phoneList.getColumnModel().getColumn(4).setMinWidth(20);
            phoneList.getColumnModel().getColumn(4).setMaxWidth(20);
            phoneList.getColumnModel().getColumn(4).setPreferredWidth(20);
            phoneList.setOpaque(false);
            phoneList.setGridColor(Color.lightGray);
            phoneList.setRowHeight(18);
            phoneList.setShowVerticalLines(false);
            phoneList.setIntercellSpacing(new Dimension(0, 0));
            phoneList.setFont(new java.awt.Font("Lucida Grande", 0, 11));
            phoneList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            if (ALLOW_COLUMN_SELECTION) { // false by default
                if (ALLOW_ROW_SELECTION) {
                    phoneList.setCellSelectionEnabled(true);
                phoneList.setColumnSelectionAllowed(true);
                ListSelectionModel colSM = phoneList.getColumnModel().getSelectionModel();
                colSM.addListSelectionListener(new ListSelectionListener() {
                    public void valueChanged(ListSelectionEvent e) {
                        if (e.getValueIsAdjusting())return;
                        ListSelectionModel lsm = (ListSelectionModel) e.getSource();
                        int row = phoneList.getSelectedRow(), col = 3;
                        int rowID = phoneList.getSelectedRow(), colID = 5;
                        if (lsm.isSelectionEmpty()) {
                        } else {
                            int selectedCol = lsm.getMinSelectionIndex();
                            if (selectedCol == 4) {
                                phoneNumber = (String) phoneList.getValueAt(row, col).toString();
                                main.setPhoneNumber(phoneNumber);
                                main.openLargePhone();
                                lsm.clearSelection();
                            if (selectedCol == 5) {
                                ID = (String) phoneList.getValueAt(row, col).toString();
                             //   main.setID(ID);
                              //  main.deleteContact();
                                lsm.clearSelection();
    //set table data
        public void setTest() {
            setClientTableModel();
            Object[] data = {" ", " ", "Work", "03 9841-8247", " "};
            clientModel.addRow(data);
            Object[] data1 = {" ", " ", "Fax", "03 9842-0360", " "};
            clientModel.addRow(data1);
            phoneList.getColumnModel().getColumn(0).setCellRenderer(new MyRenderer());
        }

  • I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    click and hold on one cell, then drag to select the range, then release, then type the delete key.  Only inlude cells in the range you do not want to keey the contents of the cell.  You can remove one-off cells by holding the command key and clicking cells to add or remove as needed.
    You can download the Numbers users guide here:
    http://support.apple.com/manuals/#productivitysoftware

  • Crystal didn't show the BEx query Attributes description changes/Values

    We experiencing the BEx query attributes/crystal report  issue.
    I create a crystal report using BW- BEx query. Bex query displays the attributes values. But in crystal report side it didn;t show up the values as well as description changes.
    But If I change the display properties of attributes (different from one attribute to another) the crystal report reflect the values. But crystal report didn't show the Attribute description changes , the one i did it in BEx query side.
    Example:
                         Bex has a Masterdata as well as attribute Field1, Field2 etc.. I changed the description like Field_Test1 and Field_Test2. Also I changed the display property for Field_Test1 is Key and text and long , Field_Test2 is Text & LOng text.
    I  got the attribute values is crystal report Xi R2. But crystal didn't reflect the description changes?
    Suggestions Please?

    Post your question to the Business Object Integration Kits forum

  • Keyfigure has value in BEx query, but shows zero/0 in Webi

    Hi community,
    I have the following issue with a Bex query with 2 structures:
    in Bex, the budget column shows figures right. but in Webi, it shows zero for certain profit KPIs (calc. keyfigures, CKFs).
    only for these KPI cells, it is not a general issue with that budget column!
    in the Bex cell editor, I have created cell references for these profit KPI cells, but that should not be relevant.
    As SAP cannot connect to our BO Webi via OSS properly, I would like to address you.
    anyone had a similar situation or solution?
    every hint is appreciated! Many thanks and
    best,
    Phil

    Hi Ingo
    I am also currently meeting such a problem.
    I have Cubic Meter stored in my cube and my BEx query. Also, in my BEx query, I have a unit conversion to convert Cubic Meter to Cubic Feet.
    In WebI, when I pull out both Cubic Meter and Cubic Feet, Cubic meter returns me 0, while cubic feet returns me a figure.
    Below are the settings of the BW & BOBJ system:
    SAP BW SP6
    BOBJ SP2 FP2.3
    Hope to hear from you soon.
    Thanks!

  • Dates in BEx query coming into designer as a dimension with Char data type

    This must be an old issue with a well documented work around ...   but alas i can find it !
    When i build a universe over a BEx query with dates the universe designer builds them as Dimensions of CHAR type not DATE.  Therefore all WebI date functionality fails ..  eg sorting, automatic time hierarchies etc.
    What is the workaround ?
    Andrew Fox

    Is the data source an InfoSet or an InfoCube?  It appears the date type object has not been implemented yet for Infosets.  Here's SAP Note 1370410:
    Symptom
    Infoset date type objects (DATS type) are mapped as Character types in a universe based on a SAP BEX Query.
    Prompts related to the Date field variables are coming as List of values instead of Calendar in WebIntelligence.
    Reproducing the Issue
    Create a BusinessOjects universe on a Super Query which is based on a multiprovider containing an Infoset or
    Create a BEx superquery directly on Infoset.
    BusinessObjects Enterprise XI 3.1
    SAP Integrated Solutions Kit XI 3.1
    Cause
    This behaviour has been considered as an enhancement request and tracked under ADAPT01229917.
    Resolution
    This enhancement request is scheduled to be addressed in Service Pack 3 (SP3) for BusinessObjects Enterprise XI 3.1 due approximately April 2010.
    I did try a BEx query that uses an InfoCUBE as a source and the objects are coming into the universe correctly as dates.

  • Non zero values in the extraction of the planning area

    In our DP implementation we have been trying to extract 2 key figures  from the planning area, one of the key figures might have zero values, when we set the indicator for the non zero values then it only eliminates the records for which both the key figure are zero but that is not what I want. I am trying to have a setting in the data source where we can reject the records even if one of the key figure has zero values.
    Are there any settings for that while we are generating the data source.
    Thanks in advance

    Hi Colin,
    This can be easily solved using a slightly different ABAP routine. You can assign the fields that you need to check into other field symbols and then check the value of those field symbols.
    Here's one possible solution. I based in from the ABAP code you posted.
    field-symbols: <LS_EXTR_BLOCK> TYPE any,
                         <ls_fcst> type any,
                         <ls_hist> type any.
    data: w_pos type sy-tabix.
    loop at ct_data assigning <LS_EXTR_BLOCK>.
    w_pos = sy-tabix.
    assign component '/BI0/9AVCORFCST'
       of STRUCTURE <LS_EXTR_BLOCK> to <ls_fcst>.
    assign component '/BI0/9AVCORHIST'
       of STRUCTURE <LS_EXTR_BLOCK> to <ls_hist>.
    if <ls_fcst> = 0 and <ls_hist> = 0.
      delete ct_data index w_pos.
    endif.
    endloop.
    Aside from the solution above, you can also define the structure of CT_DATA (that's basically the structure of the extract structure of your datasource). You can then assign the contents of CT_DATA to a field-symbol and the delete data using that field symbol.
    Here's an example:
    TYPES:
    TY_DATA_TABLE type table of *PUT THE NAME OF YOUR EXTRACT STRUCTURE HERE*.
    field-symbols:
    <FS_DATA_TABLE> type TY_DATA_TABLE.
    DELETE <FS_DATA_TABLE> WHERE /bi0/9avcorfcst = 0
    and /bi0/9avcorhist = 0.
    You can check the name of the extract structure by viewing table /SAPAPO/TSAREAEX field EXPORT_STRU. You can also see the name of the extract structure in debug mode by looking at the value of the parameter IV_DDIC_REFERENCE.
    Hope this helps

  • FI-SD data-BEx Query Logic for Amount received for the Lasts F.Year Sales

    Hi Friends,
    Need your assistance in designing one BEx Query,
    We have Two cubes...one is sales ZSALES01 and Account Receivables ZFIAR01. On top of these cubes e built Multiprovider.
    In the sales cube (ZSALES01)., we have calender day, Financial year , Fiscal period characteristics as time characteristics and Net Values as key figures. And Same way in the Account recievable cube (ZFIAR01) we have calender day( Which is mapped with Posting date), Financial year , Fiscal period characteristics as time characteristics and Credit/Debit amount as key figure.
    My requiremnt is that i have to show in BEx with below scenarios.......
    1.Amount received for the sales occured till Last Financial year
    2. Amount Received for the sales occured in this current financial year
    We have two show these values for company code wise , we have company code in both cubes nad we  have financial year...and some other common fields there in both cubes.
    Can you please guide me how to design the same in BE query.
    Thanks & Regards,
    Anand

    are you saying that in your query you need to have 4 columns;
    - Sales Last Year
    - Sales Current Year
    - AR for Sales (LY+CY)
    - AR for Sales Current Year
    If yes, getting Sales Information is easy. You need to use customer exit variable to get the current year (calendar or fiscal)
    - for Sales Last Year, use customer exit variable for current year with a offset of -1
    - for Saels Current Year, use customer exit variable for current year
    For AR columns, as I said in my earlier post - use a lookup while loading data in AR cube. Use the Sales Doc Number and get the year information (calendar, financial or fiscal - whatever you want to use depending on your requirement) from Sales flow. This way you can tell if a particular FI doucment is for this year's sales or last year's sales.
    Now, you can use another customer exit variable for AR column depending on the "Sales Year" infoboject. Customer exit variable shold be populated with the current Sales Year.
    - for AR for Sales CY, use this customer exit variable
    - for AR for Sales LY, use this customer exit variable with offset of -1
    - AR for Saels (LY+CY), add both the columns above
    Another way of achieving AR for Sales (LY+CY) is to restrict the RKF or value range using customer exit variable for Sales year with BETWEEN operator (From var1 to (var1-1)).
    You can also use the option of replacment path variable as Durgesh mentioned. but in that case you will have to create two addition queries based on sales data which will return:
    - sales documents for last year
    - sales documents for current year
    then you need to create two replacement path variables for AR columns which will get values from these two queries.
    I hope it helps.
    Regards,
    Gaurav

  • BEx QUERY - pre filter characteristic values (material group)

    hi gurus
    i have a bex query where the user is asked to enter a material group value, this query is for planning some kind of material groups, so i need to show in the match code for material group (variable screen) just the material groups related to this query.
    For example, material group 0matl_group in rsdmd looks like this:
    M1
    M2
    M3
    M4
    M5
    M6
    M100
    I just wanna show in variable screen the first five material groups so the user can select one of them, i dont wanna show all the 100 material groups
    regards
    joker

    Hi ,
    I am not sure but You can try writing a customer exit code .
    create a interval variable of type customer exit .
    In the customer exit code write the code :
    In I_step = 1
    read the material group master data table in your case or the source from which you get the material group .
    write a code to read the first five records .
    In the low value read the first record.
    and in high value read the fifth record .
    your user should get only the first five materials to input in this case .

  • Adding New Fields to a BEx Query does not show up in the CR field explorer

    This could be a silly question.
    I have a CR report based on a BEx query.  I had to add a couple of new fields to the BEx query, and when i want to add those fields to the CR report, I don't see them even after I do a refresh in the field explorer. 
    How do i see this new fields in the CR report?
    Help Please
    Thanks

    Hi,
    you can open the report and go to the menu Database > Verify Database.
    that should add the new fields to the list of fields in CR
    Ingo

  • Need to eliminate the Zero values in the marker text in Bar chart

    Hi all,
    I have a requrement where i have to show the values in the BAR chart . so i have used the following syntax,
    <MarkerText visible="true" markerTextPlace="MTP_TOP"/>
    but the condition is i have to eliminate the zero value. i.e when the value is zero it should not be shown.
    Kindly pelase help me to solve this.
    Many thanks in advance,
    Regards,
    Dhaya.

    Hi all,
    I found the solution .
    below is wat i did.
    i have created a variable and inside the group, i ahev assigned and i will check for the conidion whether it is zero or not. if it is Zero then i will display null .
    <RowData>
    <xsl:for-each-group select=".//SALARY_SCALE" group-by="SALGRADE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:sort select="SALGRADE"/>
    <xsl:variable name="Fcnt" > <xsl:value-of select="sum(current-group()[GENDER='Female']/COUNT) div $total * 100 "/> </xsl:variable>
    <Cell><xsl:value-of select="xdoxslt:ifelse($Fcnt=0,'',$Fcnt)"/></Cell>
    </xsl:for-each-group>
    </RowData>
    Regards,
    Dhaya.

Maybe you are looking for

  • Firefox 31 hangs on startup with no error messages

    Simply put, Firefox hangs right on startup. I see it loading the two generic tabs and then the wheel spins and then it says 'Not Responding' on the top of the window. I have to force close it each and every time, and I've also tried the following sol

  • To obtain the value of a session variable in a JAVA class

    Hello again. I have a JSP page, in witch I kept a session variable with a value, and later (in the same JSP page) I use a JAVA class to obtain the value stored in this session variable (I make this to verify that this works well and that this is poss

  • InDesign/InCopy CS5.5 or wait for CS6

    We are currently an InDesign/InCopy workflow for our City quarterly magazine.  I have InDesign on the Mac and there are 7 InCopy stations on PC's. I currently have CS5 for InDesign but have not upgraded the InCopy users yet so for the publication we

  • Flash Lite 2.0 Content in Flash Player not loading PNGs

    Hi, I have a Flash Lite 2.0 Application, that I'm running on a Phone. I'm loading local PNG files, which works on the phone and in the emulator. The problem is as soon as I run the SWF from Flash Player on my PC it's not working. It seems like it's n

  • Emca -config dbcontrol db  -repos create problem

    Hello, I have created database on Windows Server 2008, 11g R2 64 bit. Everything went good, but it didn't create the EM console. I drop the repository console and tried to create it again, but, I got this error: C:\Windows\system32>emca -config dbcon