How to create RunningValue Through Column Groups?

Hi Everybody i´m trying to do this with a Matrix
I want the running value of the product quantity for each month of a year,
resetting the running value
when a new year is reached
I have 2 column groups "Year" and as it´s child group "Month".
                     2009                                  
2010
                     January Febrary March      January   February  March
Product
Toolbelt            10           15       20             
1            10            50
Well that is the idea...
In the field of the quantity i´m using an expression like this = RunningValue(Fields!Quantity.Value, Sum, Nothing) .
With this expression i get the the running value and it´s great, but
it does not reset thru the years ,
it continues aggregating the quantity value.
So i tried with this expression assuming if i set the SCOPE to the Year group i can achieve this
= RunningValue(Fields!Quantity.Value, Sum, "Year") ,
But surprise!!, this is not giving me the right aggregation , i´m still dig in it and can´t find what it actually aggregates.
Am I doing something wrong?.
All the help is welcome. Thanks.

Hi UzielB,
Based on your information, I get your requirement completely, here you want to accumulate the value of month from
Jan to March whin one year, then return to Jan again whin another year. If I misunderstand you please do not hesitate to let me know.
Now the issue you are encountering is that the value does not reset through the different years.
 Actually, nomatter it is 2009 or 2010, RunningValue function takes different years as the same scope, so the value does not reset
 through the different years. Just like picture3.
To workaround the issue, we might need to utilize the subreport in the main report, for detailed steps please follow
these:
1.    
Design the subreport with two column groups
Year, Month and one row group Product.
2.    
Type in the expression in the data textbox
=RunningValue(Fields!Yourdatafield.Value,sum,"Product") Here
Product is the row group name.
3.    
Add one parameter
Year to the subreport, of course you should add the parameter year behind the where clause in the T-sql. Such as
select * from yourtable where Year=@Year
4.    
Delete the
Year column and Product column, here please make sure you just delete the column only rather than deleting the relevant reportitem.
5.    
Decrease the height and width of the report to the report control size, then there is no blank space when displayed in the main report.
6.    
Drag a matrix to the main report, just add one column group
Year.
7.   
Then drag a subreport control into the data textbox, and then rigth-click the subreport control->select subreport
properties
8.   
In the Subreport Properties dialogbox, please selec the subreport name in the drop-down list of
Use this report as a subreport
9.    
Swith to
Parameter tab, click Add button to add a parameter, then select the
Year in the Name drop-down list and
Year datafield in the Value drop-down list.
10.  
Click OK.
11.  
Now add another table control into the 
main report body with one column, and drag the product datafiled into the data textbox. Then group the table by
Product.
12.  
Drag this table into the
Rows  textbox of the main report. Here make sure the height of the rows in Subreport and table creted in step11 is the same, otherwise the lines in not stay in the same level.
Preview the report, you will see the report like picture2.
If you have any question about the steps, please feel free to ask.
Have a wonderful day
J
Challen Fu

