Creating Rolling Sum Measures

Hi,
I am pretty new to OBIEE and am trying to create rolling sum measures (rolling 3 months sum ).
Can anyone help me out in this. I searched on the web and couldn't locate the correct article.
Thanks,
Anand

Hello user,
Please use the below link which is posted by shiva for calculating rolling months....
http://shivabizint.wordpress.com/2008/09/19/rolling-months-data-for-year-month-prompt-in-obiee/
Hope its helpful.
Thanks

Similar Messages

  • Creating Rolling Sums in Reports

    If the underlying database does not having rolling sums computed for you, how can you report rolling sums?  I tried to use the runningsum function but have no dimension to make the sum reset.  If I have a table in the report like:
    Customer   Month   Sales 
    A               Jan       1
    A               Feb       1
    A               Mar       1
    A               Apr        1
    A              May        1
    A              Jun         1
    B               Jan        1
    B               Feb       1
    B               Mar       1
    B               Apr        1
    B              May        1
    B              Jun         1
    How do i get a running 3 month sum by Customer like:
    Customer   Month   Sales   3 Month RunningSum
    A               Jan       1           1
    A               Feb       1           2
    A               Mar       1           3
    A               Apr        1           1
    A              May        1          2
    A              Jun         1          3
    B               Jan        1          1
    B               Feb       1          2
    B               Mar       1          3
    B               Apr        1          1
    B              May        1         2
    B              Jun         1         3
    Thanks,
    Jimmy

    I found a solution. Create several variables such as Previous1Month = previous([MetricName])
    Previous2Month = previous([Previous1Month])
    Previous3Month = previous([Previous2Month])
    PreviousXMonth = previous([Previous(X-1)Month])
    To create a rolling 3 month, you just create another variable
    Rolling3Month = MetricName + Previous1Month + Previous2Month
    Of course this becomes very tidious with lots of metrics and variation of grains(wkly, monthly, quarterly...).  That's why you would want your underlying data model to do this and have the etl do all the dirty work. =)
    Thanks,
    Jimmy

  • How to create a custom measure for each level of a dimension

    Hi all!
    Can Anyone please explain me with an example, how to create a custom measure for each level for a dimension? I dont mine if you use
    one or more measures.
    thanks in advance
    hope someone helps me.

    For example:I create a dimension for product_dim witch has 4 levels:total, class, family and item:
    d_aben18
    n1_aben18
    n2_aben18
    n3_aben18
    n4_aben18
    herarchy:h_aben18
    cube:cubo_aben18
    measure:med_aben18
    I create this code to fetch the data to the dimension:
    TRAP ON CLEANUP
    SQL DECLARE c1 CURSOR FOR SELECT-
    total_product_id,1,'N1_ABEN18',total_product_dsc,-
    class_id,1,'N2_ABEN18',total_product_id,class_dsc,-
    family_id,1,'N3_ABEN18', class_id, family_dsc,-
    item_id,1,'N4_ABEN18',family_id,item_dsc-
    FROM PRODUCT_DIM
    "OPEN THE CURSOR
    SQL OPEN c1
    "FETCH THE DATA
    SQL FETCH c1 LOOP INTO-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N1_aben18_LEVELDEF,:D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N2_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N3_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N4_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    "SAVE THE CHANGES
    UPDATE
    COMMIT
    CLEANUP:
    SQL CLOSE c1
    SHOW 'KK2'
    Then I create a cube with use compression off, and in rules sum for example.
    After, I create a measure and I select Override the aggregation specification for the cube, in rules I put nonadditive and I would like to create aprogram to assign distinct values to each level of the dimension. For example, I put 1, 2 3, and 4 values, but at the end I would like to put count(distinct(values)).
    for that I create another program:
    VRB D_RETURN DECIMAL
    if D_ABEN18_N1_ABEN18_LEVELDEF eq 'N1_ABEN18'
    then D_RETURN = 1
    if D_ABEN18_N2_ABEN18_LEVELDEF eq 'N2_ABEN18'
    then D_RETURN = 2
    if D_ABEN18_N3_ABEN18_LEVELDEF eq 'N3_ABEN18'
    then D_RETURN = 3
    if D_ABEN18_N4_ABEN18_LEVELDEF eq 'N4_ABEN18'
    then D_RETURN = 4
    else d_return=26
    return d_return
    "SHOW D_RETURN
    cubo_aben18_med_aben18_stored=d_return
    but it doesnt work.I dont know how to put to assign or to see what I want.
    I report the measure, or I report the program, but then how can I see the values of the measure?
    thanks in advance

  • Year to date, rolling quarter measures

    I need to implement reports with year to date, rolling quarter (current month + 2 previous month) measures, etc...
    The BO universe is connected to a bex query on a SAP multi provider
    Where do you recommend to implement such measures?
    Should we precalculate them in a SAP BI keyfigure ?
    Should we create a restricted key figures in the bex query and using SAP variable with customer exits to implement for example the rolling quarter functionnality?
    Should be we create a new measure in the BO universe?
    Should we create a new variable in the report. In this case what is the impact on the performance?
    We have about 30.000 records in our cube for about 3 years of data. the volume will grow on a monthly basis but analysis will mainly be done on maximum three years of data.

    Hi,
    this is not related to performance. this is related to the simple fact that the MDX on SAP BW does not have support for something like a Today() or a Now(), which means you can't have rolling months based on the system date.
    if you use an EXIT variable you have the keyfigures in the universe and can leverage it in the Web Intelligence report.
    ingo

  • Rolling Sum

    Hi all,
    My dashboard contains a prompt to choose a year which when selected needs to display the rolling sum of revenue for previous 2 years including the present.
    For instance if the the year chosen is 2008, i need to get the rolling sum of the Revenue'08 +'07+'06.
    The catch is i cant use AGO function since i need to perform Year to Date, QTD and MTD upon this rolling sum and OBIEE doesnt permit to use nested time series functions upon varying levels. I mean MTD ( Ago(Revenue, Year,1)) is not permitted.
    We tried this FILTER function to achieve this but it didnt help .
    FILTER(Sales."Fact - Sales"."$ Revenue" USING Sales."Fact - Sales"."Year id1" - Sales."Fact - Sales"."Year id2" BETWEEN -(1) AND 3)
    the corresponding query with physical sources is
    FILTER(sum(Fact_W_SALES_F.DOLLARS) USING Dim_W_DAY_D.YEAR_NUM - Dim_W_DAY_D_1.YEAR_NUM between -1 and 3)
    Someone please clarify upon this....
    thanks,
    Sid

    hi,
    for rolling sum try this following blog
    http://shivabizint.wordpress.com/2008/09/19/rolling-months-data-for-year-month-prompt-in-obie
    for your requirement try the following
    in dashboard prompt year column value assign to presentation variable var1.
    Measure column write the following formula
    (case when calendar.year=@{var1} then "Sales Facts"."Amount Sold" end )+(case when calendar.year=(@{var1}-1) then "Sales Facts"."Amount Sold" end)+(case when calendar.year=(@{var1}-2) then "Sales Facts"."Amount Sold" end)
    hope it works for you
    Regards
    Naresh
    Edited by: Naresh Meda on Nov 6, 2008 9:27 PM
    Edited by: Naresh Meda on Nov 6, 2008 9:32 PM
    Edited by: Naresh Meda on Nov 6, 2008 9:37 PM

  • Ssrs 2014 errorrule 'Create list of measure group-dimension pairs

    I'm getting this error generating a model for a ssas tabular model in ssrs 2014.  When I test the tabulur definition in Excel under SSAS everything works fine and there are no errors.
    Thanks
    From the log
    semanticmodelgenerator!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Semantic Model Generator: ModelGeneratorExtention
    An error occurred while executing rule 'Create list of measure group-dimension pairs':Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    semanticmodelgenerator!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Semantic Model Generator: ModelGeneratorExtention
    An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    library!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: , Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: An error occurred while
    generating model. ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationDiagnostics.Assert(Boolean condition, String message, Boolean throwOnFail)
       at Microsoft.AnalysisServices.Modeling.Generation.Rules.MapMeasureGroupsToDegenerateDimensions.Process(RuleFlowRecords& generatedRules, RuleExecutionRequirement& rulesExecutionRequirement)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRuleFlowRecord(RuleFlowRecord ruleFlowRecord)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRuleFlowRecord(RuleFlowRecord ruleFlowRecord)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.Process()
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.Process()
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGenerator.Generate()
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGeneratorExtention.ReGenerateModel(IDbConnection connection, XmlReader currentModelReader, XmlWriter newModelWriter)
       at Microsoft.ReportingServices.Library.GenerateModelAction.GenerateModel(DataSourceInfo dataSource)
       --- End of inner exception stack trace ---;
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred while generating model. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException:
    An error occurred while generating model. ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for
    cube dimension '[$DimDate].[DimDate]'.. ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.ReportingServices.Library.ReportingService2010Impl.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.WebServer.ReportingService2010.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.UI.NewDependentItem.ApplyChanges()
       at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: HTTP status code --> 200
    -------Details--------
    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred while generating model. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: An error occurred while generating model.
    ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.ReportingServices.Library.ReportingService2010Impl.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.WebServer.ReportingService2010.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.UI.NewDependentItem.ApplyChanges()
       at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    library!ReportServer_0-1!b58!06/13/2014-15:39:25:: i INFO: Call to GetSystemPropertiesAction().
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.AbortInternal()
       at System.Threading.Thread.Abort(Object stateInfo)
       at System.Web.HttpResponse.End()
       at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
    library!WindowsService_2!bd0!06/13/2014-15:41:25:: i INFO: Call to CleanBatch()
    library!WindowsService_2!bd0!06/13/2014-15:41:26:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
    library!WindowsService_2!bd0!06/13/2014-15:41:26:: i INFO: Call to CleanBatch() ends
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Currently registered url http://+:80/ReportServer_SQLEXPRESS/ on endpoint 2
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Currently registered url http://+:80/Reports_SQLEXPRESS/ on endpoint 3
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer_SQLEXPRESS/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS12.SQLEXPRESS\Reporting Services\ReportServer\ReportBuilder.
    rshost!rshost!e38!06/13/2014-19:37:27:: i INFO: Derived memory configuration based on physical memory as 16487384 KB
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:27:: i INFO: Appdomain:5 ReportServer_SQLEXPRESS_0-1-130471616741701355 unregistered.
    library!WindowsService_2!22c!06/13/2014-19:37:29:: i INFO: Call to CleanBatch()
    appdomainmanager!ReportServer_0-1!e38!06/13/2014-19:37:30:: i INFO: Appdomain:5 ReportServer_SQLEXPRESS_0-1-130471616741701355 unloading
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:33:: i INFO: Appdomain:6 ReportManager_SQLEXPRESS_0-2-130471623126349107 unregistered.
    appdomainmanager!ReportManager_0-2!e38!06/13/2014-19:37:33:: i INFO: Appdomain:6 ReportManager_SQLEXPRESS_0-2-130471623126349107 unloading
    servicecontroller!DefaultDomain!e38!06/13/2014-19:37:41:: i INFO: Recycling the service from the default domain
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: EventPolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: NotificationPolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: SchedulePolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: UpgradePolling polling service stopped
    runningjobs!WindowsService_2!e38!06/13/2014-19:37:41:: e ERROR: Timer Database Cleanup (NT Service) still executing, breaking...
    rshost!rshost!e38!06/13/2014-19:37:48:: i INFO: Application domain type WindowsService statistics: created: 3, unloaded: 3, failed: 0, timed out: 0.
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:48:: i INFO: Appdomain:7 WindowsService_3 started.
    library!WindowsService_2!22c!06/13/2014-19:37:52:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure, timeout
    or low disk condition within the database.;
    library!WindowsService_2!22c!06/13/2014-19:37:52:: w WARN: Transaction rollback was not executed connection is invalid
    dbcleanup!WindowsService_2!22c!06/13/2014-19:37:52:: e ERROR: Error in CleanExpiredSessions: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection
    failure, timeout or low disk condition within the database. ---> System.Data.SqlClient.SqlException: Database 'ReportServer$SQLEXPRESSTempDB' is being recovered. Waiting until recovery is finished.
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: SQLDump flags: ReferencedMemory, AllThreads, SendToWatson
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: MiniDump flags: DataSegs, UnloadedModules, ProcessThreadData
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Dump on: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Do not dump on: System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException,Microsoft.ReportingServices.WmiProvider.WMIProviderException
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Minidump location: C:\Program Files\Microsoft SQL Server\MSRS12.SQLEXPRESS\Reporting Services\Logfiles
    resourceutilities!WindowsService_3!e38!06/13/2014-19:37:56:: i INFO: Reporting Services starting SKU: Developer

    Hi shiftbit,
    According to your description, you get an empty Measure Group Columns list when defining relationship. Right?
    Based on your screenshot, you may notice that Measure group table is empty, so definitely it can't show any column in the dropdown list. If there's columns in the measure group that are related to the dimension columns, at least it will show the fact
    table for Measure group.
    In this scenario, please check if the fact table for the Measure group is existing. Re-process the Measure group and try again. If the issue persists, please re-create that measure group.
    Reference:
    Define Relationship Dialog Box (Analysis Services - Multidimensional Data)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Best practice for creating a sum of a formula?

    What is the best way to create a sum on multiple groups from a formula or another sum?
    Sum ({IC_ADJS_JNL.QTY}, {IC_ITEM_MST.ALT_ITEMB}) * {NT_CONV_FCT.NET} - This is sitting in GF1, but I also need the sum of this on GF2.
    {NT_USED_DEM.USAGE_QTY} - {@RPK_LBS} - another example sitting in GF1 but needs its sum in GF2
    Hopefully I have explained this well enough. Thanks in advance for your help!

    You can create make use of global variable, the logic is similar to running total.
    What you do is:
    1. You initialize a global variable.
    Whileprintingrecords
    numbervar gcount::=0;
    2. You accumulate the variable at the section you want.
    Whileprintingrecords;
    numbervar gcount;
    gcount:=gcount + xxxx
    If you need certain condition, just use if statment like normal.
    3. To display the global varaible
    Whileprintingrecords;
    numbervar gcount;

  • How to create cube and measure in sql?

    How to create cube and measure in sql?

    Cubes, measures and dimensions are created in the AW using the Java API for Analytic Workspaces or through XML documents that are processed by this API. SQL commands are not available for creating cubes, measures or OLAP dimensions.

  • New column - all-time rolling sum in Repository

    Hi all
    I need to build a new column in the repository.(ALL TIME ROLLING SUM TO DATE) and # Month Roll over on that.
    I am looking for a way to easily compute rolling sums (etc.) for ranges of dimensional values that are not included in the result set.
    I want to show a table of monthly unit count for 6 months:
    I have the values forall months ,starting from years 2000.
    Month unit Count
    Jan07 100
    Feb07 150
    Mar07 - 100
    Apr07 125
    May07 - 200
    Jun07 210
    In another column I want to show an all-time rolling sum of the transaction activity
    (sum the metric for all rows in the fact table <= the month in the row of the report).
    Month Unit Count Rolling Sum To Date (Balance) 3 month Rollover
    Jan07 100 3400
    Feb07 150 3550
    Mar07 100 3650 10600
    Apr07 125     3775 10975
    May07 200 3975 11400
    Jun07 210 4185 11935
    I tried RSUM for Rolling Sum To Date, but it dosent give rolling sum values above the considered result set time period.
    Immediate help is appreciated, kind of urgent help required.
    Thanks in advance.
    Edited by: user11939829 on Sep 16, 2010 10:20 AM

    Hi Deepak,
    When i gave the example i forgot to add that i am showing the pivot chart in the report and showing the RSUM in Line Graph for 3 years..where i have year at the column and i have one dimension at the page section of the prompt.
    So i m just showing the line graph where i have RSUM at the Vertical axis...Month at the horizontal Axis.
    Sorry for the confusion

  • Creating Pick Up Measures

    Hi Everyone
    For those of you trying to create 'PICK-UP MEASURES', this ones for you!
    After searching the forum and the internet, with no joy, I eventually worked out a work around, not necessarily the right way, but a solution, achieving the same effect.
    It's actually really simple all you have to do is drag your starting locater to the position where you would like your measure to start and BOB"s you uncle. It will probably do the same if you were to shift your region to to the specifications of your pick-up measure. If there is another way please share but as for now, this is a small contribution to overcome some of the frustration that comes with the score editor in Logic. I've attached an image to show the end result. So good-luck.
    Take care,
    Tumahawk
    Message was edited by: Tumahawk

    Hi Musicspirit
    Looks like you know what I'm on about, I tried your method but it's cutting out the entire measure. I think you're on to something though. What I'm actually trying to score is an upbeat leading into the first measure.
    The score is in 3/4 time and I'm trying to create a crotchet beat on beat 3 leading into the first measure and visually have no rests showing in the preceding beats of the pickup measure (Anacrusis). That's why I dragged the start locater to beat 3 of that particular measure, aesthetically it looks right and technically it is where the score starts, but, I do agree it is a bit risky. However I am doing this before any automation is created.
    I messed around with the idea that iSchwartz suggested, inserting blank time functions. So instead of moving the start locator I chopped the first 2 beats of the region with the scissor tool and it worked. It also worked by resizing the the beginning of the region so that it started @ beat 3 and kept the start locator @ bar 1, both ways worked and it meant keeping start locator @ 1 which is better than the method I suggested.
    So thanks to both of you for your input, hope this string of ideas comes in handy for other Logic user's.
    Take care,
    Tumahawk

  • Need to get rolling sum year wise in a query.

    Hi all,
    I have a table with monthid and amt columns. values are like
    200501 5
    200502 6
    200503 6
    200601 7
    200602 8
    200603 9
    Like this i have data for all months in year. now i need to get rolling sum year and
    month wise. the output should be like
    200501 5
    200502 11
    200503 17
    200601 7
    200602 15
    200603 24
    please help me out to write a query for this.
    Thanks,
    Chandu

    May be you want this
    dev>select deptno,ename, sal,
      2                    sum(sal)over(partition by deptno order by ename)as sum_on_dept
      3                 from emp;
        DEPTNO ENAME                                                     SAL SUM_ON_DEPT
            10 CLARK                                                    2450        2450
            10 KING                                                     5000        7450
            10 MI_LL_ER                                                 1300        8750
            10 T*_1NU                                                   2000       10750
            20 ADAMS                                                    1100        1100
            20 FO__RD                                                   3000        4100
            20 JONES                                                    2975        7075
            20 SCOTT                                                    3000       10075
            20 SH_*U                                                    3200       13275
            20 SMITH                                                     800       14075
            30 ALLEN                                                    1600        1600
            30 BLAKE                                                    2850        4450
            30 JAMES                                                     950        5400
            30 MARTIN                                                   1250        6650
            30 TURNER                                                   1500        8150
            30 WARD                                                     1250        9400
            30 DEEP                                                   3000       12400
               D.EV                                                     5000        5000

  • Create Notification from Measurement Document IK11 (user-exit IMRC0001)

    Hi Experts,
    I have to create Create Notification from Measurement Document (IK11) using user-exit IMRC0001. I have some doubts regarding this.
    1)  what is the function module to create notification from Measurement Document.
    2)  can u give the table name to see Measurement Document.
    3)  where we can see the measuring reading field names to create Measurement Document.
    Thanks.................
    B Z.

    hi check this....
    table for measurement IMRG
    http://help.sap.com/saphelp_nw04/helpdata/en/af/cb5447461411d189f20000e81ddfac/frameset.htm

  • Measure SUM vs. SUM(measure)

    Problem solved, it was another reason!
    Hello,
    I have a problem I don't understand. What is the different between using "measure SUM" and "SUM(measure)"? If I use it alone it will both give me correct results, if I use it in another formula the results are different:
    sum(m1) = 2
    sum(m2) = 1
    sum(m1) - sum(m2) = 0 <-- that's wrong
    m1 SUM = 2
    m2 SUM = 1
    m1 SUM - m2 SUM = 1 <-- that's correct, but what is different?
    Thank you
    Tobias
    Message was edited by:
    toki

    It was a strange kind of problem and unfortunately i cannot regenerate it well.
    First there was a calcalation (sum(m1) - sum(m2)) which was accumulated. The sum did not return exaclty the correct value. Then, i tried several formulas, sums, drills I cannot remember all combinations and changed the formula to m1 SUM - m2 SUM and it worked fine. Then, after my posting here I rubbed my eyes as I saw that m1 SUM - m2 SUM now did also returned the wrong result.
    I cannot explain this behavior, however, the lost values were caused by NULL-values in some rows (e.g. 5 - NULL = NULL, it should by 5 - 0 = 5), so I added a CASE WHEN m2 IS NULL THEN 0 ELSE m2 END.
    Tobias

  • HOW TO CREATE UNIT OF MEASURMENT IN SAP

    HI ALL,
    PLEASE HELP HOW TO CREATE UNIT OF MEASURMENT  IN SAP NM/S
    GIVE ME THE SCREEN SHOT OR STEPS IMM.
    THANKS
    HAPPY

    HI,
    please check the below link for creation of UOM.
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/create-unit-of-measure-1339786
    transaction code to create uom is CUNI and you should have an ISO code for that.
    Regards,

  • WEBI - unverses: create rolling measures

    hi all,
    i'm working with webi on olap universes on bex queries.
    i need to create a rolling measure that, for every year/month, aggregates the current month and the previous 11 (every month contain the values of an year).
    i used this code creating a new object in universe:
    <EXPRESSION>(AGGREGATE([0CALMONTH].CurrentMember.Lag(11):[0CALMONTH].CurrentMember,[Measures].[4NQFO211SO3LFWE1RV0PLRFXR]) )</EXPRESSION>
    but it doesn't work well.
    do you have ideas to correct my code?
    thanks all!

    Hi,
    1)To have a range of months as input
    2)Create a table in which for each month in the range (in rows), the following 12 months of forecast are displayed (in columns)
    As far as I know EXITs based on input from user are still not supported.
    Probably it is not the classic rolling forecast scenario, but this is why I told "It depends on complexity of report".
    >> EXIT Variables with Input are supported. the part that is not supported in XI 3.1 is the fact that the default value is set in the prompting dialog but the user will receive the values.
    To me the scenario clearly requires an EXIT variable as otherwise you can not leverage the system date from the BW system and you are back to having to ask for 2 dates as a date range.
    if you want to create 12 keyfigures or 1 - that depends to some degree on what the report is supposed to look like and what the user is supposed to be able to do with the data.
    regards
    Ingo

Maybe you are looking for

  • Can you set an alert for birthdays in Addressbook and iCal?

    When I migrated from Palm Calendar to iCal, my calendar had my birthdays in it repeating each year and with a 7 day alert so I could send a card or get a present in time. I see you can list a birthday in Addressbook and set the iCal pref to show them

  • If a customer has a zero balance in second local currency

    If a customer has a zero balance in second local currency but some balance in company code currency before clearing, we want to keep zero balance in second local currency after clearing. How can we solve this problem? Is it possible to clear customer

  • PLEASE HELP!!! Black Screen with white curser at startup...

    at startup after grey screen fan turns on and screen turns black with a white curser in the upper left. Then one line of text shows saying something to do with single user mode failed with a bunch of other text. (sorry I didn't write it down) It then

  • Problem Exporting HTML Website

    I'm having a boring problem when i try exporting a html in Indesign. It's messing the whole organization of the layout. As u can see in the screenshots, the original ideia and the result goes completely messed. No matter how simple i create the page,

  • Internal Order Status in delta loads

    We are using the standard BW delta extractor for Internal Orders (Data Source :0COORDER_ATTR). We have enhanced the data source to bring in a couple of extra fields including System Status. We find that a Status change in the Internal Order (e.g. fro