IChart & Fixed Query /w scooter values in legend (xMII 11.5.1)

Hello all, this is my first post here and I hope that I can get some help.
Environment Details:
Server: Windows 2003, xMII 11.5.1, Java Plugin 1.4.2_13
Client: Windows XP, IE6, Java Plugin 1.4.2_13
My problem is that I cannot get scooter values to show in the legend with a simple iChart & Fixed Query.  At least not without more problems.  Let me explain...
The following chart & query does not show scooter values in the legend (values are shown in the upper left hand corner for the selected item though):
<applet name="ProcessDataApplet" height="421" width="1259" code="iChart" archive="illum8.zip" codebase="/Illuminator/Classes" "mayscript="true">
<param name="Mode" value="FixedQuery" />
<param name="QueryTemplate" value="Allvac/AMP/QueryTemplate" />
<param name="DisplayTemplate" value="Allvac/AMP/DisplayTemplate" />
<param name="Server" value="MONROE_VAR_ARMS" />
<param name="Query" value="SELECT [TIMESTAMP],[ACTUAL_FURNACE_CURRENT],[ACTUAL_FURNACE_VOLTAGE],[RAM_VELOCITY] FROM [PRODUCT_HEADER] INNER JOIN [PRODUCT_AUDIT_DATA] ON ([PRODUCT_HEADER].[PRODUCT_KEY] = [PRODUCT_AUDIT_DATA].[PRODUCT_KEY]) WHERE [PRODUCT_HEADER].[PRODUCT_KEY] = '525cb615-1b15-4b07-aa7c-9f1df9c47ba3' AND [TIMESTAMP] >= '02/27/2008 03:21:22' AND [TIMESTAMP] <= '02/27/2008 15:14:34' ORDER BY [TIMESTAMP] ASC" />
<param name="RowCount" value="8558" />
<param name="ChartType" value="Line" />
<param name="AxisValueColumn" value="TIMESTAMP" />
<param name="XAxisFontSize" value="10" />
<param name="LegendWidth" value="40" />
<param name="LegendFontSize" value="10" />
<param name="GlobalServerScaling" value="false" />
<param name="ZeroBasedScale" value="true" />
<param name="UseScreenResolution" value="false" />
<param name="EnableDoubleClickRefresh" value="false" />
<param name="ShowMouseTracking" value="true" />
<param name="ShowScooter" value="true" />
<param name="AutoScale.1" value="true" />
<param name="Decimals.1" value="2" />
<param name="AutoScale.2" value="true" />
<param name="Decimals.2" value="2" />
<param name="MinRange.3" value="0.00000" />
<param name="MaxRange.3" value="0.40000" />
<param name="Decimals.3" value="2" />
</applet>
I went one step further to see if I could get the scooter values shown in the legend.  I modified the query to use the StartDate & EndDate placeholders like so:
SELECT [TIMESTAMP],[ACTUAL_FURNACE_CURRENT],[ACTUAL_FURNACE_VOLTAGE],[RAM_VELOCITY] FROM [PRODUCT_HEADER] INNER JOIN [PRODUCT_AUDIT_DATA] ON ([PRODUCT_HEADER].[PRODUCT_KEY] = [PRODUCT_AUDIT_DATA].[PRODUCT_KEY]) WHERE [PRODUCT_HEADER].[PRODUCT_KEY] = '525cb615-1b15-4b07-aa7c-9f1df9c47ba3' AND [TIMESTAMP] >= [SD] AND [TIMESTAMP] <= [ED] ORDER BY [TIMESTAMP] ASC
I also added my initial StartDate & EndDate parameters:
<param name="StartDate" value="02/27/2008 03:21:22" />
<param name="EndDate" value="02/27/2008 15:14:34" />
NOW the scooter values are shown in the legend, which is great, but all of a sudden the zoom is broken.  When I select an area to zoom and then click the zoom button, it zooms to a completely different area of the chart.  This is worse than my original problem.
Can someone please help me out with this?  I have a feeling I'm leaving out something simple, but I can't find it.
By the way, my display template and query template used in this example are empty so that I could show all parameters to you.
Thanks,
Bryan

