Use only unique values as combo box data provider.

I have an array collection of objects each of which has a
property I
will simply call 'name'. Let us say that this array
collection contains
a list of objects with the following name values
['George','Fred','George','Ron','Bill','Charlie','Bill','Bill','Percy'].
I would like to use these names as the data provider of a
combo box, but
without the duplicates. What would be the easiest way to
distill this
down to an array of unique values to use as this combo box's
data
provider in Flex?
The original array collection was the result of an remote
object call to
a cfc that returned a record set from a data store. Is it a
better
option to create a new function in this cfc that returns the
unique list
I desire, or can I do this easily inside the Flex code since
I already
have the complete list?
TIA
Ian Skinner

Untested:
var aData:Array =
['George','Fred','George','Ron','Bill','Charlie','Bill','Bill','Percy'];
var oCheck:Object = new Object():
var aUnique:Array = new Array()
var sValue:String
for (vari:int=0;i<aData.length;i++) {
sValue = aData[ i ];
if (!oCheck[sValue ]) { //is this a unique value?
oCheck[sValue ] = true; //put this value in the check object
aUnique.push(sValue)
Note: if the values contain illegal property name values, yo
would need to modify this.
Tracy

Similar Messages

  • Only Dimension Table Values in Combo Box or Drill Down Selections

    Hi All,
       How to get only Dimension Table Values instead of Master Data Values in Combo Box or Drill Down Box list of values?
    I am getting all the values in 0CALMONTH Combo Box where i need only infoproviders values.
    In Entry List tab of Combo Box when i select 0CALMONTH its reading from its Master Data.Is there any option how there is Dimension table in Value help.
    In Query, infoobject levels the filter values selection is set as infoprovider only.
    Can anyone please let me know how to get only dimension table values when we use combo box.
    Thanks & Regards
    K.Srinivas Rao

    Hi
    Create one BI query with only one object in the output of the query. (In your case 0CALMONTH)
    So now if when you run the query it will show values which are there in infoprovider. THen drag one form from output of this query in vc & create dropdown list on this.
    Is this what you are looking for?
    regards
    Sandeep

  • While selecting value from combo box in one frame, based on the selection..

    Hi friends,
    can someone help me out on a issue as it follows:-
    iam developing an application where Iam using xsl,html,javascript and xml.
    There is no existense of Database at all. data is read from xml.
    now,
    In a window there are 3 frames. In the 1st frame combo box is there.
    Based on the selection in the combo box data will be displayed in the 2nd frame.
    now onchange or onselect methods not giving the expected result.
    actually,in the the xsl which is having 3 frames,the 1st and 3rd frame
    calling src="abc.xml" and src="abc.xml"which are static.
    but in the 2nd frame the data need to be changed dynamically.
    I have given frame name="frame_ExchangeDetails2" rows="3%" src="cc_marketWatch_02.xml"/>
    usually data dynamically comes from database.but here i have to refer xml file
    something like [window.href.location="abc.xml"]
    but the problem is when you refer supose:-
    <frame name="frame_ExchangeDetails2" rows="3%" src="cc_marketWatch_02.xml"/>
    the frame is having static page,though there are functions in javascript which are called in onload and onchange.which are not working.
    I have tried putting if condition like:-
    if(document.abc.fieldname.value=='6'
    {   window.location.href = "cc_custLookUpData-mobileno.xml";   
    so that it could go to the repective page.
    but it is not working.
    so what should i do if I select from combo box in one frame and based on the selection xml/html page will be displayed in the 2nd frame.
    if anybody has google account i can forward the zip file so it will be easier to understand.
    Regards
    Message was edited by:
    Postqueries
    Message was edited by:
    Postqueries

    If you have rights to modify tabular model then, you can create a measure in your Tabular model which returns previous week and then use this measure in Pivot Table.
    Thanks,
    Sagar K 
    (Blog: http://datamazik.blogspot.in/)

  • Can images be used as selections in a combo box in Acrobat 9 Pro?

    Can images be used as selections in a combo box in Acrobat 9 Pro? I only see options for text choices when I look at the combo box properties. Basically, I want to click the drop-down and see images (small logos) from which to choose as opposed to text choices.
    I'm grateful for any thoughts on this.

    Have a look at the PO sample that ships with Designer. It shows the provinces or states based on the country that you choose. Look in the Designer install folder under EN/Samples/Forms/Purchase Order/Dynamic Interactive

  • How to restrict metadata to use only view values

    I have a metadata which takes values from view, i want to restrict it's value to use only view values( as it is editable , user can type any value , and right now it is allowing any value but i want to restict it to use only view values.
    Thanks.

    Hi Chely,
       Try doing below steps and let us know if this solves the problem
    Log in to WCC
    Click on Administartion --> Admin applets --> configruation manager
    Choose the metadata value for which you have problem
    Click on Edit
    Click on Configure button next to Enable Option List
    What value do you see in Option List Type?
    Change it to Select List validated and see if problem persists.
    regards,
    Deepak

  • How to set current year,month as default value in combo box

    hi,  im newbie of xcelsius user
    i realize  that hv a issue that display combo box base on year & month
    let said
    <b><u>step 1</u></b>
    I create excel data like this
    <b><u>year___ </u>  </b>    |     <u><b>month_   </b></u> |     <u><b>Product</b></u> |     <u><b>revenue</b></u>
    02-04-09 |     02-04-09 |       a |     $4,154
    03-04-09 |     03-04-09 |       b |     $6,813
    04-05-09 |     04-05-09 |       a |     $9,875
    05-06-09 |     05-06-09 |       b |     $6,813
    06-04-10 |     06-04-10 |       a |     $6,813
    07-04-10 |     07-04-10 |       b |     $9,875
    08-06-10 |     08-06-10 |       a |     $9,875
    22-06-10 |     22-06-10 |       b |     $6,813
    <u><b>Step2</b></u>
    Then i go format cell to format/custom date to year & month
    Eg1: Year u2013>  02-04-09  convert to u2018YYYYu2019 (2009)
    Eg2: Month u2013>  02-04-09  convert to u2018mmmmu2019 (April)
    So output like this
    <u><b>year</b></u> |     <u><b>month</b></u> |     <u><b>Product</b></u> |     <u><b>revenue </b></u>
    2009 |     April |     a |     $4,154
    2009 |     April |     b |     $6,813
    2009 |     May |     a |     $9,875
    2009 |     June |     b |     $6,813
    2010 |     April |     a |     $6,813
    2010 |     April |     b |      $9,875
    2010 |     June |     a |     $9,875
    2010 |     June |     b |     $6,813
    But the problem is when i insert to combo box,use u201Cfilter Row u201D, i excpectation will display only 2009,2010
    But Actual display the Year  in combo box is duplicated :'(
    so any solution ? and then only how to set current year & month as default value  :'(
    thanks,
    regards
    s1
    Edited by: Leong Pui Kee on Feb 25, 2011 5:25 AM
    Edited by: Leong Pui Kee on Feb 25, 2011 5:36 AM

    hi,
    your created  data
    step 1
    I create excel data like this
    year___ | month_ | Product | revenue
    02-04-09 | 02-04-09 | a | $4,154
    03-04-09 | 03-04-09 | b | $6,813
    04-05-09 | 04-05-09 | a | $9,875
    05-06-09 | 05-06-09 | b | $6,813
    06-04-10 | 06-04-10 | a | $6,813
    07-04-10 | 07-04-10 | b | $9,875
    08-06-10 | 08-06-10 | a | $9,875
    22-06-10 | 22-06-10 | b | $6,813
    In this, year and month both are same data, make the diffent data like year  2009, 2010  And month Jan, Feb, March, ...Etc 
    and also one more check you formulas on month and year, select correct source data, destination data  for compoonent..
    OR
    from above, to create a date column and convert  date-->year, date--> month and Explore it.
    All the best,
    Praveen

  • Can I use an LOV with a Combo Box?

    ... and if so, how?
    This should be easy, but I've been searching for over an hour now and I keep getting instruction on how to do each individually, but not how to put them together for the desired behavior.
    My goal is to have a combo box (single line text field with a drop down arrow) that, when the user clicks the arrow, displays a list populated from a column in the data base and the user selects a value.
    I'm using Oracle 10g2
    Thanks in advance,
    Darren

    Why don't you create a record group and populate that record group into the list item on runtime?
    -Ammad

  • ABAP Webdynpro cannot display value help, combo box properly in IE ?

    Hi WDA expert,
    I have problem developing webdynpro in NW 7.0 EHP1 SPS02. All the combo box, value help, drop down input did not properly display using IE 7.0 / 8.0. It is something like create another  blank input beside the original object.
    but everything ok if i am using mozilla firefox.
    I am not sure what is the problem with this.
    Please help.
    Thank You and Best Regards
    Fernand.

    Hi Thomas,
    Thank you for your response, But i am still not able to solve the problem. Let me give you more detail information regarding this issue.
    are you using the Portal? The other poster in this thread seems to think so, but I don't see anything in your postings to indicate that. IE7 is supported on your release/SP level. IE8 is not supported until SPS5.
    => I am not using portal it is just normal test from SAP GUI. I am using IE 8.0.6001.18702. So far i have tested the sample webdynpro "WDR_TEST_SELECT_OPTIONS" to 4 different server (PID, PIQ, ECD, ECQ) all using the same version NW 7.0 EHP 1 SPS02. (i have check for ABAP and BASIS package). The problem only occur in PID (Initially the icm service is not start so i use transaction SICF to start the webdynpro service) not sure if there is missing java script library ?
    Please refer in this link for the different result screen capture below:
    http://i802.photobucket.com/albums/yy310/pisuper/WDA_DEV.jpg   --> error in PID
    http://i802.photobucket.com/albums/yy310/pisuper/WDA_QA.jpg    -
    > success in PIQ, ECD, ECQ
    I would recommend clearing your browser cache and the server side cache. For the server side cache go to transaction SMICM and choose Administration->ICM->Exit Hard->Global.
    I have restarted the whole server and i did again from SMICM. But still having the same problem like in the screen capture.
    Are you using a standard or customized theme?
    I am using standard theme base on demo "WDR_TEST_SELECT_OPTIONS"
    Base on my latest investigation seems like those 3 success server PIQ, ECD and ECQ always download this file ls_ie6.nosprite.css in the internet temporary directory, but then no for PID. 
    is that any idea or suggestion that i can try to solve this problem. it seems like some configuration was missing for the standard theme in PID
    Thank You and Best Regards
    Fernand Lesmana
    Edited by: Fernand Lesmana on Jun 16, 2010 3:52 PM

  • Using IO to create a Combo Box

    Hello,
    I have failed to find any examples on how to do the following, and have not yet figured out how to do it msyelf.
    I want to add the entire contents of a file containg a list of people's personal numbers and their names to a combo box that is then added to the frame.
    Here is the code: -
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import java.util.*;
    public class IOCombo extends JFrame
    implements ActionListener {
    public JButton b1;
    public JPanel panel, panel_top, panel_office;
    public JFrame frame;
    public JLabel officeLabel, personLabel, buttonWorkedLabel;
    String OfficeChosen;
    String[] Office = {"London", "Paris", "NYC"};
    String[] OfficeList;
    int[] personalNumber;
    public IOCombo() {
    frame = new JFrame("IOCombo Test");
    panel_top = new JPanel();
    panel_office = new JPanel();
    panel = new JPanel();
    officeLabel = new JLabel("The Office is in ");
    personLabel = new JLabel(".");
    buttonWorkedLabel = new JLabel(".");
    // Exit when the window is closed.
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    b1 = new JButton("Office");
    b1.setVerticalTextPosition(AbstractButton.CENTER);
    b1.setHorizontalTextPosition(AbstractButton.LEFT);
    b1.setMnemonic(KeyEvent.VK_O);
    //Listen for actions
    b1.addActionListener(this);
    //tooltips for buttons
    b1.setToolTipText("Choose an Office and a person and then click to edit that Office's Person.");
    JComboBox office = new JComboBox(Office);
    office.setSelectedIndex(0);
         office.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e) {
         JComboBox cb = (JComboBox)e.getSource();
         OfficeChosen = (String)cb.getSelectedItem();
    try
    whichOffice(OfficeChosen);
    catch(IOException ex)
    //set layout of all panels and add them to frame.
    panel_office.add(officeLabel);
    panel_office.add(office);
    panel_office.add(personLabel);
    panel_top.setLayout(new FlowLayout());
    panel_top.add(b1);
    panel_top.add(buttonWorkedLabel);
         panel.setLayout(new GridLayout(3,0));
    panel.add(panel_office);
    panel.add(panel_top);
    frame.getContentPane().add(panel);
    frame.pack();
    frame.setVisible(true);
    public void actionPerformed(ActionEvent e) {
    String buttonPressed = e.getActionCommand();
    if (buttonPressed.equals("Office"))
    /**This is just a test, removed the Dialog class to
    manipulate the office*/
    buttonWorkedLabel.setText("Worked");
    else {
    /** How do I set-up the combo box using the Office Person chosen from the
    file and allocate it to the frame?*/
    public void whichOffice(String OfficeChos)throws IOException{
    officeLabel.setText("The Office chosen is: " + OfficeChos);
    String s, name ="";
    int personalNum;
    BufferedReader fr = null;
    fr = new BufferedReader(new FileReader (OfficeChos+".txt"));
    while ((s=fr.readLine()) != null)
    StringTokenizer st = new StringTokenizer (s," ");
    personalNum = Integer.parseInt(st.nextToken());
    st.nextToken();
    name = st.nextToken() + " " + st.nextToken();
    personLabel.setText(personalNum + " " + name);
    /** This method only works if the file contains person
    how should I change this to read everyone in?
    I want to add the entire contents of personal number and name
    of the file to a combo box that is then added to the frame.
    public static void main(String[] args) {
    IOCombo iocombo = new IOCombo();
    The file I have set-up currently that works is called "London.txt" and it contains: -
    1 = John Smith
    Cheers in advance,
    Richard.

    Hi,
    Sorry I cannot get the code you provided to work, not sure if its your code or the ways I have tried to implement it. Please can you check into it and if it works give the completed code.
    Reprovided code with formating :-)
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import java.util.*;
    public class IOCombo extends JFrame
                            implements ActionListener {
        public JButton b1;
        public JPanel panel, panel_top, panel_office;
        public JFrame frame;
        public JLabel officeLabel, personLabel, buttonWorkedLabel;
        String OfficeChosen;
        String[] Office = {"London", "Paris", "NYC"};
        String[] OfficeList;
        int[] personalNumber;
        public IOCombo() {
            frame = new JFrame("IOCombo Test");
            panel_top = new JPanel();
            panel_office = new JPanel();
            panel = new JPanel();    
            officeLabel = new JLabel("The Office is in ");
            personLabel = new JLabel(".");
            buttonWorkedLabel = new JLabel(".");
    // Exit when the window is closed.
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            b1 = new JButton("Office");
            b1.setVerticalTextPosition(AbstractButton.CENTER);
            b1.setHorizontalTextPosition(AbstractButton.LEFT);
            b1.setMnemonic(KeyEvent.VK_O);
    //Listen for actions
            b1.addActionListener(this);
    //tooltips for buttons
            b1.setToolTipText("Choose an Office and a person and then click to edit that Office's Person.");
            JComboBox office = new JComboBox(Office);
            office.setSelectedIndex(0);
         office.addActionListener(new ActionListener() {
                 public void actionPerformed(ActionEvent e) {
                         JComboBox cb = (JComboBox)e.getSource();
                         OfficeChosen = (String)cb.getSelectedItem();
                            try
                                whichOffice(OfficeChosen);
                            catch(IOException ex)
    //set layout of all panels and add them to frame.
            panel_office.add(officeLabel);
            panel_office.add(office);
            panel_office.add(personLabel);
            panel_top.setLayout(new FlowLayout());
            panel_top.add(b1);
            panel_top.add(buttonWorkedLabel);
         panel.setLayout(new GridLayout(3,0));
            panel.add(panel_office);
            panel.add(panel_top);
            frame.getContentPane().add(panel);
            frame.pack();
            frame.setVisible(true);
        public void actionPerformed(ActionEvent e) {
            String buttonPressed = e.getActionCommand();
            if (buttonPressed.equals("Office"))
                    /**This is just a test, removed the Dialog class to
                     manipulate the office*/
                    buttonWorkedLabel.setText("Worked");
            else {
                /** How do I set-up the combo box using the Office Person chosen from the
                 file and allocate it to the frame?*/
        public void whichOffice(String OfficeChos)throws IOException{
            officeLabel.setText("The Office chosen is: " + OfficeChos);
            String s, name ="";
            int personalNum;
            BufferedReader fr = null;
            fr = new BufferedReader(new FileReader ("c:\\java\\kjc\\set\\"+OfficeChos+".txt"));
            while ((s=fr.readLine()) != null)
                    StringTokenizer st = new StringTokenizer (s," ");
                    personalNum = Integer.parseInt(st.nextToken());
                    st.nextToken();
                    name = st.nextToken() + "  " + st.nextToken();
                    personLabel.setText(personalNum + " " + name);
                    /** This method only works if the file contains person
                     how should I change this to read everyone in?
                     I want to add the entire contents of personal number and name
                     of the file to a combo box that is then added to the frame.
        public static void main(String[] args) {
            IOCombo iocombo = new IOCombo();
    }Cheers,
    Richard

  • How to get values of combo box?

    Hi All,
    I had a problem that need to be solve asap. I would be very appreciated if anyone could help me.
    I had a combo box that contain a string "Flower and Gifts" and when i passed the value to another jsp file it show only "Flower". I had been think for a long time about this problem. How can i pass the value to another jsp file with the whole value "Flower and Gifts".
    Please reply asap. Thanks all.

    Hi,
    Even i had the same problem earlier. Just try to print the string that you are passing to the next page, if it reads something like this "Flowers%20and%20Gifts" then you have to replace the special characters (i.e.,'%,2,0')with the blank spaces so that you have the complete string.
    Example:
    String str = "Flowers%20and%Gifts";
    if(str.indexOf('%')!=-1)
    str = str.replace('%','');
    Thanks,
    Rkanth

  • Trying to get export value from combo box

    Using the "Custom Keystroke Script" for a combo box:
    // This works but gives the current face value
    if( event.willCommit )
        app.alert(event.value);
    // This works but gives the previous export value
    if( event.willCommit )
        app.alert(event.target.value);
    What I need is the clicked items' current export value as soon as it is clicked.
    What am I doing wrong?

    Sorry about that. I posted the question and then realized I should have just used the same thread.
    Any way, I tried your code and it does not show the current export value. It shows the previously selected value.
    Example:
    When I click item 2 it shows item 0
    Then I click item 4 and it shows item 2
    Then I click item 7 and it shows item 4.. etc.. (see the pattern)
    What I need is the value from the item I'm currently clicking on.
    If I click item 2, I expect to see item 2. etc..
    Thank you for your patience in answering this!

  • Expense reporting, get values from column and return only unique values somewhere else

    i would like check a column for the values it contains (expense categorizations) and then return a list of only the unique values somewhere else in a vertical list. So "gasoline" may be listed 12 times in the reference list but in my result listing i would expect it to only show up once. If there is a way to do this then I would also like to know how empty cells are handled.
    I will then be applying a SUMIF to the returned list to get totals for all the unique categorization a have specified.
    Thank you for your time.

    Deleting the first row made your $F$2 become $F$1.
    Explaining how a formula works is not so easy to do. I'll try, but the best way is to read up on the formulas and piece it all together.  There's nothing fancy or tricky going on here.
    The "active ingredient" in the formula is this piece: OFFSET('Table 1-2'::$F$1,SMALL('Table 1-2'::G,ROW()−1)−1,0)
    ROW() returns the row number of the cell that has the formula in it. It is an easy way to get an ever increasing number for the formula. The other way would be to have another column with 1,2,3,4, etc. in it.  So, ROW() will return the number 1 if the formula is in row 1, will return the number 2 in row 2, etc.
    SMALL(range, n) returns the nth smallest number from the given range of numbers.  So, for the formula  in row 2, SMALL('Table 1-2'::G, ROW()−1) becomes SMALL('Table 1-2'::G, 1) which will return the 1st smallest number from the G column of Table 1-2.  In the 3rd row it would return the 2nd smallest number. Etc.  And remember that those numbers it is returning are the row numbers of your unique values in Table 1-2.
    OFFSET(base, row offset, column offset) is a way of  referencing a cell.  For instance, OFFSET($F$1,1,0) would be one row down from cell F1. OFFSET($F$1,2,3) would be two rows down and three columns to the right of cell F1.  The SMALL formula has given you the row number for a unique value in your Table 1-2.  To reference the correct row, the row offset from F1 needs to be one less than that number (an offset of 0 = cell F1. An offset of 1 = cell F2, etc.). The column offset is zero.

  • How to show only six values in dropdown box in design studio 1.3

    Hi,
    There was an requirement from our client to show only last six months in the drop down, when actually there is almost past 30 months are coming from the database. The data format also looks similar to "2014007", "2014006:..etc. Any idea to achieve this through loop.?
    Thank You,
    Palani

    Hi Karol,
    I like your idea, but i have difficulties to use it
    i have a datasource DS_2 and i just want to show specific Members of my keyfigures.
    When i fill my dropdown with this code it just gets empty and returns an error. Somehow i have to say if i want to show the Key or Text ?
    i also need this infiormation to be able to compare my elements in the if clause ?!
    Can you help me out ?
    Best regards
    Manfred
    DS_2.getMembers("003N81FHQ23D64UTALOPW7MVN",0).forEach(function(element, index) {
    DROPDOWN_2.addItem(index, element);
    /*  if ((element == value1) || (expression2 == value2)) {
       if_statements
      } else {
       else_statements
    EDIT ....
    I've found the way how to access the keys and values ... i have to define an array and then i am able to access the internal keys and Text.
    Just for others searching ....
    var ArrayMem = DS_2.getMembers("003N81FHQ23D64UTALOPW7MVN",0);
    DROPDOWN_2.addItem("#", "No Filter");
    ArrayMem.forEach(function(element, index) {
      if ((element.text == "Anzahl Sätze") || (element.text == "Gepäckgewicht")) {
       DROPDOWN_2.addItem(element.internalKey, element.internalKey + " - " + element.text);
    This SCN article helped me out: http://scn.sap.com/community/businessobjects-design-studio/blog/2014/09/19/learn-about-arrays-in-design-studio-13
    Best regards
    Manfred

  • Display all columns but only unique values in one column

    My table looks like this;
    ApprovalKey (PK)
    ApprovalCCN (Links to main table)
    ApprovalName
    ApprovalDate
    ApprovalMsg
    ApprovalResult
    Typical data would look like;
    Key CCN ApprovalName ApprovalDate ApprovalMsg ApprovalResult
    1 1 John Smith 12/12/2014 16:20:22 Testing the message False
    2 1 Andy Brown 12/12/2014 16:20:27 testing the decline False
    3 1 John Smith 12/12/2014 16:20:46 More testing True
    4 1 Andy Brown 12/12/2014 16:25:13 testing True
    5 2 Andy Brown 12/12/2014 16:25:26 testing the accept True
    6 2 John Smith 12/12/2014 16:34:04 testing, 1 2 True
    When I view data from linked table (matched via ApprovalCCN) It should display data from this table but only the latest unique entry from ApprovalName.
    eg, table from above has 4 entries for ApprovalCCN=1 but should only show the following;
    Key CCN ApprovalName ApprovalDate ApprovalMsg ApprovalResult
    3 1 John Smith 12/12/2014 16:20:46 More testing True
    4 1 Andy Brown 12/12/2014 16:25:13 testing True
    Distinct ApprovalName doesn't return all values and I can't seem to get my head around Group By to view all columns
    Any help would be appreciated

    Here is my test data;
    7 30 John Smith 12/12/2014 16:20:22 Testing the message False
    8 30 Andy Brown 12/12/2014 16:20:27 testing the decline False
    9 30 John Smith 12/12/2014 16:20:46 More testing True
    10 30 Andy Brown 12/12/2014 16:25:13 testing True
    20 30 David Jones 12/12/2014 16:25:26 testing False
    21 30 David Jones 12/12/2014 16:34:04 Testing the message True
    25 30 Me 12/12/2014 16:35:05 testing the decline False
    26 28 You 12/12/2014 16:36:05 testing the decline False
    27 28 Me 12/12/2014 16:37:05 testing True
    28 28 John Smith 12/12/2014 16:38:05 testing the decline False
    29 28 David Jones 12/12/2014 16:39:05 testing the decline False
    30 30 David Jones 14/12/2014 17:39:44 True
    31 29 David Sawyer 14/12/2014 18:51:06 declining the offer False
    32 29 David Sawyer 14/12/2014 18:51:37 My message False
    33 29 David Sawyer 14/12/2014 18:52:01 another message False
    34 29 David Sawyer 14/12/2014 18:52:16 True
    35 29 David Sawyer 14/12/2014 18:52:25 True
    36 29 David Sawyer 14/12/2014 18:52:34 True
    If ApprovalCCN=30 I get the following;
    10 30 Andy Brown 2014-12-12 16:25:13.000 testing 1 1
    30 30 David Jones 2014-12-14 17:39:44.000 1 2
    9 30 John Smith 2014-12-12 16:20:46.000 More testing 1 1
    25 30 Me 2014-12-12 16:35:05.000 testing the decline 0 1
    All I need is 3 Approved, 1 Declined
    Apologies if I wasn't clear

  • How to create a Year to Date Query when only Monthly values are in the data

    Hi SDN community,
    Is it possible to create a query by dragging in the fiscal year period characteristic , and any other required characteristics in the rows,
    and then use functionality to have columns of data that add up the previous periods. 
    ex.  the month of sept, = Jul + aug + sep
    i basically want to see 12 columns of Actuals,
    and then a trend line, to add up those columns.
    If we load up the data with a YTD time variant out of the system and load, then this is fine, but can we do it with the query and how.
    Thank you.
    Simon

    Hi,
    ex. the month of sept, = Jul + aug + sep
    Of course it is possible in Query,
    -->Create a formula on the key fig.
                   NoDim(<Key Fig Name>)
    -->in Property of that formula, in Calculation Tab
    -->Check the Cumulative Property
    -->Select Either Along Rows or Along Columns as per your requirement
    please give more details, so I can provide Full steps for that..
    Best regards
    Obaid

Maybe you are looking for

  • How do I create  a PDF using Acrobat 7.0 in Windows 8 from a Visio drawing on a 64-bit system

    I used to be able to create a PDF using Acrobat 7.0 from a Visio drawing in XP. Now I'm running a 64-bit system, no Adobe printer can be installed, and it is unsupported.  Help?

  • Out of Range problem

    I have a G5 dual 2.3 with a Sony monitor (analog) connected to the DVI port by the converter that came with the Mac. I have a problem in that certain games set the default resolution to a setting that is out of range of the monitor. Specifically, the

  • My 2g is going nuts :(

    First I started having this green.orange.green problem with my unit. And now it will not even let me connect it to a USB port on my MacBook! When I connect it it gives me the "this USB has low power" warning (I think similar warning to the ones you g

  • My iPod Touch suddenly will not sync calendars with Outlook

    I have an iPod Touch and a computer with Windows 7 64bit Suddenly my ipod calendars will not sync.. everything else does Any suggestions

  • Table maintenace generator

    hi all, i had created table maintenance generator for my ztable. and now i made some changes to the table  again do i need to maintain . if so how? regards, siri.