Dimension Values With Zero Results

Hi All,
We are integrating Endeca Search with a J2EE application . We need to display all the dimension values on the left hand side.
The dimension values are displaying based on results.
How to show all dimension values even if no results will be returned.

Create 2 queries one for getting results and for getting dimensions.
Check for number of records for first query .say (for N=1234 numofrecords returned are 0 )
So create a second query with N=0 and fetch only the dimension not the records. In this way you will have dimension values if 0 results are returned

Similar Messages

  • Tag Cloud to show search terms with zero results

    I have been following the blue print document that we have regarding our OEID system which is under development at present.
    We have a field called Search Terms which contains the text the user or the navigation has searched for. At present we have a tag cloud that shows the most popular. We also need to show the ones which are at the top of the "yeild zero results" list.
    Looking at the Tag Cloud component and after reading the documentation on the tag cloud, it would not seem possible to create an EQL query to do this. Therefore would I have to create a custom attribute when I'm parsing our raw data to do this, then be able to display the 30 or so most popular search terms that yeild zero results, or is there a better way of doing this?

    That issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • BEx Analyzer: Display values with Zero data

    Hi,
    I urgently need to know something about BEx QD/Analyzer:
    If I drilldown e.g. Customer into the rows, it only shows me those customers for which there are values in place. However, I need to see all Customers, i.e. also the ones where the values are zero.
    How can I do this in Bex Analyzer or if needed BEx QD.
    Thanks
    Sabine

    Thanks,
    but it won't be possible to create a multiprovider just for that.
    Maybe I wasn't clear enough
    If a have Customer A, Cust B and Cust C and I drilldown by customer in the rows, then the system only shows me Cust B and Cust C, because for a there has been e.g. no turnover in one specific month.
    But in the drilldown in the report, I still want to see Cust A as well, even though the value is zero. So I should just see an empty line (instead of the key figures for Cust A).
    Guys, that must be possible!! Help me
    Sabine

  • Positive Value with Zero Stock

    hi Experts
    I noticed while doing a stock audit report that I had a positive value of £35.00 for a item code where the stock level was zero.   How can I get the amount down to zero too?  Stock Revaluation won't work because there is no stock and any in/out stock transaction simply result in outstanding amount of £35.00. 
    We are using FIFO for value .   I would also be interested to know how I can query other items with this issue?
    thanks
    Geoff
    Edited by: Geoff Lord on Jul 8, 2011 5:26 PM

    Hi Goeff.......
    If the stock of the item is zero and still it shows the item cost then this means nothing.
    It does not affect anything in system.
    The moment you book GRN the purchase value will be overrite on it. It only shows for display as last price......
    You can try a purchase in demo DB and then run the Audit report you can find the difference.......
    Regards,
    Rahul

  • Padding a value with zeros

    Hi,
    I am trying to pad a field with leading zeros during mapping.  I am going from an IDOC to a flat file.  Is there a function in the message mapping of XI that will help me do this?
    For example: the value of "91423" is passed in to a field of length 10. i want the value to look like this on the flat file  "0000091423".
    Is this possible?
    Thanks,
    Nate

    Hi Nathan,
    yes this is possible:
    one way - create a user defined function
    with one input value (your field)
    and check it's length and add (10 - length) zeros
    second way - without user defined function
    and use length and concat functions (build into graphical mapping functions) and if statement
    if length  = 9 then string concat 0
    else if length = 8 then string concat 00 ...
    the first way it better but if you don't want to use java you can use the second one
    Regards,
    michal

  • Replace blank column values with ZERO

    Hi experts,
    I am building a report to display count of orders split by channel per day per hour.
    For some days one or few channels might not have any orders placed against them in which case my report shows blank values in the report.
    I would ideally like to have Zero in those columns rather than an empty cell.
    Sample Qry :-
    Select
    Channel,
    COUNT(order_num) as COUNT
    FROM
    SALES_ORDER
    Pls help !
    Thanks in advance.

    Try this code
    /* Formatted on 2009/05/11 07:53 (Formatter Plus v4.8.8) */
    SELECT   a.CLASS, a.order_date, a.time_created,
             NVL (a.count_orders, 0) AS count_orders
        FROM (SELECT   sales_order_header.soh_class AS CLASS,
                       TO_CHAR
                              (sales_order_header.soh_date_created,
                               'dd/mm/yyyy'
                              ) AS order_date,
                       SUBSTR
                          (TO_CHAR (sales_order_header.soh_time_created,
                                    'HH24:MI:SS'
                           1,
                           2
                          ) AS time_created,
                       COUNT (sales_order_header.soh_order_no) AS count_orders
                  FROM com.sales_order_header
                 WHERE sales_order_header.soh_date_created >=
                                             TRUNC (NEXT_DAY (SYSDATE, 'SUN'))
                                             - 14
                   AND sales_order_header.soh_date_created <
                                              TRUNC (NEXT_DAY (SYSDATE, 'SUN'))
                                              - 6
              GROUP BY sales_order_header.soh_class,
                       TO_CHAR (sales_order_header.soh_date_created, 'dd/mm/yyyy'),
                       SUBSTR (TO_CHAR (sales_order_header.soh_time_created,
                                        'HH24:MI:SS'
                               1,
                               2
              UNION ALL
              SELECT   sales_order_header.soh_own_id AS CLASS,
                       TO_CHAR
                              (sales_order_header.soh_date_created,
                               'dd/mm/yyyy'
                              ) AS order_date,
                       SUBSTR
                          (TO_CHAR (sales_order_header.soh_time_created,
                                    'HH24:MI:SS'
                           1,
                           2
                          ) AS time_created,
                       NVL
                          (COUNT (sales_order_header.soh_order_no),
                           0
                          ) AS count_orders
                  FROM com.sales_order_header
                 WHERE sales_order_header.soh_date_created >=
                                             TRUNC (NEXT_DAY (SYSDATE, 'SUN'))
                                             - 14
                   AND sales_order_header.soh_date_created <
                                              TRUNC (NEXT_DAY (SYSDATE, 'SUN'))
                                              - 6
              GROUP BY sales_order_header.soh_own_id,
                       TO_CHAR (sales_order_header.soh_date_created, 'dd/mm/yyyy'),
                       SUBSTR (TO_CHAR (sales_order_header.soh_time_created,
                                        'HH24:MI:SS'
                               1,
                               2
                              )) a
    ORDER BY a.order_date DESC, a.CLASS ASC

  • How to get Implicit Dimensions/Dimension Values in the result set?

    Hi All,
    How does endeca return implicitly selected dimensions in the result set? For example, consider a dimension set up for Television data as below.
    Brand
    Samsung
    LG
    Philips
    Type
    LEDs
    LCDs
    Plasma
    Lets say, I refine the result set by brand, by selecting Philips. Now lets assume that there were 2 results returned for philips and both the results were of Type - Plasma. In this case, Endeca does not return the Type dimension in the result set, as we cannot drill down the 2 results further based on LED or LCD.
    How does Endeca return these implicit dimensions in the result set in such scenarios? Suppose if there was a requirement to show to the user that both the results were of Type - Plasma, how do we get this information from Endeca, by default?
    Thanks in advance :)

    How does Endeca return these implicit dimensions in the result set in such scenarios?Check out: Navigation.getCompleteDimensions() or Navigation.getCompleteDimGroups()
    http://docs.oracle.com/cd/E28910_01/PresentationAPI.622/apidoc/javadoc/navigation/index.html

  • How do i show descriptions instead of dimension values at presentations ?

    We are facing a problem that could be a BIBeans problem or could be an OLAP problem, please inform if to change forum:
    We are using jdev 903/BIB903 accessing an AW created at Oracle OLAP 9205 with AWM.
    All our dimensions were created at OWB 10g and deployed to RDBMS following the general rules below:
    DIM X
    ID_X - sequence primary key
    CD_X - original key from source systems
    DS_X, NM_X, and so on - description fields and hierarchy fields related to this record.
    i.e.:
    SQL> desc dim_rota
    Name Null? Type
    ID_ROTA NOT NULL NUMBER(6)
    CD_EMPRESA NOT NULL NUMBER(2)
    CD_FILIAL NOT NULL NUMBER(2)
    CD_ROTA NOT NULL VARCHAR2(3)
    NM_FILIAL NOT NULL VARCHAR2(40)
    NM_ROTA NOT NULL VARCHAR2(30)
    CD_SETOR NOT NULL VARCHAR2(1)
    ID_SETOR NOT NULL NUMBER(6)
    NM_SETOR NOT NULL VARCHAR2(30)
    this dimension has 1 hierarchy with 2 levels called SETOR and ROTA.
    when we generated the AW using AWM, each field (except ID) is created as a variable dimensioned by DIM_ROTA, as shown below:
    ->listby dim_rota
    35 objects dimensioned by or related to DIM_ROTA in analytic workspace AW1
    DIM_ROTA_CD_EMPRESA
    DIM_ROTA_CD_FILIAL
    DIM_ROTA_CD_ROTA
    DIM_ROTA_CD_SETOR
    DIM_ROTA_CREATEDBY
    DIM_ROTA_FAMILYREL
    DIM_ROTA_GID
    DIM_ROTA_INHIER
    DIM_ROTA_LEVELCOLMAP
    DIM_ROTA_LEVELREL
    DIM_ROTA_NM_FILIAL
    DIM_ROTA_NM_ROTA
    DIM_ROTA_NM_SETOR
    DIM_ROTA_ORDER
    DIM_ROTA_PARENTREL
    ID field was concatenated with level name to generate the dimension value - so, for the following relational record:
    SQL> select id_rota, cd_rota, nm_rota from dim_rota where ID_ROTA = 233;
    ID_ROTA CD_ROTA NM_ROTA
    233 A99 A99-Consig. Sup. Setor A
    we have at multidimensional side:
    ->LIMIT DIM_ROTA TO 'ROTA.233'
    ->rpr dim_rota
    DIM_ROTA
    ROTA.233
    ->dsc dim_rota_nm_rota
    DEFINE DIM_ROTA_NM_ROTA VARIABLE TEXT <DIM_ROTA DIM_ROTA_HIERLIST ALL_LANGUAGES>
    LD IMPLEMENTATION NM_ROTA Attribute for DIM_ROTA Dimension
    ->rpr down dim_rota w 30 dim_rota_nm_rota
    ALL_LANGUAGES: AMERICAN_AMERICA
    -------DIM_ROTA_NM_ROTA-------
    ------DIM_ROTA_HIERLIST-------
    DIM_ROTA ROTA
    ROTA.233 A99-Consig. Sup. Setor A
    here comes our question: how do we show at BIBeans designer/presentations the related descriptive fields and NOT the dimension values themselves?
    thanks in advance,
    Flavio

    There a re two additional attributes that need to be mapped within OWB for each dimension:
    Long Description - this is used by the presentation beans and query and calc builder to replace the dimension values with more meaningful/end-user friendly descriptions
    Short Descriptions - this can be used where the long description is too long for display purposes. In BI Beans 10g Release 2 (due out soon) you will be able to select between long/short descriptions when using many of the new tags.
    These new attributes will be automatically picked up by the OLAP Bridge in OWB and automatically added to the OLAP catalog.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Best Practices - Dynamic Ranking, Dimension Values to Return, etc.

    The pinned post says non-technical questions belong on the Business Forum. I can't find an Endeca-specific business forum. If there is one, please tell me where to find it.
    My question is about dynamic ranking and the initial display of only the top N dimension values with a "More..." option to see the rest of them.
    What's the current wisdom on this from a usability point of view? Use it, don't use it? If using it, show how many values initially?
    Or, if not using it, you instead set up a hierarchy of dimensions so that the user never has to look at 50 choices for something?
    This is not a technical question. What is the current wisdom? What are the best practices?
    Thanks!

    Dynamic ranking is a good choice only if all choices cannot be further grouped. In my practice most of the content can be normalized and restricted to a very limited set of options. Dynamic ranking with "more" is an easy way out and seems like a lazy take on content management.

  • Consolidation deletes values with the Flow_Type property "OPENING"

    Hello all,
    We have set up journals to populate a DataSrc dimension value with the following properties:
    COPYOPENING - BLANK
    DATASRC_TYPE - M
    IS_CONSOL - BLANK
    IS_CONVERTED - BLANK
    In other words, we do not do not want values in this data source to be picked up or in any way manipulated when we execute Consolidation (Stored Prodcedures SPCOPYOPENING, SPRUNCONVERSION,SPRUNCONSO).
    However whenever we execute consolidation the system delete some values in the above mentioned datasrc. Open further investigation, it seems to only delete values where the flow dimension value has the FLOW_TYPE - OPENING.
    Have you by any chance encountered this issue? Or do you have any ideas why this could occur?
    Thank you & regards
    Raja

    When I look to the SAP BPC MS V7.0 starter kit, I find the following differences :
    - they use NETVAR to the Variation flow
    - they call the Flow_type for CTA "TRANSDIF"
    - there is no TRANSLOPE
    I hope it helps

  • TCode MIR7: Dump while deleting Parked Invoice with zero value

    Hi,
    We had parked an Invoice using TCode MIR7 with Zero Value with reference of a PO. Now as the value of invoice is zero, we want to delete it using MIR7.
    In MIR7, when we go to Invoice Document-->Delete, it results in dump. Dump is as follows:
    Error analysis
        Short text of error message:
        No document found
        Long text of error message:
        Technical information about the message:
        Message class....... "FI"
        Number.............. 124
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "SAPLFMPR" or "LFMPRU05"
        "FM_CO_DOCUMENT_DELETE"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which actions and input led to the error.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLFMPR" - in
         "FM_CO_DOCUMENT_DELETE".
        The main program was "SAPLMR1M ".
        In the source code you have the termination point in line 34
        of the (Include) program "LFMPRU05".
    Any help.
    Regards,
    CMC Team.

    Hi,
    Check following SAP notes:-
    1173846  (MM) Termination when deleting prepaid logistics invoices
    Reason and Prerequisites
    This problem is caused by a program error.
    1224772  (MM) Error message FI24 when deleting parked invoices
    Reason and Prerequisites
    This is due to a program error. The total amount of the parked invoice is '0'.
    Regards,
    Anand Raichura

  • Discoverer Plus - Creating URL's with Multiple Dimension values

    We are using the "Manage Links" feature in Discoverer Plus (10.1.2.2.0) to send dimension value names in a URL. As part of the "Manage Links" feature, the user is given the opportunity to choose which dimension values for the selected cells they want to include in the URL.
    We are attempting to create URL's to drill from Discoverer Plus to more detailed Oracle Reports, which will use the dimension values in sql statements . One problem we noticed is for each dimension we can not select multiple values to send in the URL.
    For example;
    I have a URL I want to append selected dimension values from Discoverer Plus.
    We have 2 dimensions each containing 5 dimension values. We use Discoverer Plus to filter down to 2 dimension values for each dimension to be included in our url.
    Time: Nov2007, Dec2007
    Division: USCCSLT, USCCLSY
    Measure: Flux
    URL:
    https://corpdev.ffmb.com:11228/reports/rwservlet?RPT_TEST_XLS=<TIME:VALUE>, <DIV:VALUE>
    When the link executed, the EXIT URL only contains the first dimension value for each dimension. I have included the exit URL below:
    Result:
    https://corpdev.ffmb.com:11228/reports/rwservlet?RPT_TEST_XLS=Nov2007,USCCSLT
    It should contain Nov2007, Dec2007, USCCSLT, USCCLSY.
    I've tried a variety to things in the Manage Links, but it always sends out just one dimension value.
    According to the choices given in "Manage Links", it is not supposed to work this way.
    I have a feeling I'm doing something wrong, because I don't see many posts here related to creating Discoverer Plus URL's.
    If anyone encountered this and came up with a solution, I'd be interested to read your comments.
    Thanks,
    Michael

    What version of Discoverer are you running? I'm assuming 10.1.2 but I would look at the 2 URL parameters
    pluspopup and framedisplaystyle
    From the Oracle Documentation:
    When using popup in conjunction with framedisplaystyle=, the possible combinations are:
    pluspopup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it.
    pluspopup=true and framedisplaystyle=separate opens a new pop-up browser window and launches Discoverer Plus in a new applet window.
    This combination launches three windows: the original browser window (i.e. Discoverer Connections page), the new browser window containing the Discoverer image, and the JFrame window containing the Discoverer Plus applet.
    pluspopup=false and framedisplaystyle=embedded launches Discoverer Plus in the current browser window.
    See if those help you out, if not let me know and we can dig into this further
    Matt Topper
    TUSC, The Oracle Experts
    [email protected]
    pluspopup=false and framedisplaystyle=separate launches Plus in a JFrame window. The current browser window contains the Discoverer image.

  • Items with  zero stock quantity show negative stock value in Stock reports

    When running Stock reports for controlling the stock value towards the GL accounts, some items appear with zero stock quantity, but the report still shows a stock value  (negative value in my case)
    How can this happen, and how can I correct this situation ?
    System parameters are :   negative stock is not allowed, Items with zero cost price not allowed. On item level average cost price method is used.
    P.K.Johnsen

    Hi Johnsen,
    I believe you have checked the" Manage Inventory by warehouse". I have noticed this issue in SAP B1 2005B but this is rectified in 2007B. The system behaves in this way as the system maintains item cost for the item for all warehouses and even if the stock is not present in the warehouse, the system would still show you a value for the same. Hope this helps. please search the forum. You'll find related threads.
    Thanks,
    Joseph

  • Excise invoice posted with Zero duty value

    Hi,
    My client has an STO process where they will generate a proforma Invoice with Excise duties,
    Initially when proforma was created excise duties were not reflecting since condition records were not maintained, user was not aware of that and created a excise invoice also with 0 Duty value.
    After this condition records were maintained and invoice was updated with excise values. But we are unable to update the excise tables through the same excise invoice no. This transaction is a back dated one for which client has already filed excise returns with SAP Excise number series, Can we pass a JV through FI to adjust the entries or any other solution.
    Regards,
    Zehran.

    Client has done PGI with ZERO quantity
          also done billing
    if i go to cancel that cancel invoice in J1IIN
         it is not allowing to cancel
    If your copy control is in line with standard settings, first of all you cannot post the goods issue without any quantity and also generation of billing is not possible.
    Coming to your second issue, please try in J1IH instead of J1IIN.
    thanks
    G. Lakshmipathi

  • Assign hexadecimal value to an Integer variable preceding with zero

    hi
    i need to pass an hexadecimal value, preceding with zero (0).
    like 0775
    the above hexadecimal value should be assigned to an integer variable. While i am trying to assign it, the output could be truncate the preceding zero value. Is it possible to do my requirement without truncating the preceding zero.?
    Edited by: sasi on Jul 23, 2012 7:09 PM

    I agree on that, this can not be carried out the way you explained.
    Either you store the hexadecimal value as a string, and convert it before arithmetic operations:
    int number = Integer.parseInt("0775", 16);
    Or you store it as an integer (no leading zero) and convert it to string as you display it:
    int number = 0x0775;
    System.out.printf("%1$04x", number);

Maybe you are looking for

  • Problem with Rebate agreement

    We have a problem with Rebate agreement settlement. Generally when the finall settlement of Rebate is completed ( with status D - D means final settlement ), the liability should be zero. However, after we made final settlement, still some amount is

  • How to get RMAN catalog information from Target database?

    Hi, How to get RMAN catalog information from Target database because i don't know about catalog database? is it possible? Thanks

  • IP Video conferencing best practice - Tanberg/Cisco hardware

    We are currently experiencing intermittant issues with our Video conferencing internal and external network with intermittant screen fragmentation. We have separate VLAN's configured on our internal network for the Video traffic only.   We use the mo

  • Printing java with pdf

    Hi! I am using a JPanel that contains JTextareas, JCheckboxes and JTextfields is there a way that I could use pdf to print the JPanel with its contents exampel please Johan P

  • How to delete and old email

    Hi all I have a doubt. In past weeks a SBO´s user wrote an e-mail message, but the message not sent because the SBO Mailer was not configurated. Now I have to configurate the SBO Mailer but the previous message don´t have to send. How I can delete th