I removed scaling and accuracy parameters.  I also removed some parameters that controlled styling.  I added global auto scaling. 
Now X & Y are updating properly on zoom.  Although unzoom isn't working for start date and end date.  They stay at the zoomed date.  The post data also shows the zoomed dates being sent to the server after unzoom.  The Y range updates properly on unzoom.
Here is my updated applet html:
<applet name="ProcessDataApplet" height="421" width="1259" code="iChart" archive="illum8.zip" codebase="/Illuminator/Classes" "mayscript="true">
<param name="Mode" value="FixedQuery" />
<param name="InitialUpdate" value="true" />
<param name="QueryTemplate" value="Allvac/AMP/QueryTemplate" />
<param name="DisplayTemplate" value="Allvac/AMP/DisplayTemplate" />
<param name="Server" value="MONROE_VAR_ARMS" />
<param name="Query" value="SELECT [TIMESTAMP],[ACTUAL_FURNACE_CURRENT],[ACTUAL_FURNACE_VOLTAGE],[RAM_VELOCITY] FROM [PRODUCT_HEADER] INNER JOIN [PRODUCT_AUDIT_DATA] ON ([PRODUCT_HEADER].[PRODUCT_KEY] = [PRODUCT_AUDIT_DATA].[PRODUCT_KEY]) WHERE [PRODUCT_HEADER].[PRODUCT_KEY] = '525cb615-1b15-4b07-aa7c-9f1df9c47ba3' AND [TIMESTAMP] >= [SD] AND [TIMESTAMP] <= [ED] ORDER BY [TIMESTAMP] ASC" />
<param name="RowCount" value="10000" />
<param name="StartDate" value="02/27/2008 03:21:22" />
<param name="EndDate" value="02/27/2008 15:14:34" />
<param name="ChartType" value="Line" />
<param name="GlobalAutoScale" value="true" />
<param name="UseScreenResolution" value="false" />
<param name="ShowMouseTracking" value="true" />
<param name="ShowScooter" value="true" />
<PARAM NAME="Trace" VALUE="true">
</applet>
This problem isn't making any sense to me.  The documentation makes it sound like showing the current values in the legend is as easy as setting ShowScooter = true.  This wasn't the case for me though.  I had to use the [SD] and [ED] placeholders in my fixed query before the values would show up in the legend.  But then zooming breaks.  It looks like we're heading in the right direction to get the zooming fixed, but at the cost of being able to scale each pen.
The first thing you said to me in your first post was that I'm using a 3+ years old version of xMII.  Are you saying there is a good chance this is a bug?  I was pretty convinced from the beginning that this problem is a bug.  The customer I am working for set me up with an xMII 11.5.1 server because that is what they are using in production.  Is there an online document with a list of bug fixes between versions?  If this is a known bug in 11.5.1 then maybe I can get the go ahead to upgrade.

