Get total results

hi experts,
we can get each quanlity field total result at the bottom of the searched results by bps basic function,but I wanna know how to exclude some special fields,not all the quanlity fields should get the total result
Best regards
zlf

In query designer, right click the characteristic -> property, you will find "suppress result"
Reference: http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/25213c9cffa027e10000000a11402f/frameset.htm

Similar Messages

  • Can not retrive total result for 0HDCNT_LAST(number of  employee)

    Dear all:
    We tried to create query from cube 0PA_C01. We used 0ORGUNIT and Number of Employees(0HDCNT_LAST) in the row and column.Also we created a formula to get total result of number employees by SUMGT (0HDCNT_LAST). But when we executed this query, there is no cumulative value appeared in the "total result" of bottom row. And we are not able to catch total result by formula as well. The setting for infoObject of 0HDCNT_LAST is integer and cumulative.
    Can anyone tell me what is going wrong?
    Thank you very much
    BR
    SF

    Hi Jasprit,
    I am loading the headcount (0HR_PA_0) to Actions & Headcount cube. As a part of load I have used all the standard fields of the cube. Apart from that I have populated the functional group value from Employee-Org Masterdata. As this is an time dependent.
    0HDCNT_LAST is an non-Cumulative key figure in the cube which is get populated from the 0HR_PA_0.
    I required a headcount report by functional group. So I have pulled 0HDCNT_LAST & Period into the Columns and Functional Group into Rows.
    When I run the report for headcount by function group it is showing very less value. But if run the same report by including the Employee and the functional group in the rows then it is showing the correct headcount in the result.
    I am not sure where I am missing.
    Regards,
    Tony

  • How to get total number of result count for particular key on cluster

    Hi-
    My application requirement is client side require only limited number of data for 'Search Key' form total records found in cluster. Also i need 'total number of result count' for that key present on the custer.
    To get subset of record i'm using IndexAwarefilter and returning only limited set each individual node. though i get total number of records present on the individual node, it is not possible to return this count to client form IndexAwarefilter (filter return only Binary set).
    Is there anyway i can get this number (total result size) on client side without returning whole chunk of data?
    Thanks in advance.
    Prashant

    user11100190 wrote:
    Hi,
    Thanks for suggesting a soultion, it works well.
    But apart from the count (cardinality), the client also expects the actual results. In this case, it seems that the filter will be executed twice (once for counting, then once again for generating actual resultset)
    Actually, we need to perform the paging. In order to achieve paging in efficient manner we need that filter returns only the PAGESIZE records and it also returns the total 'count' that meets the criteria.
    If you want to do paging, you can use the LimitFilter class.
    If you want to have paging AND total number of results, then at the moment you have to use two passes if you want to use out-of-the-box features because LimitFilter does not return the total number of results (which by the way may change between two page retrieval).
    What we currently do is, the filter puts the total count in a static variable and but returns only the first N records. The aggregator then clubs these info into a single list and returns to the client. (The List returned by aggregator contains a special entry representing the count).
    This is not really a good idea because if you have more than one user doing this operation then you will have problems storing more than one values in a single static variable and you used a cache service with a thread-pool (thread-count set to larger than one).
    We assume that the aggregator will execute immediately after the filter on the same node, this way aggregator will always read the count set by the filter.
    You can't assume this if you have multiple client threads doing the same kind of filtering operation and you have a thread-pool configured for the cache service.
    Please tell us if our approach will always work, and whether it will be efficient as compared to using Count class which requires executing filter twice.
    No it won't if you used a thread-pool. Also, it might happen that Coherence will execute the filtering and the aggregation from the same client thread multiple times on the same node if some partitions were newly moved to the node which already executed the filtering+aggregation once. I don't know anything which would even prevent this being executed on a separate thread concurrently.
    The following solution may be working, but I can't fully recommend it as it may leak memory depending on how exactly the filtering and aggregation is implemented (if it is possible that a filtering pass is done but the corresponding aggregation is not executed on the node because of some partitions moved away).
    At sending the cache.aggregate(Filter, EntryAggregator) call you should specify a unique key for each such filtering operation to both the filter and the aggregator.
    On the storage node you should have a static HashMap.
    The filter should do the following two steps while being synchronized on the HashMap.
    1. Ensure that a ConcurrentLinkedQueue object exists in a HashMap keyed by that unique key, and
    2. Enqueue the total number count you want to pass to the aggregator into that queue.
    The parallel aggregator should do the following two steps while being synchronized on the HashMap.
    1. Dequeue a single element from the queue, and return it as a partial total count.
    2. If the queue is now empty, then remove it from the HashMap.
    The parallel aggregator should return the popped number as a partial total count as part of the partial result.
    The client side of the parallel aware aggregator should sum the total counts in the partial result.
    Since the enqueueing and dequeueing may be interleaved from multiple threads, it may be possible that the partial total count returned in a result does not correspond to the data in the partial result, so you should not base anything on that assumption.
    Once again, that approach may leak memory based on how Coherence is internally implemented, so I can't recommend this approach but it may work.
    Another thought is that since returning entire cached values from an aggregation is more expensive than filtering (you have to deserialize and reserialize objects), you may still be better off by running a separate count and filter pass from the client, since for that you may not need to deserialize entries at all, so the cost on the server may be lower.
    Best regards,
    Robert

  • Not getting total of results row in bex query

    Hi Experts,
    In Bex I have created new formula variable which is the Percentage of On time delivery for a particular vendor. The problem is when I use calendar year and vendor in rows and CK in columns and execute the query, I am not getting the the total value of particular vendor percentage for the year. Instead I am getting the value of 'X'.
    I tried to change the calculation result as "summation" but still I am facing the same issue.. If need more explanation i can give screenshots.
    Please help.
    Regards,
    Mathivanan

    Hi Anshu,
    Thanks for your valuable reply. Here is the screenshots
    The formula variable I have created is based on some CK's.  When i run query for all vendors I am getting the result percentage. But when I run the query with calendar year I am getting result as below
    The OTD Percentage is not the total % of the year 2010 for the particular supplier(vendor).

  • Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group.

    Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group. Through this memberof class I am trying to find full qualified name(DN) of my group.
    code I have used:
    //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "";
    Also I have used,
                 String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "ou=ibmgroups,o=ibm.com";
    But in both cases I am getting value for Total groups as 0.
    Code Reference:
    * memberof.java
    * December 2004
    * Sample JNDI application to determine what groups a user belongs to
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    public class memberof     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls          
                   SearchControls searchCtls = new SearchControls();
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Andrew Anderson))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the group members
                   int totalResults = 0;
                   //Specify the attributes to return
                   String returnedAtts[]={"memberOf"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        System.out.println(">>>" + sr.getName());
                        //Print out the groups
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();totalResults++) {
                                            System.out.println(" " +  totalResults + ". " +  e.next());
                             catch (NamingException e)     {
                                  System.err.println("Problem listing membership: " + e);
                   System.out.println("Total groups: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
    Any help will be highly appreciated.

    Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group. Through this memberof class I am trying to find full qualified name(DN) of my group.
    code I have used:
    //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "";
    Also I have used,
                 String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "ou=ibmgroups,o=ibm.com";
    But in both cases I am getting value for Total groups as 0.
    Code Reference:
    * memberof.java
    * December 2004
    * Sample JNDI application to determine what groups a user belongs to
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    public class memberof     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls          
                   SearchControls searchCtls = new SearchControls();
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Andrew Anderson))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the group members
                   int totalResults = 0;
                   //Specify the attributes to return
                   String returnedAtts[]={"memberOf"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        System.out.println(">>>" + sr.getName());
                        //Print out the groups
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();totalResults++) {
                                            System.out.println(" " +  totalResults + ". " +  e.next());
                             catch (NamingException e)     {
                                  System.err.println("Problem listing membership: " + e);
                   System.out.println("Total groups: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
    Any help will be highly appreciated.

  • 10.5.5 Client Getting No Results with Spotlight Search

    Hi -
    My company is slow to change. We are just now getting some Leopard workstations in our enterprise. The thing my users noticed right away was that under 10.5.5, they are unable to get any results from Spotlight searches on our Tiger Xserves over AFP. The Tiger workstation users can get search results from share points but not Leopard ones.
    The Xserves all have 10.4.9 Server installed. The XServes and workstations are all bound to AD with SSO turned on. I limited the servers 10.4.9 Server because with 10.4.11 Server I get AD issues. 10.4.9 is stable for us.
    I am forced to use Leopard as the new MacPros demand it
    My question - What should I do so the Leopard workstations (10.5.5) can get real Spotlight results from my share points?
    I have looked at the other Apple Support Boards and I don't get understand what they are talking about.
    Thanks in advance.

    I am an IT manager in a similar situation. However, I have shelled out the thousands to upgrade everything to the latest OS with my xserve running 10.5.5, and users running 10.5.5 or 10.5.6. Spotlight is totally useless. I have talked to tech "supportless" several times - no help. I have installed and reinstalled 10.5 on the server, reformatted drives, copied and deleted hundreds of gigs of data, done all kinds of terminal commands that were supposed to fix it, but it still just doesn't work. I wish Apple would stop coming out with new stuff for a while and fix this basic computer function. For now I use "Better Search". Better Search is Freeware from http://www.fornextsoft.com. Its ok - at least it finds stuff, but it is still not 100% accurate sometimes.

  • Total result  & formula result  is wrong in query out put

    Hi BW gurus
    I have issue with total result and formula result
    my requirement
    Formula for hours is ( total time / Counter / 60)
    hours  column displaying
       14.2
         2.4
         3.4
    Total -
    5.6   not  20    then I setp calculate results to SUM  now total displying 20  perfect.
    Then I am using hours colum for calculation   here is my issue
    Qty rec per hour formula is = received / Hour
    Hours   Qty rec per hour          received
    14.2              100                            14200
    2..4               100                              2400
    3.4                100                              3400
    20                 300                              20000        result column for qty rec per hour is wrong . formula is not working on result for qty rec per hour
    Actually qty rec per hour result should be 20000/20  = 1000
    How to resolve this issue
    Thanks
    Rohan

    Hi BW Gurus,
    Thanks for your help .
    Let me explain my issue with examples :
    My report is by document date level ( Not at Po or PO line Level)
    I have a 3 Key figures
    1.  Hour -  is poulation at  PO Line level
    Ex :  4500001    1             5.30
                             2            5.30
                             3            5.30
    Then I am using counter to get single for time
    Hour/ Count  now my value is 5.30 in the report . hour column is perfect
    2. Po Qty  is fine
    3.  Qty Recd per hour ( Calculation)    PO QTy / Hour
    Now the issue is  each row caluculating perfect . but result row is not correct  Qty Received per hour . We don"t wont  sum of  Qty received per hour in result . We want  Caluclation result in the result
    Here is the issue
    If I have multiple POs for same document date  , each row is fine but system using division at Hour result also by COunter . because of thati am getting wrong hours in result for hour . this wrong result is using for Poqty receved per hour result  also .
    I put total for hour coulum result is perfect but for clauclation it is talking total hours/ total conter result .How to replace result caluculating by counter .This is our major issue .
    Appriciate your response
    Thanks
    Rohan

  • How to get total at each hierarchy

    Hello Gurus,
    Does anybody know how to get total at each  level.
    I mean, if I have the following structure...
    Level 1
    Level 2
    Level 3
    Level 4
    Level 5
    At level 5 we have the following calculation
    Volume      Price    Amount(From Formula Volume * price)
    5                 2           10,00
    6                 3           12,00
    7                 4            28,00
    My question is how to get  a sum of (10,00 + 12,00 +28,00 = 50,00) at level 4?
    Thanks in advance.
    With regards,
    Anand

    Does anybody know how to get total at each level.
    I mean, if I have the following structure...
    Level 1
    Level 2
    Level 3
    Level 4
    Level 5
    At level 5 we have the following calculation
    Volume       Price       Amount(From Formula Volume * price)
    5                     2                 10,00
    6                     3                 12,00
    7                     4                  28,00
    I am getting following results : It is adding volume and price then multiplying volume * price and giving results.
    18                  9                18 * 9 = 162,00
    But I have to get sum of  ( 10,00 + 12,00 +28,00 = 50,00) at level 4.
    My question is how to get a sum of (10,00 + 12,00 +28,00 = 50,00) at level 4?
    Thanks.
    With regards,
    Anand

  • Getting no results when connecting to Oracle DB.

    Hello , I'm tryin to connect to an Oracle DB and I get no result excpet that the console prints the following :
    oracle.jdbc.driver.OracleDriver
    BUILD SUCCESSFUL (total time: 0 seconds)
    why so? here is my code :
    import java.sql.*;
    public class ListMovies {
    private static Connection getConnection()
        Connection con = null;
         try
            String driverName = "oracle.jdbc.driver.OracleDriver";
            Class.forName(driverName);
            String serverName = "172.16.100.120";
            String portNumber = "1521";
            String sid = "taddb";
            String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
            String user = "fundinfo";
            String pw = "tadapps";
            con = DriverManager.getConnection(url, user, pw);
         catch (ClassNotFoundException e) {
                                        System.out.println(e.getMessage());
                                        System.exit(0);
         catch (SQLException e) {
                                  System.out.println(e.getMessage());
                                  System.exit(0);
        return con;
        private static ResultSet getMovies() {
            Connection con = getConnection();
        try
             Statement stmt = con.createStatement();
             String select = "select title,year,price "+" from movie order by year";
             ResultSet rows;
             rows = stmt.executeQuery(select);
             return rows;
        catch(SQLException e) {
                 System.out.println(e.getMessage());
            return null;
               private static class Movie
                          public String title;
                          public int year;
                          public double price;
                       public Movie(String title,int year , double price)
                                    this.title = title;
                                    this.year = year;
                                    this.price = price;
                      private static Movie getMovie(ResultSet movies)
                                          try
                                             String title = movies.getString("title");
                                             int year = movies.getInt("year");
                                             double price = movies.getDouble("price");
                                             return new Movie(title,year,price);
                                              catch(SQLException e)
                                               System.out.println(e.getMessage());
                                          return null;
    public static void main (String [] args)
        ResultSet movies = getMovies();
           try
               while(movies.next())
                        Movie m = getMovie(movies);
                        String msg = Integer.toString(m.year);
                        msg += ": "+ m.title;
                        msg += Double.toString(m.price);
                        System.out.println(msg);
           catch(SQLException e)
               System.out.println(e.getMessage());
    }Thanks

    That message is comiong from this
         catch (ClassNotFoundException e) {
                                        System.out.println(e.getMessage());
                                        System.exit(0);
                                          }fix your classpath and provide much better error indicators.

  • How to get total ?

    Hello  friends,
    I have one internal table which contains following reords
    MATNR  WERKS   STLNR       IDNRK    MENGE
    97131     TX02       00000522    99208A    16.000
    97131     TX02       00000523    99208A    16.000
    97141     TX02       00000570    99207A     6.000
    97141     TX02       00000570    99207A    10.000
    97141     TX02       00000570    99207A     4.000
    I want to get total of MENGE for same MATNR, WERKS,STLNR and IDNRK. and append in to the another table.
    So above result will be
    97131     TX02       00000522    99208A    16.000
    97131     TX02       00000523    99208A    16.000
    97141     TX02       00000570    99207A    20.000
    Please give me example.
    Regards,
    Ronny

    Hi Ronny Hanks,
    Insted of Append you need to write Collect.
    See this example program for collect statement.
    DATA: BEGIN OF LINE,
            COL1(3) TYPE C,
            COL2(2) TYPE N,
            COL3    TYPE I,
          END OF LINE.
    DATA ITAB LIKE SORTED TABLE OF LINE
              WITH NON-UNIQUE KEY COL1 COL2.
    LINE-COL1 = 'abc'. LINE-COL2 = '12'. LINE-COL3 = 3.
    COLLECT LINE INTO ITAB.
    WRITE / SY-TABIX.
    LINE-COL1 = 'def'. LINE-COL2 = '34'. LINE-COL3 = 5.
    COLLECT LINE INTO ITAB.
    WRITE / SY-TABIX.
    LINE-COL1 = 'abc'. LINE-COL2 = '12'. LINE-COL3 = 7.
    COLLECT LINE INTO ITAB.
    WRITE / SY-TABIX.
    LOOP AT ITAB INTO LINE.
      WRITE: / LINE-COL1, LINE-COL2, LINE-COL3.
    ENDLOOP.
    <REMOVED BY MODERATOR>
    Mahi.
    Edited by: Alvaro Tejada Galindo on Feb 18, 2008 9:39 AM

  • MDX How to get total distict count and SUM of subgroups?

    with
    MEMBER Measures.[EmailCount] as IIF(ISEMPTY([Measures].[Tran Count]), 0 ,[Measures].[Tran Count])
    MEMBER Measures.AdvGroupTotal as
    SUM (
    FILTER( EXISTING ([Dim IFA Details].[Parent Key].[Adviser Group].Members * [Dim Date].[Fiscal].[Fiscal Year].members )
    , Measures.[Amount] > 100 )
    , Measures.[Amount])
    MEMBER Measures.[AdvGrpCount] as
    distinctCOUNT(Existing([Dim IFA Details].[Parent Key].[Adviser Group].Members * [Dim Date].[Fiscal].[Fiscal Year].members))
    member Measures.IncomePerEmail as Measures.AdvGroupTotal /Measures.[EmailCount]
    member Measures.AvgIncomePerFirm as Measures.AdvGroupTotal/ Measures.AdvGrpCount
    SELECT { [Measures].[Amount] , Measures.[EmailCount], Measures.AdvGroupTotal, Measures.[AdvGrpCount],
    Measures.IncomePerEmail, Measures.AvgIncomePerFirm }
    ON COLUMNS,
    [Dim Date].[Fiscal Year].[Fiscal Year].ALLMEMBERS * [Dim Date].[Fiscal Quarter].[Fiscal Quarter].ALLMEMBERS *
    Except( [Dim Income Range].[Hierarchy].[Range ID].Members , [Dim Income Range].[Hierarchy].[All].UNKNOWNMEMBER.UNKNOWNMEMBER )
    on rows
    FROM [Income and Emails Cube]
    where
    [Dim Date].[Fiscal].[Fiscal Year].&[FY 13/14]
    The query above returns :
    How can I get Totals for AdvGroupTotal and AdvGroupCount for the year ?
    In the above case I want to tally up 1586 + 67 + 155 + 12 + 1718 for AdvGroupCount, same applies for the corresponding
    AdvGroupTotal figures.
    Seems simple enough, but I seem unable to come up with a way around this.
    Jon

    I worked it out with the help of Simon from another forum.
    Using a filtered set will get me the result required. It is however not very quick, so I probably should look into building it into the cube.
    WITH SET [Filtered Groups] AS
    ( Filter (
    { [Dim IFA Details].[Parent Key].[Adviser Group] } *
    { [Dim Date].[Fiscal Year].CurrentMember },
    [Measures].[Amount] > 100
    MEMBER [Measures].[Annual] AS
    Sum ( [Filtered Groups], Measures.[Amount] )
    MEMBER [Measures].[Firm Count] AS
    DistinctCount ( [Filtered Groups] )
    MEMBER [Measures].[Avg Income Per Firm] AS
    [Measures].[Annual] / [Measures].[Firm Count]
    MEMBER [Measures].[Test] AS
    Sum (
    { [Dim Date].[Fiscal Quarter].[Fiscal Quarter] } * { [Dim Income Range].[Hierarchy].[Range ID] } * { [Filtered Groups] },
    [Measures].[Amount]
    MEMBER [Measures].[TotalCount] AS
    DistinctCount (
    { [Dim Income Range].[Hierarchy].[Range ID] } * { [Filtered Groups] }
    MEMBER [Measures].[TotalAvg] as [Measures].[Test]/ [Measures].[TotalCount]
    MEMBER [Measures].[Quarter] as [Measures].[Amount]
    SELECT
    { [Measures].[Quarter], [Measures].[Annual], [Measures].[Firm Count], [Measures].[Avg Income Per Firm],
    [Measures].[Test], [Measures].[TotalCount], [Measures].[TotalAvg] } ON COLUMNS,
    [Dim Date].[Fiscal Year].[Fiscal Year].AllMembers * [Dim Date].[Fiscal Quarter].[Fiscal Quarter].AllMembers *
    Except ( [Dim Income Range].[Hierarchy].[Range ID].Members, [Dim Income Range].[Hierarchy].[All].UnknownMember.UnknownMember )
    DIMENSION PROPERTIES Member_Unique_Name, MEMBER_CAPTION
    ON ROWS
    FROM [Income and Emails Cube]
    WHERE [Dim Date].[Fiscal].[Fiscal Year].&[FY 13/14]

  • How to get total available RAM

    Hi
    How to get total available RAM of the system. I used Runtime.getInstance().totalMemory(), it is not giving total memory of the system. I appreciate any help on this pl.
    Thx
    PK

    If there would be any operating system command
    displaying the desired result,
    we could execute it as runtime command and parse the
    output.
    But I don't know if such a command exists.
    I tried "mem", but it does not show the value I
    expected.For windows XP the following command (either in the cmd window or executed by Runtime.exec) will provide the physical memory size.
    systeminfo | find "Total Physical Memory"I don't know if it works in other Windows versions.

  • How I can change this query? to get the results I want

    This query
    select
    SHRTGPA_pidm,
    SZSTCLA_TERM_CODE,
    SHRTGPA_GPA_HOURS
    from  szstcla,SHRTGPA
    where szstcla_pidm = 74246
    and SHRTGPA_pidm = szstcla_pidm
    and SZSTCLA_TERM_CODE <> SZSTCLA_TERM_CODE_MATRIC
    and SHRTGPA_TERM_CODE = SZSTCLA_TERM_CODEreturns
    74246     201020     4
    74246     201120     4
    74246     201110     4
    74246     201210     4
    74246     201220     4 I want to aggregate so the query will return
    74246 201020     4
    74246 201120     8
    74246 201110     12
    74246 201210     16201220     20

    Hi,
    So, instead of shrtgpa_gpa_hours, you want a cumulative total of shrtgpa_gpa_hours, adding up all the previous values.
    That's a job for the analytic SUM function:
    select
    SHRTGPA_pidm,
    SZSTCLA_TERM_CODE,
    SUM (SHRTGPA_GPA_HOURS) OVER (ORDER BY x)  as running_shrtgpa_gpa_hours     -- *****  CHANGED  *****
    from  szstcla,SHRTGPA
    where szstcla_pidm = 74246
    and SHRTGPA_pidm = szstcla_pidm
    and SZSTCLA_TERM_CODE  SZSTCLA_TERM_CODE_MATRIC
    and SHRTGPA_TERM_CODE = SZSTCLA_TERM_CODEwhere x is the expression (or list of expressions) that determines what are the "previous" rows.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • Get a result for all step by string

    I'm have to get a result for all step by a string , when the step is pass/fail , it return a 0/1,when the step return a real value, it return a real value,in totally all step run over, the string will be have this format : "0,1,1,...1,0.44,0.55,0.43,0"
    how to created this kind of sequence procedure ?
    thank you in advance...
    Alex

    Hi,
    You could do this as of the report generation (reportgen_txt|html.seq).
    what are you going to do with this string that you propose to generate?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Could you please tell me, which oracle commands can get below result?

    Could you please tell me, which oracle commands can get below result?
    1. Total size of archive generated
    TotalArchive (GB) Date
    24.415 28-02-2013
    14.223 29-03-2013
    12.133 30-02-2013
    2. Total number of archive logs generated
    COUNT(SEQUENCE#) TO_CHAR
    123 28-03-13
    234 29-03-13
    124 30-03-13

    997398 wrote:
    Could you please tell me, which oracle commands can get below result?
    1. Total size of archive generated
    TotalArchive (GB) Date
    24.415 28-02-2013
    14.223 29-03-2013
    12.133 30-02-2013
    2. Total number of archive logs generated
    COUNT(SEQUENCE#) TO_CHAR
    123 28-03-13
    234 29-03-13
    124 30-03-13query V$LOG

Maybe you are looking for

  • Why is my history clearing function "disabled"? How the heck do I turn it on?

    The dang system is not allowing me to clear history. Why? I am a solo operator - no one else uses it. How is it that it's diaabled???

  • How to enter BIOS in e450

    Just got this laptop. Can't enter BIOS. NO F1-F12 keys. On start up, it just gives Lenovo splash screen then boots windows 8. I am clicking F1 (also tried FN+F1) and nothing happens. How to enter bios... Thank you Solved! Go to Solution.

  • Data Appearing as Comments

    We have forms created in Acrobat 9 Pro that have worked for almost a year.  Today completed forms started showing up with the information in the fields appearing as comments.  We need this information to appear in the field itself so the form can be

  • Cannot import classes

    I have one class calling another, like this: import CloseWindowListener; import DatabaseSearchControls; import java.awt.event.*; public class DatabaseSearch {      public static void main (String[] args) {           DatabaseSearchControls frame = new

  • Error while loading fact in 11G

    when I am trying to load one of the fact table it fails by below error "fails while performing a Integration operation"