Chart with multiple values

Dear All gurus ,
I want to draw a chart that has organizations as labels and number of employees and nationality as values to be like this
n n a t i o n a l i t y
u a
m t
b i
e o
r n
a
l
i
t
y
o r g a n i z a t i o n
any help please .

Thank you brother for your reply and this is the XML:
<?xml version="1.0" encoding="WINDOWS-1252"?>
<!-- Generated by Oracle Reports version 10.1.2.0.2 -->
<EMP_PER_GENDER_NAT>
<LIST_ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Algeria</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Australia</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>2</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Australia</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>2</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Canada</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Denmark</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>3</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Egypt</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>2</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Egypt</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>France</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>4</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>India</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>9</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>India</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>2</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Iraq</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Italy</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Jordan</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>5</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Jordan</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>2</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Lebanon</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Netherlands</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>New Zealand</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>10</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Pakistan</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Palestine</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>2</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Palestine</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Saudi Arabia</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Slovakia</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Sudan</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>3</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Sudan</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Sultanate Of Oman</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>Syria</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>2</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Syria</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>76</NO>
<SEX>F</SEX>
<GENDER>Female</GENDER>
<NATIONALITY>United Arab Emirates</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>98</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>United Arab Emirates</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>United Kingdom</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
<ROW>
<NO>1</NO>
<SEX>M</SEX>
<GENDER>Male</GENDER>
<NATIONALITY>Yemen</NATIONALITY>
<PRINT_DATE>18-MAR-2012</PRINT_DATE>
<PRINT_TIME> 11:03:23 </PRINT_TIME>
<REQUEST_ID>-1</REQUEST_ID>
<REQUEST_BY></REQUEST_BY>
</ROW>
</LIST_ROW>
</EMP_PER_GENDER_NAT>