Similar Messages

  • Fixed Query update DATETIME issue

    I'm trying to convert a VARCHAR value to a DATETIME value in a table in a SQL database with the following Fixed Query Details:
    update SAPQNJDB.MPM_AFKOL
    set GSUZS =  CONVERT(Datetime,'2012-03-28 11:10:00.000')
    where AUFNR = '000001000648'
    But I receive the error as below:
    SQL error has occurred on query The SQL statement "update SAPQNJDB.MPM_AFKOL
    set GSUZS =  CONVERT(Datetime,'2012-03-28 11:10:00.000')
    where AUFNR = '000001000648'" contains the syntax error[s]: - 2:14 - Intermediate-SQL syntax error: CONVERT or TRANSLATE function not allowed
    - 2:30 - SQL syntax error: the token "," was not expected here
    - 2:30 - expecting "using", found ','
    SQL Version is 2008
    SAP MII Version 15.0 sp 0 patch 0
    Type: Querytemplate
    Datasource Modes: Command
    A normal select query on the same tables just works fine.

    Issue is solved.
    Changing the datasource from DataSource(SQL) to IDBC(SQL) did the trick

  • Query contains double value - seems cache problem

    Hi experts,
    in a Query (integrated planning) based on an Aggregationlevel based on a Multicube.
    The Multicube contains an Realtime InfoProvider to store planning data and a normal InfoProvider to show actual values.
    The load of actual values to the InfoProvider can be executed several times a month via ProcessChain -
    it´s a full load so the data loaded before will be deleted during the month in order to save the new monthly dataload.
    In the Query there were double values displayed for actual data after several loads during the month -
    but in the acutal InfoProvider only a single value is stored!
    It seems to be a buffer problem, since a deletion of all system buffers solves the problem - but this is not the way to handle the problem in productive area.
    How can the problem be solved?
    Setting of Planbufferquery of acutal data InfoProvider to not using Cache doesn't help.
    Thank you!
    Angie

    Hi,
    there is no data stored in acutal cube and the query column is restricted to actual cube.
    And actual cube only contains the value once, but the query can display the double value.
    If all buffers are reset, the query shows correct value - but this is not the way to handle the problem.
    What changes need to be made?
    Is there a setting in query cache or planningbuffer query cache or some other setting that can fix the problem?
    Best regards,
    Angie

  • Report using either query or direct value

    Hi,
    I'm using Reports 6i.
    I'm having a report in which most of the content is static text. only 1 or 2 values i'm fetching from database to fill up the content.
    I have a requirement like, if the user directly supply this value, then i have to run this report with the provided value without querying.
    In case they dont suppy the values, then the report should query and take values from the database.
    Whether such a report is possible?
    Thanks
    Divya

    Hi,
    Thanks for the reply.
    But if P_Param is not null then the report should take the parameter value and run the report.
    Suppose my report contents is like this
    This is a test report run by USERWhere user is the field.
    If i supply user say as 'Divya' , then i should get the output as
    This is a test report run by DivyaIf i didn supply user, and instead another parameter say id is supplied, then it should query and take the username and run
    Both should happen in single report.
    As you suggested, if the user param is null, then nothing comes.
    This is just a sample case i told. my original req involves more than one param
    Thanks

  • BW Query variable default value put in Crystal report variable question

    Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
    I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable  value.
    pho:
    [http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
    [http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
    Edited by: flying on Oct 29, 2009 8:20 AM

    I Know what to do .
    but Crystal report date variable value are Garbage characters "###".
    PHO:
    [http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif]

  • Display values in legend obiee 11g

    Dear All,
    Is there a way to display values in legend for obiee 11g graph? I could not find that features. It only has show or do not show the legend.
    Thanks,
    Sushil

    is it not something like
    select columnA from SubjectAreat where
    columnA is not like '%A%'
    and columnA is not like '%B%'

  • Read Query String Parameter Value in SSRS

    Hi,
    We have Project Server 2010 and Sharepoint Server 2010 env and using SSRS 2008 R2 for reporting purpose in Native mode.
    Here I am displaying the SSRS Project report in Project Server page using Report Viewer web part like below.
    Here I want to read projuid query string parameter value (Highlighthed above in URL ) in SSRS by using any way, so that I can pass that
    projuid value in my SSRS report parameter to filter and make this report dynamic.
    Right now I have to select the ProjectName (Label) which passes ProjUID
    as value from the Parameter, but I want it should read the projuid
    from URL so that this reports will display the project the data for the opened Project automatically
    Thanks and let me know in case we can achive this using OOTB or some custom functions.

    Hi,
    For the report parameter, you can get the value from database query or some embedded funcitons etc. or even some customerized function.
    You may consider to create your own code for the report to read the projuid from application or URL. The customer code can be used to get the values from the applicaiton or from the url etc. Then report can call the customer code function to get the value.
    refer link
    https://technet.microsoft.com/en-us/library/ms155798(v=SQL.100).aspx
    https://support.microsoft.com/kb/920769?wa=wsignin1.0
    Thanks,

  • Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.? I want to alter the formatting (i.e., text and/or cell background color), but not cell content.

    Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.?
    I want to alter the formatting (i.e., text and/or cell background color), but not the content, of the target cell(s).

    Hi Tom,
    Your LOOKUP formula will return a value that it finds in the "other" table. That value can be used in conditional highlighting rules. (Numbers 3 calls it conditional highlighting, not conditional formatting. Just to keep us awake, I guess, but it works the same).
    Please explain what you are trying to do.
    Regards,
    Ian.

  • How could I replace hard coded value in my sql query with constant value?

    Hi all,
    Could anyone help me how to replace hardcoded value in my sql query with constant value that might be pre defined .
    PROCEDURE class_by_day_get_bin_data
         in_report_parameter_id   IN   NUMBER,
         in_site_id               IN   NUMBER,
         in_start_date_time       IN   TIMESTAMP,
         in_end_date_time         IN   TIMESTAMP,
         in_report_level_min      IN   NUMBER,
         in_report_level_max      IN   NUMBER
    IS
      bin_period_length   NUMBER(6,0); 
    BEGIN
      SELECT MAX(period_length)
         INTO bin_period_length
        FROM bin_data
         JOIN site_to_data_source_lane_v
           ON bin_data.data_source_id = site_to_data_source_lane_v.data_source_id
         JOIN bin_types
           ON bin_types.bin_type = bin_data.bin_type 
       WHERE site_to_data_source_lane_v.site_id = in_site_id
         AND bin_data.start_date_time     >= in_start_date_time - numtodsinterval(1, 'DAY')
         AND bin_data.start_date_time     <  in_end_date_time   + numtodsinterval(1, 'DAY')
         AND bin_data.bin_type            =  2
         AND bin_data.period_length       <= 60;
      --Clear the edr_class_by_day_bin_data temporary table and populate it with the data for the requested
      --report.
      DELETE FROM edr_class_by_day_bin_data;
       SELECT site_to_data_source_lane_v.site_id,
             site_to_data_source_lane_v.site_lane_id,
             site_to_data_source_lane_v.site_direction_id,
             site_to_data_source_lane_v.site_direction_name,
             bin_data_set.start_date_time,
             bin_data_set.end_date_time,
             bin_data_value.bin_id,
             bin_data_value.bin_value
        FROM bin_data
        JOIN bin_data_set
          ON bin_data.bin_serial = bin_data_set.bin_serial
        JOIN bin_data_value
          ON bin_data_set.bin_data_set_serial = bin_data_value.bin_data_set_serial
        JOIN site_to_data_source_lane_v
             ON bin_data.data_source_id = site_to_data_source_lane_v.data_source_id
            AND bin_data_set.lane = site_to_data_source_lane_v.data_source_lane_id
        JOIN (
               SELECT CAST(report_parameter_value AS NUMBER) lane_id
                 FROM report_parameters
                WHERE report_parameters.report_parameter_id    = in_report_parameter_id
                  AND report_parameters.report_parameter_group = 'LANE'
                  AND report_parameters.report_parameter_name  = 'LANE'
             ) report_lanes
          ON site_to_data_source_lane_v.site_lane_id = report_lanes.lane_id
        JOIN (
               SELECT CAST(report_parameter_value AS NUMBER) class_id
                 FROM report_parameters
                WHERE report_parameters.report_parameter_id    = in_report_parameter_id
                  AND report_parameters.report_parameter_group = 'CLASS'
                  AND report_parameters.report_parameter_name  = 'CLASS'
             ) report_classes
          ON bin_data_value.bin_id = report_classes.class_id
        JOIN edr_rpt_tmp_inclusion_table
          ON TRUNC(bin_data_set.start_date_time) = TRUNC(edr_rpt_tmp_inclusion_table.date_time)
       WHERE site_to_data_source_lane_v.site_id = in_site_id
         AND bin_data.start_date_time     >= in_start_date_time - numtodsinterval(1, 'DAY')
         AND bin_data.start_date_time     <  in_end_date_time   + numtodsinterval(1, 'DAY')
         AND bin_data_set.start_date_time >= in_start_date_time
         AND bin_data_set.start_date_time <  in_end_date_time
         AND bin_data.bin_type            =  2
         AND bin_data.period_length       =  bin_period_length;
    END class_by_day_get_bin_data;In the above code I'm using the hard coded value 2 for bin type
    bin_data.bin_type            =  2But I dont want any hard coded number or string in the query.
    How could I replace it?
    I defined conatant value like below inside my package body where the actual procedure comes.But I'm not sure whether I have to declare it inside package body or inside the procedure.
    bin_type     CONSTANT NUMBER := 2;But it does't look for this value. So I'm not able to get desired value for the report .
    Thanks.
    Edited by: user10641405 on May 29, 2009 1:38 PM

    Declare the constant inside the procedure.
    PROCEDURE class_by_day_get_bin_data(in_report_parameter_id IN NUMBER,
                                        in_site_id             IN NUMBER,
                                        in_start_date_time     IN TIMESTAMP,
                                        in_end_date_time       IN TIMESTAMP,
                                        in_report_level_min    IN NUMBER,
                                        in_report_level_max    IN NUMBER) IS
      bin_period_length NUMBER(6, 0);
      v_bin_type     CONSTANT NUMBER := 2;
    BEGIN
      SELECT MAX(period_length)
        INTO bin_period_length
        FROM bin_data
        JOIN site_to_data_source_lane_v ON bin_data.data_source_id =
                                           site_to_data_source_lane_v.data_source_id
        JOIN bin_types ON bin_types.bin_type = bin_data.bin_type
       WHERE site_to_data_source_lane_v.site_id = in_site_id
         AND bin_data.start_date_time >=
             in_start_date_time - numtodsinterval(1, 'DAY')
         AND bin_data.start_date_time <
             in_end_date_time + numtodsinterval(1, 'DAY')
         AND bin_data.bin_type = v_bin_type
         AND bin_data.period_length <= 60;
      --Clear the edr_class_by_day_bin_data temporary table and populate it with the data for the requested
      --report.
      DELETE FROM edr_class_by_day_bin_data;
      INSERT INTO edr_class_by_day_bin_data
        (site_id,
         site_lane_id,
         site_direction_id,
         site_direction_name,
         bin_start_date_time,
         bin_end_date_time,
         bin_id,
         bin_value)
        SELECT site_to_data_source_lane_v.site_id,
               site_to_data_source_lane_v.site_lane_id,
               site_to_data_source_lane_v.site_direction_id,
               site_to_data_source_lane_v.site_direction_name,
               bin_data_set.start_date_time,
               bin_data_set.end_date_time,
               bin_data_value.bin_id,
               bin_data_value.bin_value
          FROM bin_data
          JOIN bin_data_set ON bin_data.bin_serial = bin_data_set.bin_serial
          JOIN bin_data_value ON bin_data_set.bin_data_set_serial =
                                 bin_data_value.bin_data_set_serial
          JOIN site_to_data_source_lane_v ON bin_data.data_source_id =
                                             site_to_data_source_lane_v.data_source_id
                                         AND bin_data_set.lane =
                                             site_to_data_source_lane_v.data_source_lane_id
          JOIN (SELECT CAST(report_parameter_value AS NUMBER) lane_id
                  FROM report_parameters
                 WHERE report_parameters.report_parameter_id =
                       in_report_parameter_id
                   AND report_parameters.report_parameter_group = 'LANE'
                   AND report_parameters.report_parameter_name = 'LANE') report_lanes ON site_to_data_source_lane_v.site_lane_id =
                                                                                         report_lanes.lane_id
          JOIN (SELECT CAST(report_parameter_value AS NUMBER) class_id
                  FROM report_parameters
                 WHERE report_parameters.report_parameter_id =
                       in_report_parameter_id
                   AND report_parameters.report_parameter_group = 'CLASS'
                   AND report_parameters.report_parameter_name = 'CLASS') report_classes ON bin_data_value.bin_id =
                                                                                            report_classes.class_id
          JOIN edr_rpt_tmp_inclusion_table ON TRUNC(bin_data_set.start_date_time) =
                                              TRUNC(edr_rpt_tmp_inclusion_table.date_time)
         WHERE site_to_data_source_lane_v.site_id = in_site_id
           AND bin_data.start_date_time >=
               in_start_date_time - numtodsinterval(1, 'DAY')
           AND bin_data.start_date_time <
               in_end_date_time + numtodsinterval(1, 'DAY')
           AND bin_data_set.start_date_time >= in_start_date_time
           AND bin_data_set.start_date_time < in_end_date_time
           AND bin_data.bin_type = v_bin_type
           AND bin_data.period_length = bin_period_length;
    END class_by_day_get_bin_data;

  • Use of Column Stripper with Fixed Query

    Hi all,
    I would like to create a PDF document. The document contains a PDF table which is filled with the XML-output of a fixed query.
    When I use the column stripper to reduce te number of columns in the XML file created by a normal query it works fine.
    But when I use the column stripper with a XML file created by a Fixed Query, I can't select the columns.
    Do you know how to solve this?
    Thanks in advance.
    kind regards,
    Johan Knopper
    myBrand

    Hi Christian,
    thanks for your answer. I filled the parameters in the query and created the sample XML again. Now it works fine.
    Do you know if it is also possible to do so with the XML output of a transaction?
    For example: I create a simple transaction with the same query as mentioned above and totalize some colums.
    Creating the sample XML data of a transaction is not possible. So how can I now use the column stripper?
    Kind regards,
    Johan Knopper

  • Query for a Value Set

    Is there any way to get one record for each of orgs? I would like to use this query in a value set but I can put the word distinct in a value set SQL statement. Any Ideas?
    SELECT
    haou.NAME ORGANIZATION_NAME
    FROM
    hr.per_all_assignments_f paaf,
    hr_all_organization_units haou
    WHERE haou.Organization_id = paaf.Organization_id
    AND paaf.primary_flag = 'Y'
    AND paaf.assignment_type = 'E'
    AND sysdate BETWEEN paaf.effective_start_date AND paaf.effective_end_date
    order by 1

    Found it...
    select name from hr_all_organization_units b
    where organization_id in (select organization_id from per_all_assignments_f a
    where a.organization_id = b.organization_id )
    order by 1

  • Query returnining diff values

    Dear all,
    I have this query
    This query retuns the right value for other users.. whereas the same query returns no value for some other user.. (this user has select privileges on the tables department,invoice_rec)..
    What could be the reason ?
    Kai
    Edited by: KaiS on Mar 4, 2009 10:00 AM

    Does the other user have a copy of the current schema? I mean is he looking at his own data and not from the schema that you are connected to?

  • Query range of values

    I've been creating a query screen for users using a QBE report. Is there a way I can have the users query using one value or a range of 2 values for a field?
    Thanks,
    Hope

    If you don't need the other features of QBE reports (updating, deleting etc) then you might want to consider using a SQL report with a query like
    select * from scott.emp where deptno between :dept1 and :dept2
    The customization screen allows you to enter values for dept1 and dept2.

  • Problem when querying OLAP for Value based hierarchy

    Hi I have problem when querying OLAP for value based hierarchy , for level based dimension it work fine
    the strange part is if I only put one value, it will work perfectly
    for example if I put only 1 value for that value base hierarchy like CF_HIER::426362, then it will get the correct value for that id 426362
    but if I put multiple value to the list
    CF_HIER::426362
    CF_HIER::424470
    CF_HIER::429073
    CF_HIER::424230
    then only some value will come out correctly, some of them will be 0, I wonder why because if I query using each value, then it show correct value
    for multiple value usually only the top in hirarchy give correct value, but the leaf will give 0, but if I query only the leaf, the leaf will give correct value
    this problem only happen for my value based hierarchy, for the level based hierarchy it work fine both for each value or multiple value in the list
    this is the code how I guery
    ////the "elementIdList" is where the value is (CF_HIER::426362,CF_HIER::424470,CF_HIER::429073,CF_HIER::424230), if I only put single value in this list the query work fine, but if I put multiple value then some value give correct result, some will give 0
    String[] elementIdArr = new String[elementIdList.size()];
              int i = 0;
              for (Long elementId: elementIdList) {
                   String elementIdStr ="";
                   if (hierarchy instanceof MdmLevelHierarchy)
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            level.getName()+dimension.getValueSeparationString()+
                                            level.getName()+"_"+elementId;
                   else
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            elementId;
                   elementIdArr[i++] = elementIdStr;
              Source myList = dp.createListSource(elementIdArr);
              result = hierarchy.getSource().selectValues(myList);
         Source joinedSource = measure.getSource();
              joinedSource = joinedSource.join(result );
    is there any suggestion where I'm doing wrong?or is it different between querying value based hier with level based hier?
    thanks

    Hi I have problem when querying OLAP for value based hierarchy , for level based dimension it work fine
    the strange part is if I only put one value, it will work perfectly
    for example if I put only 1 value for that value base hierarchy like CF_HIER::426362, then it will get the correct value for that id 426362
    but if I put multiple value to the list
    CF_HIER::426362
    CF_HIER::424470
    CF_HIER::429073
    CF_HIER::424230
    then only some value will come out correctly, some of them will be 0, I wonder why because if I query using each value, then it show correct value
    for multiple value usually only the top in hirarchy give correct value, but the leaf will give 0, but if I query only the leaf, the leaf will give correct value
    this problem only happen for my value based hierarchy, for the level based hierarchy it work fine both for each value or multiple value in the list
    this is the code how I guery
    ////the "elementIdList" is where the value is (CF_HIER::426362,CF_HIER::424470,CF_HIER::429073,CF_HIER::424230), if I only put single value in this list the query work fine, but if I put multiple value then some value give correct result, some will give 0
    String[] elementIdArr = new String[elementIdList.size()];
              int i = 0;
              for (Long elementId: elementIdList) {
                   String elementIdStr ="";
                   if (hierarchy instanceof MdmLevelHierarchy)
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            level.getName()+dimension.getValueSeparationString()+
                                            level.getName()+"_"+elementId;
                   else
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            elementId;
                   elementIdArr[i++] = elementIdStr;
              Source myList = dp.createListSource(elementIdArr);
              result = hierarchy.getSource().selectValues(myList);
         Source joinedSource = measure.getSource();
              joinedSource = joinedSource.join(result );
    is there any suggestion where I'm doing wrong?or is it different between querying value based hier with level based hier?
    thanks

  • Fiscal Year Period - Query Designer - Characteristics Value

    Hi Experts,
    In query designer, characteristics value for 0FISCPER by default shows value of fiscal year variant V9. But for Fiscal year variant V9, 002.2014 is November 2013.
    Now user want to display the correct period and its description (002.2014 is February 2014) which implies need to use different variant. Please let me how this can be changed.
    Regards
    Suresh Kumar

    Hi Suresh,
    Try this
    Path: Financial Accounting >> Financial Accounting Global settings >> Fiscal Year >> maintain Fiscal year variant (maintain shortened fiscal year)
    Transaction Code: OB29
    Regards,
    Amit

Maybe you are looking for

  • Having a problem with GeForce 4 Ti4600

    Hey I recently got an MSI geForce 4 Ti 4600 card.  I installed it correctly according to the instructions and everything, but it's not working right.  After I turned the computer, there were little purple blotches all over the screen.  I also get som

  • Exchange Rate date for Invoice posting for Slovak Republic

    Hi, We have a requirement wherein for Slovak Republic, Invoice should pick up ( at the time of Invoice Posting) the exchange rate from the Delivery Note date and not the Invoice Posting Date. This is applicable for all vendors which have a Slovak Rep

  • Gradient Stop Color Box DIsabled

    I can't seem to get a color gradient in ID CS4, just grayscale. I go to the "New Gradient Swatch" screen, name it, select "Linear," but the "Stop Color" box is disabled. Probably something very basic I'm not doing here. I can get color on my document

  • Down Load to Windows ME

    My Linux machine is not connected to the Internet. I downloaded the files I need to a Windows ME machine. Is there a way to copy those files to a cd so the Linux machine will read them?

  • XI Mapping : complex Case to me

    Hi, here i will explain my mapping case : Source : Items : item1 item2 item3 TextItems 1 texta for item1 1 textb for item1 3 text for item3 Target Structure(take care about cardinality) Items(0...unbounded) Itemdetail(1..1)    ItemText(0..1)      Lin