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

Similar Messages

  • 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

  • [Forum FAQ] How do I create calculated measure using AMO in SQL Server Analysis Services?

    Introduction
    In SQL Server Analysis Services (SSAS), you can create a calculated measure in SQL Server Data Tool (SSDT)/Boniness Integrated Development Studio (BIDS). Sometimes you may need to create calculated measure by using AMO in a C# or VB project.
    In this article, I will demonstrate so how to create calculated measure using AMO in SSAS?
    Prerequisites
    Before create calculated measure using AMO, you need to ensure that the following components were installed in your server.
    The multidimensional database AdventureWorks Multidimensional Model 2012
    A SQL Server with SSIS and SSAS installed
    The AMO libraries installed:
    X86 Package (SQL_AS_AMO.msi)
    X64 Package (SQL_AS_AMO.msi)
    Solution
    Here is the detail steps to create calculated measure using AMO in SSAS.
    Open SSDT and create a new SSIS project.
    Drag Script Task to the design surface.
    Click SSIS-> Variables to open the Variables window and add two variables that used to connect to the server and database.
    Create a connection to connect to SSAS server.
    Rename the connection name to ssas.
    Double click the Script Task to open Script Task Editor.
    Add Connection and Database variables to ReadWriteVariables textbox and then click Edit Script button.
    Add AMO reference in the Solution Explore window.
    Copy the script below and paste it into the script.
    Dim objServer As Server
    Dim objDatabase As Database
    Dim strDataBaseID As String
    Dim objCube As Cube
    Dim objMdxScript As MdxScript
    Dim objCommand As Command
    Dim strCommand As String
    objServer = New Server
    objServer.Connect("localhost")
    objDatabase = objServer.Databases("AdventureWorksDW2012Multidimensional-EE2")
    strDataBaseID = objDatabase.ID
    If objDatabase.Cubes.Count > 0 Then
    objCube = objDatabase.Cubes("Adventure Works")
    If objCube.MdxScripts.Count > 0 Then
    objMdxScript = objCube.MdxScripts("MdxScript")
    objMdxScript = objCube.MdxScripts(0)
    Else
    objCube.MdxScripts.Add("MdxScript", "MdxScript")
    objMdxScript = objCube.MdxScripts("MdxScript")
    End If
    objCommand = New Command
    strCommand = "CREATE MEMBER CURRENTCUBE.[Measures].[Multipy Measures By 3]"
    strCommand = strCommand & " AS [Measures].[Internet Sales Amount] * 3, "
    strCommand = strCommand & " VISIBLE = 1 ; "
    objCommand.Text = strCommand
    objMdxScript.Commands.Add(objCommand)
    objMdxScript.Update()
    objCube.Update()
    End If
    objServer.Disconnect()
    Then you can run this SSIS package to create the calculated measure.
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report

    Hi,
    In our BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report. Can any one please help on this.
    Is it BW problem or BO problem?
    I checked in some other threads but it's not given solution.
    Thanks,
    Manjunatha

    Hi,
    Is it BW problem or BO problem? : BO
    is it causing problem with hierarchly data only ?  without hierarchies data is matching or not?
    Post same in SAP BusinessObjects Web Intelligence  .
    Thanks.

  • Saving photos to the web by creating events. Called the destination folder does not exist.

    Hello,
    I ask you for advice (assistance). A week ago I re-installed the PC and installed to the computer again Photoshop CS5. Everything works for me except for the function of storing images for web by creating events. Called me constantly destination folder does not exist. The problem I had before. I ask you this advice on how to solve this problem.
    Thanks for the advice

    hi,
    i don't know if i integrate your code correctly, but it doens't work for me. I presently create skin for client and this plugin is really usefull for me.
    i use win7 64bit home edition, and photoshop cs5
    there is how i integrate this :
    // EDIT ALEX GRENIER
    function getPreferencesFolder() {
         var userData = Folder.userData;
         if (!userData || !userData.exists) {
              userData = Folder("~");
         var folder = new Folder(userData + "/xtools");
         if (!folder.exists) {
              folder.create();
         return folder;
    function exportChildren(dupObj, orgObj, dupDocRef, folder) {
    if (getCSVersion() >= 10) // CS3 Only
         // Create assets folder in Flex app's directory
         // var tempFolder;
         // tempFolder = new Folder (folder + "/assets/");
         // tempFolder.create();
         // EDIT ALEX GRENIER
         var tempFolder;
         tempFolder = getPreferencesFolder();
    i put the code creating the folder in comment and put your code in place, i also put your function before the function creating file.
    With the base code (without modification) photoshop is able to create my folder assets, but when it try to export the png, it export nothing, so i have a empty folder.
    thank you,
    Alex

  • Issues in Web service created for updating the Sales Order

    Hi All,
    We created a Web service using the Web service tool in CRM 7.0 ( Using the Component WS_DESIGN_TOOLS )
    Web service was created for three modes such as READ, CREATE and CHANGE Modes.
    READ Web Service we tested and its working fine as we were able to see the data for an existing Sales Order in the Web Service.
    We expect that the Change Web Service will update the data of an existing Sales Order.
    Through our Web service we are passing the Order GUID ,Order ID and some Header Fields as well as Item Fields but  the in the Web Service we are getting a message that Web service executed successfully but the CRMD_ORDERADM_H Table isnot getting updated.
    What could be problem.
    Any suugestions will be highly appreciated.
    Regards,
    Sijo

    Hi Gourav,
    I checked in SICF for the Webservice name created.
    this is the service path
    /default_host/sap/bc/srt/rfc/sap/ for the corresponding Web Service created in DEV 200 Client.
    I checked in SOAMANAGER and saw  that the  endpoitnts were zero.
    the Search Operation for Webservice have got three query fields mainly
    Object Id, Posting Date,Procees Type
    If we give Process Type
    sign - blank
    option - blank
    low - YPO ( Custom )
    High - blank we are getting 126 entries.
    and if we check for the Process Type YPO (Custom ) in CRMD_ORDERADM_H Tbale also we are getting the same no of entries.
    but only for option BT , for Posting Date issue is thr..
    Any inputs to move forward will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Mar 5, 2010 10:52 PM

  • Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the pag

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

  • Cannot create "Digital" measuring points on Work Manager 6.0

    Hi All,
    I am attempting to create "digital" i.e. Pass/Fail measuring points in Work Manager 6.0. I can enter readings as shown below but when I execute a sync, the error message below is shown:
    I can use the same measuring point in SAP via IK11 as shown below to create a measuring document using valuation code only. However, the Work Manager requires a numeric characteristic to be added and the "no reading" checkbox to be ticked.
    Any help would be greatly appreciated.
    Thanks,
    Jonathan

    Hi Michael,
    I tried setting it up with just the two values (0-fail and 1-Pass) and I'm still running into errors. If you could take a look I'd be grateful.
    Set up code group with two values:
    IK11 allows just the valuation code to be used:
    On the device:
    As far as I can see this should work but it still creates the same error as previously. Ideally it should work as IK11 and allow the user to select from multiple valuation codes but it appears to still require a characteristic.
    One option I tried is to assign a characteristic in addition to the the valuation code and use a 0 reading. This works but is a "workaround" solution in comparison to IK11.
    Any help would be really appreciated.
    Thanks,
    Jonathan

  • Difference between web reports created in WAD & Visual Composer

    Hi All,
    Can anyone tell me
    1.The Difference between web reports created in WAD & Visual Composer.
    2.The Webreports created in Visual Composer is availble for normal users(users not having Visual composer).
    3.how to create web reports & Publish using Visual composer.
    Waiting for results.
    ThanKs in Advance,
    Basava Raju

    hi james..
    Check these.
    WAD: http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
    VC: http://help.sap.com/saphelp_nw2004s/helpdata/en/42/c2ba7f545e3116e10000000a1553f7/frameset.htm
    Visual Composer is a model-driven development tool that allows business experts to create and adapt analytical and free-styled applications without writing code. Visual Composer 7.0 is the General Availability (GA) release; Visual Composer 6.0 introduced the freestyle model-to-code creation of analytical appli- cations and it was intended as a preview tool for evaluation purposes.
    Visual Composer now connects to SAP NetWeaver BI via a Remote Function Call (RFC) rather than a Web service connection. The resulting communication between the portal and SAP NetWeaver BI works faster, especially in cases of large query results. With these added functionalities, users can create more user-friendly, powerful analytical applications using Visual Composer, such as Executive Dashboards.
    Visual Composers Features -
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9326072e-0c01-0010-bc97-f72e93338101
    New Features of Visual Composer 7.0
    Visual Composer 7.0 is part of SAP NetWeaver Portal in SAP NetWeaver 2004s. This release focuses on SAP Analytics and offers significant changes from the previous Visual Composer release. The most notable changes include:
    Visual Composer now runs on the Java 2 Platform, Enterprise Edition (J2EE) Engine of SAP NetWeaver Application Server (SAP NetWeaver AS). Therefore, you no longer need Internet Information Services (IIS) 5, Microsoft SQL Server 2000, and Microsoft .NET Framework.
    Visual Composer now can generate iViews for Web Dynpro (the SAP NetWeaver programming model for user interfaces) and Adobe Flash Player 8 or higher in SAP NetWeaver Portal. You can create Internet applications by integrating Adobe Flex Server and Web Dynpro.
    Visual Composer now integrates BI content from SAP or non-SAP systems using BI Java Connectors (part of BI Universal Data Integration 7.0).
    /message/3240694#3240694 [original link is broken]
    /message/2958672#2958672 [original link is broken]
    These are the links which i followed.
    https://www.sdn.sap.com/irj/sdn/visualcomposer
    http://www.sap.com/platform/netweaver/components/visualcomposer/index.epx
    http://help.sap.com/content/documentation/netweaver/docu_nw_vc.htm
    VC - Install and Configure guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1d55042e-0c01-0010-e3a3-b009c445ee23
    Preparing to Use Visual Composer
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/429c8b709914bce10000000a155369/content.htm
    hope it helps..

  • Web Module created form NWDI does not appear in J2EE-Explorer View

    Hi,
    I have created a DC of Type Web Module. I had it checked in and activated it.
    Afterwards I went to "Inactive DCs" view and created a local project out of the DC.
    When I look at "J2EE Explorer" view, I do not see my newly created object. However it is visible in "J2EE DC Explorer" view. When I edit the .project file and remove the line
    <nature>com.sap.ide.eclipse.component.provider.dcnature</nature>
    I can edit the project in "J2EE Explorer" but not in "J2EE DC Explorer".
    When I am finished with my local work on component I have to copy the line
    <nature>com.sap.ide.eclipse.component.provider.dcnature</nature>
    back into .project-file. Is there a more elegant solution for editing web modules created from DCs?
    Thanks for your help,
    Andreas

    Hello Sidharth,
    By the term "extend", I meant, that
    - eg another developer created the dc,
    - I want to add further functionality to the dc (by "extend" I DID NOT THINK OF CREATING A CHILD COMPONENT).
    Maybe I understood the dc-concept wrong:
    I wanted to reference the JCO-library in my dc and I am missing the entry "Add/Remove Additional Libraries" in the context menu in "J2EE DC Explorer" perspective:
    Is that by design?;
    Do I have to
    - add references to external libraries (like JCO) in local, non-dc J2EE-projects by "Add/Remove Additional Libraries" and in
    - dc projects I have to reference external libraries by "Add Used DC" within the "DC Metadata"?
    Thanks for your help,
    Andreas

  • Web Gallery created in Bridge not displaying first picture correctly on a Unix server

    Hi Guys, Am really stumped by a problem that has surfaced after moving from a Windows web hosting server to a Unix hosting platform. The Web Galleries created in both Bridge CS4 and CS6 display and operate as expected on the Windows server. However, having moved to a Unix hosting platform, I observe an odd behavior when going to the Web Gallery page. When the gallery loads, it displays the first image offset. This is always the top left hand quarter of the picture, offset to show in the bottom left hand corner, leaving the top left and right quarters and the bottom left quarter black (I use quarters to best describe the situation, though it really does seem as if the view port of the Gallery is indeed quartered for this first image).
    If I click on the second image in the series, it appears full size. The same happens if I click on the "Play" button. If I return to the first image manually, it displays full size.
    The phenomenon is apparent in Firefox 19.0.2, IE9, Opera and Chrome, all of the latest build.
    Can anyone throw some light on why this phenomenon is occurring and better still, suggest a cure?
    Grateful for all and any help anyone can give.
    Cheers, Daviddhg

    Hi Guys, This turned out to be a Unix server-side issue. Apparently the compression software being used by the ISP on this server was in some way incompatible. The ISP turned the compression off and the problem was cured.
    Cheers, Daviddhg

  • Will my web site created with iweb hosted by fatcow work on icloud?

    will my web site created with iweb hosted by fatcow work on icloud?

    No. iCloud does not host websites.

  • Web ADI Create Document - Short Cut Save to Form  Function Grayed Out

    How do I "ungray" Save to Form Function to allow a save?
    RDBMS 10.2.0.4.0
    Apps 11.5.10.2
    Only GL and Desktop ADI
    Oracle on Demand Customer - does not give us SysAdmin Responsiblities
    We have:
    Applicatin Adiministrator does not have Application> Funcitons
    Application Developer has Application>Forms and Function
    Setup Web ADI super user menu with Create Documents, Define Layout, Define Mapping, Manage Documents
    Setup options and "Hidden" Enter Journals
    Thanks for you help,
    Dale

    I still have no response or answers
    Refer the section "Creating Form Functions Using the Create Document Page Flow" in Oracle Web Applications Desktop Integrator Implementation and Administration Guide. User to have system administrator responsibility assigned to have this feature enabled as this is a SysAdmin task.
    THE BIG QUESTION - since "Oracle on Demand" will not allow their users to have System Administrator, how can I add the required functionality to the supplied Application Administrator and resolve the questions below?
    Problem Description:
    Web ADI – Create Document, Save to Form Function is grayed out, therefore it can not be used
    1. How do we enable Web ADI functionality to Create document and Save to Form Function?
    2. Once saved to form function how to we navigate to Application>Functions?
    3. Once the Short cut is saved to the Form Function, how do we attach to a user’s responsibility?
    We have only Application Administrator with no Applications> Functions menu, however we do have in our test instance Application Developer with Applications>Forms and Functions, but it does not appear to have the same rights as SysAdmin. I tried adding the menu functions simular to SysAdmin to Application Administrator but no luck unlocking (ungraying) the form.

  • Web ADI Create Document - Short Cut available to Select Responsibilities

    Web ADI Create Document - Short Cut - Save to Form Funciton, available only to select WEB ADI Responsibilites
    How do I make available saved Short Cuts - Form Functions, available to a select group of GL Responsibilites that can only create Web ADI documents. I only want them to be able to select about 4 to 8 saved Short Cuts, limiit all others and not allow them to create new short cuts using "Save to Short Cut List" or "Save to Form Functon".
    Saved functions start with a generic name (Example: xxxxxx - Fun Amts - Single Ex2003). Other form functions not to be assessable with start with a differenct genteric name (Example: yyyyyy - Fun Amts - Single Ex2003).
    Responsiblities follow a generic name pattern of: aaaaaaaa Comapny_Name Web ADI, where Company_Name can change by responsiblity. All aaaaaaaa would be allowed access to the same saved form functions.
    WEB ADI used only for GL Journal Entry
    RDBMS 10.2.0.4.0
    Apps: 11.5.10.2
    Thanks for you assistance.

    Hi.
    I am not fully sure about your question. If you know how the function has been defined, what prevents you from assigning this function to a menu and use it?
    Br, Volker

  • Memory Leak in web application created using j2ee

    Hi,
    Our company has one web application, provided by "X" vendor. this application has many JSPs and many TLDs used. The basic behaviour of the apoplication is to connect to the database (Oracle) get the information and show it to the user.
    We deployed this web application in Tomcat 5.0.25 in the windows environment. One thing we observed here is, when we login to the application the tomcat5.exe process increses its memory. and when we logout, it does not come down to the original position. similar things happen when we search for some of the data using there provided searches.
    We have some code developed which uses httpclient to login to this web application (created for performace testing). This code initially logs in 50 users which goes fine, then logs in 100 users which also goes fine but after this 100 users we ran the code for 50 users agian but this time it threw OutOfmemory exception:Java heap space error.
    we are observing the memory in the Task Manager in windows.
    Can anyone tell me what could be the cause of this? is it the web application causing problem or is tomcat caching some pages into the memory and is not releasing them?

    Hi,
    Few questions!
    1> Have you tweaked your jvm?
    2> What are the values given for Xms and Xmx?
    3> What is the size of XX:MaxPermGen?
    4> How much RAM is available on the system where you have deployed your app?
    5> Are you using pre-complied JSPs for faster response?
    6> Which JDK are you using?
    7> Have you tried using latest version of Tomcat?
    8> If these doesnt help, use any profiler to find the leak. <JProfiler, JVMTI, YourKit profiler etc>
    I hope answering these questions would help you :)
    njoy!

Maybe you are looking for

  • Automatic creation of PO via PR

    Hi all , I have created PO automatically via PRs Example Item A    50 Pcs    by   Requisitioner 1 Item A    20 Pcs    by   Requisitioner 2 I observed that system creates 2 line items for each requisitioner . I want PO to be created of 100 Pcs consoli

  • Apple ID for iMessage and FaceTime not working and giving repeating popups

    So I have recently found my lost iPad after about a year and when I turn it on, it's giving me never ending popups for my iMessage and FaceTime apple ID, which says is incorrect. i now have an iPhone 5c whose email I switched because my old one (aka

  • Imaging a dual boot system - Windows and Linux

    Using Zenworks 7, I have tried several experiments and all of them seem to fail. If I do any kind of Windows install, then make a image, then restore the image, it works just fine. However, if I also install Linux, and use the Linux multiboot menu, a

  • Cannot Drag and Drop

    Hello I cannot drag and drop anything on my iMac, i can move windows and etc.. but cant move files, dock icons, or desktop icons such as Macintosh HD or my external hard drive Lacie, also cannot copy and paste, i copied a song from itunes to paste in

  • Can't use video and square feature in camera after IOS7 update

    After updating IOS7 update i'm unable to use video and square feature in camera. when i click on these button, they don't get start.