Similar Messages

  • "Scatter" Chart with Multiple Values per Date

    APEX Gurus,
    I need to plot a chart with multiple y-axis values along the x-axis.
    Here's an example:
    X-Axis (Date) Y-Axis (Number)
    1-JAN-07 1
    1-JAN-07 2
    1-JAN-07 3
    2-JAN-07 1
    2-JAN-07 2
    3-JAN-07 1
    Right now, APEX displays the X-axis (Date) as separate values on the x-axis. But I want all three 1-JAN-07 values to line up vertically under x-axis. I am currently using a line chart for this. And it displays a "dot" for each value (depending on my max rows value).
    Any insight would be much appreciated! And thanks in advance!
    Susan

    You can try using this charting tool for generating scatter charts:
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    Denes Kubicek

  • Is it currently possible to create a doughnut chart with multiple concentric circles in SSRS?

    Is there currently any way to create a 'doughnut' chart with multiple concentric circles in an SSRS report (any version), without using 3rd party tools?
    Something like this, perhaps?
    (For that matter is it possible to create this using JavaScript?  It's my understanding that this image was originally created in a web app using JavaScript.  So far I've not been able to pin down the details.  I've found hints that JavaScript
    can be used in SSRS reports but so far no clear working examples.)

    Hi B.Chernick,
    According to your description, you want to create a create a doughnut chart with multiple concentric circles in your report. Right?
    In Reporting Services, we only have doughnut chart with one concentric circle. All the category group is in that concentric circle. Though we can embed javascript injection in expression, it only give the css style to values or report
    items which can change the looking. It can't change the structure of the report items itself. So your requirement can't be achieved current.
    For your requirement, we suggest you provide Microsoft a feature request at
    https://connect.microsoft.com/SQLServer
    so that we may try to expand the product features based on your needs.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Line Chart with Multiple Series

    Post Author: JayZee
    CA Forum: Charts and Graphs
    HI
    I am trying to create a line chart with multiple series for trend analysis on CR XI but not having much luck, I thought it would be so simple to do!
    My data is provided summarized on the server and is returned as 12 rows:
    Month       Year1        Year2      Year3      Year4     Year5January      100           80          75           90          120February      85           25           40           25          80etc for the rest of the months
    My problem is that I can only get the chart to accept the values to display as a summary and not just as the data pulled back from the server.  I have read an article on the support site for Crystal 6.0  but it doesn't seem to translate well into XI.
    If necessary I could redesign the table to bring back un-summarized data but that is quite a big job.
    Any help greatly appreciated.
    Jay

    Post Author: Tim Wise
    CA Forum: Charts and Graphs
    In the chart expert, put Month in the 'On change of' box and put each year in the 'Show values' box. This puts the month on the x-axis and plots each year as a line.
    Is that what you want?
    I did this in CR 2008 using your data in an Excel sheet.

  • How can I create a hashmap() with multiple values for the same key?

    I am trying to write an application that will us something like a Map() with multiple values but some have the same key. Is this possible?

    i had the same question. just create a List, add all the values u want to it, and then put the List into the map like u would a normal single value. e.g.
    List list = new ArrayList();
    list.add(value1);
    list.add(value2);
    map.put(key, list);
    i bet u r doing the same course as i am =)

  • Report script - using substitution variable with multiple values

    Hi All,
    Substitution variable with multiple values is not working correctly with Report scripts. Can you please let me know what is the syntax to assign multiple values to a sub variable using maxl:
    alter database samp.samp set variable 'ExtractQuarter' 'Q1,Q2,Q3,Q4';
    alter database Samp.Samp set variable 'ExtractQuarter' 'Q1:Q4';
    I tried both of the above but they are errored out with the below error:
    Error: 1001005 - Unknown Member [Q1:Q4] in Report.
    my requirement is different for both Actual and forecast data extract so i would like to make use of this variable to extract whole year data for Forecast and current quarter data for Actual with out duplicating the report scripts for both processes.
    Thanks,
    PRaveen

    Hi,
    Please refer following thread,
    range of months in report script?
    Hope it helps.
    Regards

  • Creating SVG Chart with multiple lines

    Hi All,
    I want to create a chart with multiple lines.
    Ex: I have one emp table with empno, sal and deptno columns.
    I want to print deptno in x axis and no of employees on y axis.
    I want to print one line for employees with sal > 15000 and one more line for employee with sal =< 15000
    So one line will show no of employees with sal more than 15000 for each dept. Similar case for the other line and these 2 lines should be in different colors.
    For one line the query will go as
    select link, deptno, count(empno)
    from emp where sal > 15000 group by null, deptno
    Is this possible to draw this chart?
    Thanks,
    Manoj

    I wasn't able to do something like what you describe, but I was able to do this:
    I defined column A of the table as a Header Row, selected the cells in the table, and chose this chart type (2D 2 Axis):
    Then I clicked the chart and in the pane at the right checked 'Axis Name' in the Axis tab and added the axis names.
    Maybe this can give you an idea of how you can illustrate the relationships that you want to show.
    SG

  • Can you add People Picker with multiple values to Word Document using Quick Parts?

    Hi all, I've been trying to develop a form in Word that takes a bunch of metadata from the SharePoint library. Most of it works okay, but when I try to add any fields that have been set up to take multiple entries in a people picker, they don't show up
    in the add quick parts list. Any ideas, or is this a limitation?

    Hi NREL,
    According to your description, my understanding is that the people picker column with multiple values was missing in Word Quick Parts.
    This is by design that we are unable to use the fields which is allowed multiple selections.
    As a workaround, you can use a text field(Single line of text) to store the multiple values of the people column. When you create a document, start a workflow to update the text field using the values of the people column, then use the
     text field in Word Quick Parts.
    You can do as the followings:
    Open your library, and create a new column using Single line of text.
    Open your site with SharePoint 2010 Designer, create a workflow based on your library.
    Add the action “Set Field in CurrenItem”, and set it like the screenshot.
    Set the Start Options is “Start workflow automatically when an item is created”.
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Variable with multiple values.

    Hi All,
    Can anyone help me  to create a  variable with multiple values like it should accept two Buisness Area AU10,PH10 in Query.As well as how to use this variable in fox using VARV, VARI,and VARC.
    Thanx&Rgds,
    Indu

    Hi,
      You can write an exit for variable to retrieve two values.
    Usage of this variable in FOX..
    TOTALCOUNT= VARC(variable).
    COUNT = 1.
    DO .
    IF COUNT < TOTALCOUNT.
    varval = VARI( variable, COUNT ).
    COUNT = COUNT + 1.
    ENDIF.
    Hope this helps.
    Regards,
    Bindu

  • Web Forms using substitution variables with multiple values

    Hi,
    I am trying to select a substitution variable in a webform (Hyperion Planning 11.1.1.3) with multiple values in EAS, but is not working does somebody knows if this an expected behaviour.
    I allready try ex.
    &Months = "Jan","Feb", "Mar"
    &Months = Jan, Feb, Mar
    &Months = Jan:Mar
    Please let me know something, since as far as I recall in previous versions of Hyperion Planning this was possible.
    Kind Regards

    We experienced the same issue, our requirement was that for the first half of the year the substitution variable was = Oct and for the second part of the year Jan:Dec. We were lucky that for the second scenario we had a Total Year member as well (that at the bottom level is Jan:Dec). So on web form we picked Level0 descendants of the substitution variable. That worked fine but not the range.

  • How can I compare single value with multiple value...

    Hello,
    I want to compare one value with multiple values, how can it possible ?
    Here in attachment I tried to design same logic but I got problem that when I entered value in y that is compared with only minimum value of x, I don't want that I want to compare y value with all the x value and then if y is less then x while loop should be stop.
    I want to do so because in my program some time I didn't get result what I want, for example x values is 4,5,6,7,8  and y value is  suppose 6 then while loop should be stop but here it consider only minimum number and its 4 here so while loop is not stop even y is less then 7 and 8. So I want to compare y value with all the entered values of x and if y is less then any of x values then while loop should be stop and led should be ON.
    Please guide me how can I do so.....
    Solved!
    Go to Solution.
    Attachments:
    COMPARISON.vi ‏8 KB

    AnkitRamani wrote:
    Thank you very mach for your help..
    may be i have solved this ....i have made one change in my vi that instead of min. i select max and max. value is compare with the value of y and then if y is less then the max. while loop will be stop other wise its run continuously.
    this is working fine...
    any ways thanks again for your help and time...
    I have to agree with Lewis - his way is more efficient.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • OLAP on 11g and Materialised Views with Multiple Value-Based Hierarchies

    Hello OLAPians
    I am trying to setup Orable BIEE to report on an OLAP cube with pre-aggregated data. As OBIEE is not able to hook into the OLAP directly i have to create an SQL cubeview.
    Currently i am on a 10g OLAP environment and am using the oracle sample SQL cubeview generator to create an SQLview of my cube.
    The cube itself has multiple dimensions and these dimensions have multiple VALUE-based (ragged) hierarchies and dimension members can be shared across hierarchies also.
    Initially i had a problem running the view generator plugin because there is a bug within it that does not finish if there are multiple value-based hierarchies present. I was able to get around this by manually editing the limitmap for the cubeview and manually creating the SQL view.
    The question that i want to ask is how robust is the 11g materialised views with multiple value-based hierarchies and the sharing of dimension members across different hierarchies?
    Has anyone successfully been able to create a cubeview and import it into OBIEE without the hassle of manually editing the limitmap?
    A problem arises with the value-based setup whereby if the client creates a newer depth in the ragged hierarchy, i need to manually create the limitmap and the cube-view over again, and then re-map the BI Administration mappings.

    The simple answer to your question,
    how robust is the 11g materialised views with multiple value-based hierarchies...?is that materialized views are not supported on top of value-based hierarchies in 11g. The reason is that it is not possible to write a reasonable SQL statement that aggregates a fact over a value-based hierarchy. Such a SQL statement is necessary if we want to create a rewritable MV on top of the cube.
    But I suspect this is not what you are really asking. If you are trying to set up OBIEE on top of the cube in 10g using the view generator, then you will probably want to use the "ET VIEWS" that are generated automatically in 11g. These are generated whether or not you enable materialized views on top of your cube. I am not aware of any issues with the generated value-based hierarchy view support in 11g. Members may be shared between value hierarchies and you will not need to generate or modify limit maps.

  • Snmp for oids with multiple values

    Hi,
    So if we have array of OIDs defined in the mib file (eg, 1.3.6.1.4.1.22.1.1, 1.3.6.1.4.1.22.1.2, 1.3.6.1.4.1.22.1.3 and so on each having different values). does anyone know how can we capture this using SNMP fetchlet?
    or
    do we need to specify each oid separately?
    Thanks

    Maybe I misunderstood lushhay here. I thought lushhay wanted to associate a key with multiple values. So one way is to have the value of the Hashtable key to be an ArrayList.
    Hashtable table = new HashTable();
    String key1 = "myKey";
    String key2 = "myKey2";
    Date value1 = (some date value);
    Date value2 = (another date value);
    Date value3 = (another date value);
    ArrayList valueList = new ArrayList();
    valueList.add(value1);
    valueList.add(value2);
    valueList.add(value3);
    table.put(key1,valueList);
    This would associate "myKey1" with 3 date values stored in an ArrayList.
    There is a downside to using the string concatenation method. You assume that the content of each values will never contain a delimiter. You also assume that the values are strings. But if the values are byte[], the string concatenation will not work. If the values are Dates, it can still work, but you would have to convert it from Date to String then concatenate, then get the String value through StringTokenizer and then convert back to Date.
    But anyways, if the values are Strings (and won't contain the delimiter character), then the concatenation method would suffice.

  • How to compare single value with multiple values

    In my query I have something like this:
    A.SOR_CD=B.SOR_CODE where A and B are 2 different tables. This condition is in the where clause. The column in table A has single values but some values in table B have multiple comma separated values (822, 869, 811, ..).  I want to match this single
    value on the left side with each of the comma separated values. Please let me know how will I be able to do it. The number of comma separated values on the right side may vary.

    Hi MadRad123,
    According to your description, you want to compare single value with multiple values in your query. Right?
    In this scenario, the table B has comma separated values, however those comma separated values are concatenated into a string. So we can use charindex() function to return the index of the table A value. And use this index as condition in
    your where clause. See the sample below:
    CREATE TABLE #temp1(
    ID nvarchar(50),
    Name nvarchar(50))
    INSERT INTO #temp1 VALUES
    ('1','A'),
    ('2','A'),
    ('3','A'),
    ('4','A'),
    ('5','A')
    CREATE TABLE #temp2(
    ID nvarchar(50),
    Name nvarchar(50))
    INSERT INTO #temp2 VALUES
    ('1','a,A'),
    ('2','A,B'),
    ('3','c'),
    ('4','A,C'),
    ('5','d')
    select * from #temp1 a inner join #temp2 b on a.ID=b.ID
    where CHARINDEX(a.Name,b.Name)>0
    The result looks like below:
    Reference:
    CHARINDEX (Transact-SQL)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • A variable with multiple values. Is it possible?

    Normally, when we need a variable with multiple values we just write them while creating the variable or, if they depend on some other variable selected by the user a variable of type exit is used.
    However, this time we would like my user to select <b>a few</b> variable values <b>at a time</b>, i.e years 2005,2006 and 2007. He can change his mind and then select 2007 and 2008. I don't want the user to be forced to select ONLY ONE value. They need to select several values at the same time.
    Ideally, I don't want to use a range with values from 2 variables to do that.
    Thanks,
    Alberto Sabate
    Message was edited by: Alberto Sabate

    Hello Alberto,
    When restricting variables to multiple values you need to use a range. The variable restriction in BPS supports two operators EQ - equals and BT - between.
    In your example below however you could use a user exit to support this. The years you have typed in below are sequential and therefore would fit into a range.
    Cheers,
    Scott

Maybe you are looking for

  • Setting Additional Document Directory in Sunone 6.1 SP1

    Tried to run a testfile (index.htm) from an additional document directory in 6.1 SP1 on W2K (local), but it doesn't show up. What am I missing, doing wrong or forget? Additional Document DIrectory setting: Prefix: /test Directory: c:/websites/test in

  • ITunes 10's Album by Artist column not good for assorted artist albums

    If a given album has selections done by different groups or artists, iTunes will fragment the album and create as many little groups for it as there are different performers on the album. This feature became a big problem for me with an album of big

  • Have a macbook air, how do i get online on an airplane with wifi

    have a macbook air, how do I get online on an airplane with wifi?

  • Changing images on JButtons

    hi all, I have a collection of icons that having images available in multiple sizes. The program my company is working on is geared towards deaf/hard of hearing and sight impaired individuals. I have assigned all the buttons images - however I want t

  • CFOBJECT/class accessing issues

    Hello, Recently I have upgraded from CFMX 7.0 to CF 9.0 and having problems or issues accessing a class file output where I am getting a "blank" value. It is same code which is working with CF 7.0. I have registered the class file in CF 9.0 and re-st