Similar Messages

  • How to Create a new column from two different result sets

    How to Create a new column from two different result sets, both the result set uses the different date dimensions.

    i got solutions for this is apply filters in column formula it self, based on the requirement.

  • How to create Implicit Fact column ?and how to use it ?

    Hi all,
    How to create Implicit Fact column ?
    and how to use it ?
    Thanks in advance

    When you create a request with only dimension columns, the Oracle BI engine has to choose a fact table to join the dimensions to each other. If you have multiple fact tables in your BMM layer, the Oracle BI engine will use the most economical fact table, depending on the number of dimensions of the fact table.
    In some cases you do not want to use this fact table, but you want to force the Oracle BI engine to use the fact table you want.
    In that case you should create a fact (or select an existing fact) of the fact table you want to use for the dimension only query. In the presentation catalog of the subject area you should select this fact as the implicit fact. This fact will always be used in the query, but it won't be visible in your report. An example of an implicit fact is the count of the primary key (id) of the fact table.

  • How to create po through batch run

    Hi,
    how to create po through batch run (through background job)
    Prashanth

    Hi Prashanth ,
    Run the below program as a background job.
    Make sure that inforecord exists for all and automatic PO are ticked in Vendor and Material Master.
    Program : RM06BB30
    Create a suitable variant.
    Job Creation : Tcode : SM36
    Regards
    Ramesh Ch

  • How to create VPN through tunnel

    how to create vpn through tunnel
    Navaz       

    can you be a little bit more specific what you wnat to achieve?
    Don't stop after you've improved your network! Improve the world by lending money to the working poor:
    http://www.kiva.org/invitedby/karsteni

  • How to create a site column through Visual Studio 2010?

    I was trying to create lists, content type and site columns through Visual Studio 2010. But I could not figure out how to add site column? What item do I need to add for this and what kind of coding is to be done?

    Try this
    1. Create a Empty project in Visual studio.
    2.The Empty SharePoint Project template does not include any Features in the Features folder. To add a new Feature to this project, right -click the Features folder, and click Add Feature. This adds a new Feature component to the folder; double – click the
    Feature1 icon in Solution Explorer to modify the Feature ’ s
    metadata using the Feature designer. The Title and Description values appear on the Features pages in Site settings. It is a good idea to make these values
    descriptive so that administrators will know what they are adding to the site when they activate the feature.
    The feature ’ s scope determines where the feature can be activated within SharePoint. Please Note – Certain components, such as site columns, content types, Master pages, and Page Layouts, are installed at the site collection level and made available to all
    sites within the collection. These components require that the scope for the feature be set to “ Site. ”
    3. Next, add a new item to the project (Right – click project name ➪ Add ➪ New Item) and select the Empty Element template from the Add New Item dialog box.
    The Empty Element template is an XML fi le where you can enter CAML Field definitions.
    Following is what you will add in your elements.xml file –
    < Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
    < Field ID="{76C140E1-D827-433B-AD38-257F9594B846}"
    Name="CustomCol"
    DisplayName="My Custom Site Column"
    Group="Custom group"
    Type="Text"
    Required="FALSE"/ >
    < Field ID="{5F516D92-969C-4661-81B9-C9210E2A2FDC}"
    Name="Choice Type"
    DisplayName="My Choice Type"
    Group="Custom group"
    Type="Choice"
    Required="FALSE" >
    < CHOICES >
    < CHOICE > Medical < /CHOICE >
    < CHOICE > Dental < /CHOICE >
    < CHOICE > Vision < /CHOICE >
    < CHOICE > Insurance < /CHOICE >
    < /CHOICES >
    < /Field >
    < /Elements >
    4. To deploy the Site Columns defined in the Elements file, right – click the project name in the Visual Studio Solution Explorer, and select Deploy. This will deploy the solution file to the solution store and activate the Feature in the targeted site collection.

  • How to create a calculated column in sharepoint

    I created the custom list in share point. In that list i renamed the title as
    Name.
    I created the WindowsID as person or group column in share point list.
    In the same list, I want to create a new calculated column as EmpName as hyperlink with the below formula  
    ="<a href='"&WindowsID &"'>"&Name&"</a>"
    But I am unable to create a new column by using above formula.
    Could you please let me know what i missed in the above formula.
    Please note that i am unable to see the WindowsID in the insert column.
    Thanks for ur support.

    Hello
    Sorry for the delay replay.
    Based on your guidance,i followed the below steps
    1.created the loginname  column of type person or group
    2.Added the contentquery webpart
    3.crated the custom xslt template
    4.Please find the below template
    <xsl:template name="ListingItem" match="Row[@Style='ListingItem']" mode="itemstyle">
        <xsl:variable name="DisplayTitle">
          <xsl:call-template name="OuterTemplate.GetTitle">
            <xsl:with-param name="Title" select="@Title"/>
            <xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
          </xsl:call-template>
        </xsl:variable>
        <xsl:variable name="LoginID">
       <xsl:value-of select="ddwrt:UserLookup(string(@DomainID) ,'User')" />
    </xsl:variable>
        <div id="membersdiv" class="members">
         <!-- <xsl:value-of select="$LoginID" disable-output-escaping="yes"/>-->
         <xsl:if test="$LoginID != ''">
              <a href="{$LoginID}">
              <xsl:value-of select="@Title" disable-output-escaping="yes"/>
              </a>
          </script>
         </xsl:if>
    </div>
      </xsl:template>
    if user is having the login id then i need display the title.on click of that title i need to redirect to user settings page like http://url/_layouts/15/userdisp.aspx?ID=1  .How can i redirect to
    the sharepoint personal settings page based on person click

  • How to Create Table Using Column Drag and Drop Feature

    Hi:
    I am new to Oracle SQL dev Data Modeler tool and would like to know if there is a way to create a new table by re-using the existing columns or column groups. The idea is to maintain consistency and save table design time. If columns created previously can be re-used and require drag and drop of column in the right pane, then only new columns need to be manually created.
    Any thoughts on this will be appreciated.
    Thanks!

    Hi Kent
    I checked out the video and tried it in Oracle designer, it works and works great!
    My other question is that I may have several set of columns that I may want to group depending on the table requirements. Can I have multiple templates and choose which one to apply to?
    Also, how do I choose the table where the table template needs to be applied. As I may be interested in applying the table template to selected tables only.
    Thanks
    Edited by: user648132 on Feb 20, 2012 10:47 AM

  • How to create a new business group in production instance?

    Hi All
    How can I create a new Business Group in Oracle Apps in a production Instance where there wont be any HRMS responsibility. Do I need to create a new Business Group through Inventory responsibility ? Any documents about this issue?
    Thanks and Regards
    M.A.Rahman

    why do you need to create a new business group? To implement HR? If so, linking a HR responsibility to your user, is one of the few steps to go anyway.
    How you did it on the test environment?
    Why not link a hr resp to your user temporarily, and disable it later.
    I'm always afraid to answer this kind of questions, since the real requirement is not described.

  • How to create a new function group in EEWB creating new fields.

    Hi gurus,
    Iu2019m creating an enhancement of the BP Object through EEWB, but when I finish I received the following message:
    Message no. FL030
    Diagnosis
    You attempted to add a function module to a function group that is already full. A function group can contain a maximum of 99 function modules.
    Procedure
    Create a new function group or reorganize the existing one.
    Could you guys kindly guide me in how to create or reorganize the function groups in order to include the total of my custom fields?
    Thanks in advance!

    Hi,
    the issue has been investigated in the customer system.
    You're trying to create a table extension using EEWB and the table has 55 fields and each field has checktable.
    EEWB creates for each field with checktable 2 function modules. However, there is a limitation that one function group
    can contain only 99 function modules. That's why you got the error.
    Possible solutions can be following:
    1. Design question: Do you really need checktable for all fields? Do you need all 55 fields in one table? Otherwise, you can split it into two tables.
    2. Instead of using checktable, you can also use domain fixed values. For that you have to define your own data element and domain with fixed values.
    Regards,
    Steve

  • How to create a 2 column list with bullets

    How can I create a 2 columned list with bullets? When I hit tab button, the whole word and bullet moves. I am trying to create a checklist with 2 columns with a visual bullet in front of specific list items. Thanks for any help! chris

    Why not just use 2 columns?
    Or if they need to stay in step, a table?
    Peter
    btw A tab in a list changes its level, option tab moves it to the next tab on the ruler. A silly choice to make it the opposite of common sense, but they followed the lead of MsWord on this one.

  • How to create hyperlink on column.

    Hi all,
    its very urgent.
    I have two pages first page like header level and secound page like lines level.
    in first page having requestid lov,find,create buttons and advance table region.
    secound page having only advance table region with add another button and save button.
    in first page, once click on the create button one requestid(header) is generated in header leval and at the same time that requestid move to secound page requestid column and user select the application name and responsibilityname and user click on the add another row button it ll add one more row with same requestid and here user again enter application name and resp name and click on the save button the data insert to two different tables.header information insert to one table and line information insert to another table.
    here my problem is in first page having requestid lov and find button. the user click on the find button all the requestids displayed in advance table region(this is only header information).once user select particular requestid and click on that requestid, it ll displays particular requestid line information to next page.
    how to create link on requestid column.
    how to achive this plz help me.
    Thanks

    Hi Mukesh,
    Thanks for replay.
    here my requirement is i have two pages in firstpage having requestid lov,go button and table region.
    once click on the GO button it ll display all the requestids(only header table information) these requestids are having hyperlink.
    one requestid(header) having multiful requestids(lines)
    once click on the particular requestid and go to next page here displays the line information.
    so i created one destinationURL, and in secound page CO process request i wrote below code.
    so plz check once.
    In CO:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    String employeeNumber = pageContext.getParameter("requestID");
    System.out.println("this ia my link requestID:"+employeeNumber);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = { employeeNumber };
    System.out.println("this is my link serizable requesid:"+ employeeNumber);
    am.invokeMethod("initDetails", parameters);
    in AM:
    public void initDetails(String employeeNumber)
    RequestAccessDetailsVOImpl vo1 = getRequestAccessDetailsVO1();
    System.out.println("my emp number AM:"+employeeNumber);
    vo1.setWhereClause("REQUEST_ID = :1");
    vo1.setWhereClauseParams(null); // Always reset
    vo1.setWhereClauseParam(0, employeeNumber);
    System.out.println("my emp number AM1:"+employeeNumber);
    vo1.executeQuery();
    once i click on the requestid(hyperlink) in home page that requestid move to secoundpageCO and AM also.
    plz check the output.this output generated OC4J server.
    this ia my link requestID:12590
    this is my link serizable requesid:12590
    my emp number AM:12590
    my emp number AM1:12590
    But did not displays the line information in secoundpage
    plz helpme.
    Thanks
    Edited by: its urgent on Mar 19, 2012 10:26 PM

  • How to create Spool through ABAP program

    How to create spool request for Smartforms through program. So I can go in TCODE SP01 and see the output of my smartforms.

    Include the below code in ur program .......
      DATA: PRINT_PARAMETERS TYPE PRI_PARAMS,
            VALID_FLAG       TYPE C LENGTH 1.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
      IMMEDIATELY = 'X' "C_IMMEDIATELY
    *LAYOUT = 'Z_48_144'
    *LINE_COUNT = '48'
      LINE_SIZE = '255'
    *NEW_LIST_ID = C_NEW_LIST_ID
      NO_DIALOG = 'X'
      RELEASE = 'X'
      IMPORTING
      OUT_PARAMETERS = PRINT_PARAMETERS
      VALID = VALID_FLAG
      EXCEPTIONS
      ARCHIVE_INFO_NOT_FOUND = 1
      INVALID_PRINT_PARAMS = 2
      INVALID_ARCHIVE_PARAMS = 3
      OTHERS = 4 .
      G_PDEST = PRINT_PARAMETERS-PDEST.
      NEW-PAGE PRINT ON PARAMETERS PRINT_PARAMETERS
                        NO DIALOG.
    List of write statements to be output.......
    NEW-PAGE PRINT OFF.
    Reward if useful..............

  • Address book in OSX 10.7.2: how to create a new contacts group?

    Hi.
    I have upgraded to OSX 10.7.2 on my MacBook Pro.
    How can I create a new contacts group  using addresses in my Address Book?
    The idea is to use the group to send emails to a bunch of people without having to write them in individually.
    (Before, on on OSX 10.5, I went into my Address Book, clicked on the left to  "Add a Group" and then slid in the contact files I wanted to include in the group.
    Tx for helping!
    Ray

    Open adress book with 2 pages exposed and reach the position with the groups listed on the left page.
    In the bottom left corner there is a "+" ... just click on it
    Even easyer... press shift command N

  • How to create a new security group and assignments of rigths?

    Hi,
    In our current "Cisco Unified CM Administration System version: 7.0.1.11000-2" installation, we are a couple of administrators using the same user account to logon to the "https://10.10.x.x/ccmadmin/showHome.do" homepage.
    Where can I create a new user group and assign the appropriate rights to the group, and add users to the group? Or is it another approach that I need to follow instead of the way that security rights a made in a Microsoft Active Directory?
    Is there any place that I can read or view examples on how the setup can be done? I would like to have it in the way that everyone has their personal user account and use this to logon the administration-web page instead of an account that everyone uses.
    Kind regards,
    Carl-Marius

    why do you need to create a new business group? To implement HR? If so, linking a HR responsibility to your user, is one of the few steps to go anyway.
    How you did it on the test environment?
    Why not link a hr resp to your user temporarily, and disable it later.
    I'm always afraid to answer this kind of questions, since the real requirement is not described.

Maybe you are looking for

  • Is there a way to get music from an iPod to a computer?

    Most of my music is on my home computer, and everything is fine. I bought a laptop, and installed the software on it, as well. I went to see a relative, and she put a bunch of songs on my iPod from her computer. That is all fine, and dandy, but they

  • XI File Adapter Custom File Encoding for  issues between SJIS and CP932

    Dear SAP Forum, Has anybody found a solution for the difference between the JVM (IANA) SJIS and MS SJIS implementation ? When users enter characters in SAPGUI, the MS SJIS implementation is used, but when the XI file adapter writes SJIS, the JVM SJIS

  • Static on my cordless phones

    I am lacking in knowledge about my new router. I have several cordless phones in my home. Right now there is an annoying amount of static interference on the phone while in use. Is this noise caused by the router in some way? If so what is my solutio

  • Understanding the Explain Plan.

    Dear All, I m having one sql statement which is running slow and it is fully remote statement means output gathered through using dblink, Here I m having the explan but not know how to use it. Pls guide me.. | Id | Operation | Name | Rows | Bytes |Te

  • Text Indexing based on XML_SECTION_GROUP

    I've text-indexed a column using a section group based on XML_SECTION_GROUP and containing 5 field sections corresponding to 5 xml tags. It took a long time to index - somewhere around 12 hours - compared to 2 hours to do a vanilla text index on the