Use of MEASURES dimension in a RUNALLOCATION in a script logic

Hi everybody,
We are trying to use MEASURES dimension inside a RUNALLOCATION in a script logic, because we need to work with the information at a YTD element
Example:
It works:
*XDIM_MEMBERSET C_CATEGORY=%C_CATEGORY_SET%
*XDIM_MEMBERSET TIEMPO=%TIEMPO_SET%
*XDIM_MEMBERSET PRODUCT=BAS(TOT_PRODUCT)
*XDIM_MEMBERSET MARKET=BAS(TOT_MARKET)
*RUNALLOCATION
          *FACTOR=USING
          *DIM ACCOUNT     WHAT=Cost;          WHERE=Import;           USING=Units;
//        *DIM MEASURES    WHAT=PERIODIC;      WHERE=PERIODIC;         USING=YTD;  
          *DIM CLIENT      WHAT=CLIENTE_NA;    WHERE=>>>;              USING=BAS(TOT_CLIENT);
*ENDALLOCATION
*COMMIT
It doesn't work:
*XDIM_MEMBERSET C_CATEGORY=%C_CATEGORY_SET%
*XDIM_MEMBERSET TIEMPO=%TIEMPO_SET%
*XDIM_MEMBERSET PRODUCT=BAS(TOT_PRODUCT)
*XDIM_MEMBERSET MARKET=BAS(TOT_MARKET)
*RUNALLOCATION
          *FACTOR=USING
          *DIM ACCOUNT     WHAT=Cost;          WHERE=Import;           USING=Units;
          *DIM MEASURES    WHAT=PERIODIC;      WHERE=PERIODIC;         USING=YTD;  
          *DIM CLIENT      WHAT=CLIENTE_NA;    WHERE=>>>;              USING=BAS(TOT_CLIENT);
*ENDALLOCATION
*COMMIT
How can we do it? Is possible to use Measures dimension?
Any idea out there?
Kind regards
Albert Mas

Hi Albert,
I believe you are correct that using MEASURES in this way is not possible. Depending on whether you have data in future periods, you may just be able to use the time dimension instead of the measures dimension:
*DIM TIME WHAT=2010.AUG; WHERE=2010.AUG; USING=2010.TOTAL;
You could also manually maintain a property and select on the property to do the same thing, which would allow you to exclude future periods.
Another option might be to make your Units account a balance sheet account, which should make it always behave as a YTD value, or create a second UNITS_YTD account as a balance sheet account and populate it with the Units YTD value using script logic before running the allocation, then use the UNITS_YTD account as your allocation driver.
Ethan

Similar Messages

  • How to use the current view in script logic - %DIMENSIONNAME_SET% not work

    Hello,
    I have the requirement to use the values from the current view in the script logic. User would like to use the members which were selected from the current view in the calculation.
    We are using SAP BPC 7.0 SP06
    I have prepared the following scrpit:
    *XDIM_MEMBERSET TIME=$YEARS001$.NA
    *XDIM_MEMBERSET ACCOUNT=BAS(PLVEH_EXP)
    *SELECT(%CBU%,ID,BUSINESSAREA,[ID]='%BUSINESSAREA_SET%'")
    *SELECT(%CIO%,ID,INTERNALORDER,[ID]='%INTERNALORDER_SET%'")
    *RUNALLOCATION
    *FACTOR=USING
    *DIM BUSINESSAREA WHAT=BANA;WHERE=%CBU%;USING=<<<
    *DIM INTERNALORDER WHAT=IONA;WHERE=%CIO%;USING=<<<
    *DIM INDICATORS WHAT=INVEHPRI;WHERE=INPXQ;USING=INVEHQUA
    *ENDALLOCATION
    I have read in the sdn that it is possible to get the current values using %DIMENSIONNAME_SET% variable and use it but it returns all the members that were selected in the datapackage.
    I would like to know if there is any special consideration regarging the use of variable or if there is another way to solve it.
    Thanks in advance.

    Hi,
    If you want the code to be executed for the current view selected, you can place the code in Default logic which executes the logic for what ever current view values you send the data through Input schedule.
    The key word you have mentined is for script running through Data Manager which gets the value selected through user promt.
    Hope this helps,
    Regards,
    G.Vijaya Kumar.

  • The "Measures" dimension contains more than one hierarchy... Collation issue

    It appears that an Excel query pased through to SSAS has a "measures" with lowercase "m" when analysis services expects an uppercase "M" so it should look like "Measures". Is there a fix in excel to allow
    the correct passing of "Measures" member name to the cube?
    BTW, I have NO Calculations in the cube.
    In excel 2013 when I pivot with a pivot table connected to a case sensitive collation (non default config)
    cube and perform a filter by "Keep only Selected Items" I get the error "The 'Measures' dimension contains more than one hierarchy, therefore the hierarchy must be explicity specified".
    When I revert back to server wide setting to case insensitive, and I preform the exact same pivoting function it works without error. The problem appears to be that excel does not understand the server collation setting.
    When I run SQL Server Profilier I narrowed down the MDX statement run in Excel that gives me an error to this:
    with
    member measures.__XlItemPath as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    [Employee].[Location Code].currentmember.unique_name,
    "|__XLPATHSEP__|"
    member measures.__XlSiblingCount as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    AddCalculatedMembers([Employee].[Location Code].currentmember.siblings).count,
    "|__XLPATHSEP__|"
    member measures.__XlChildCount as
    AddCalculatedMembers([Employee].[Location Code].currentmember.children).count
    select { measures.__XlItemPath, measures.__XlSiblingCount, measures.__XlChildCount } on columns,
    [Employee].[Location Code].&[01W]
    dimension properties MEMBER_TYPE
    on rows
    from [Metrics]
    cell properties value
    Playing around with the query I discovered that if I capitalize the first letter of the "with measures" member, the statement works.
    with
    member Measures.__XlItemPath as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    [Employee].[Location Code].currentmember.unique_name,
    "|__XLPATHSEP__|"
    member Measures.__XlSiblingCount as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    AddCalculatedMembers([Employee].[Location Code].currentmember.siblings).count,
    "|__XLPATHSEP__|"
    member Measures.__XlChildCount as
    AddCalculatedMembers([Employee].[Location Code].currentmember.children).count
    select { measures.__XlItemPath, measures.__XlSiblingCount, measures.__XlChildCount } on columns,
    [Employee].[Location Code].&[01W]
    dimension properties MEMBER_TYPE
    on rows
    from [Metrics]
    cell properties value
    Also, I realise that I could change the collation on just the cube itself to case insenstive to get this to work, but I really don't want to do an impact analysis of running a mixed collation environment.
    So, my question is: Is there an excel fix that will allow me to run a case sensitve cube and allow me to click on filter and filter by "keep only selected items" or "Hide selected Items"? All other filtering works, it's only those two
    filtering options error for me.
    Here are the versions I'm working with:
    Excel 2013 (15.0.4535.1507) MSO(15.0.4551.1007) 32-bit Part of Microsoft Office Professional Plus 2013
    Microsoft Analysis Server Enterprise 2012 11.0.3000.0
    Any help would be appreciated. Thank you in advance!

    Hi, i assume this logic is for Dimension formula?
    If you have multiple hierarchy like ParentH1 and ParentH2 you should use FormulaH1 and FormulaH2 and not FORMULA column.
    in FORMULAH1
    [Account.H1].[Account_A] / [Account.H1].[Account_B]

  • BPC 7.5NW SP8 PERIODIC APP–EVDRE TOTALS USING YTD MEASURE ARE INCORRECT

    Hello u2013
    I have 4 application sets with periodic applications in which all measures are set up exactly the same in BPC 7.5 NW SP8. Time in each of the appsets includes months, quarters, seasons and year. Measures include Periodic, QTD, STD, YTD and Rolling12. All measures work correctly with the exception of one application in which the YTD measure is summing incorrectly. This issue exists in both the DEV and PROD environments for this application.
    The Time dimension is maintained using fiscal years. The fiscal yearu2019s months run from February -> January. Time uses the same setup in all 4 appsets.
    The following steps have been taken in an attempt to fix this issue:
    1.     Verified the Time dimension hierarchy and levels are set up correctly
    2.     Cleared client cache
    3.     Deleted Time dimension .xls, .xlt and .xml files from the BW and re-processed the dimension
    4.     Ran light and full optimizations
    5.     Verified the formula in the BW for this app is the same as the formula in the other apps
    6.     Refreshed client-side dimension files
    7.     Used the How-to-guide u201CHow to Maintain Measure Dimension for BPCu201D and verified the UJA_FORMULA_APP table and UJA_API_DATA_CHECKER function module are maintained automatically and no missing entry messages exist
    8.     Deleted the PARENTH1 hierarchy from the Time dimension, processed, added the hierarchy back into the member sheet and re-processed
    9.     Updated application description and modified application
    Has anyone else had this problem? Any assistance in resolving this issue will be most appreciated.
    Thanks,
    Carrie
    YTD Measure Formula:
    MEMBER [MEASURES].[YTD] AS 'IIF([%ACCT_TRANS%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[LEVEL00], [%TIME%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),IIF([%ACCT_TRANS%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[LEVEL00], [%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%ACCT_TRANS%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL03])),IIF([%ACCT_TRANS%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL03])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    *EVDRE RESULTS     *
    MONTH         YTD     
    FY2010 FEB     128,790,195      
    FY2010 MAR     214,054,796      
    FY2010 APR     63,828,203      
    FY2010 MAY     445,898,233      
    FY2010 JUN     377,079,009      
    FY2010 JUL     288,502,058      
    FY2010 AUG     517,947,504      
    FY2010 SEP     678,612,886      
    FY2010 OCT     593,190,135      
    FY2010 NOV     879,439,971      
    FY2010 DEC     784,580,667      
    FY2010 JAN     949,300,083      
    FY2010 TOTAL     949,300,083      
    TIME DIMENSION                 
    ID     PARENTH1     LEVEL     MONTHNUM     TIMEID
    2010.FEB     2010.Q1     MONTH     1     20100100
    2010.MAR     2010.Q1     MONTH     2     20100200
    2010.APR     2010.Q1     MONTH     3     20100300
    2010.MAY     2010.Q2     MONTH     4     20100400
    2010.JUN     2010.Q2     MONTH     5     20100500
    2010.JUL     2010.Q2     MONTH     6     20100600
    2010.AUG     2010.Q3     MONTH     7     20100700
    2010.SEP     2010.Q3     MONTH     8     20100800
    2010.OCT     2010.Q3     MONTH     9     20100900
    2010.NOV     2010.Q4     MONTH     10     20101000
    2010.DEC     2010.Q4     MONTH     11     20101100
    2011.JAN     2010.Q4     MONTH     12     20101200
    2010.Q1     2010.STD1     QUARTER     3     10000001
    2010.Q2     2010.STD1     QUARTER     6     10000002
    2010.Q3     2010.STD2     QUARTER     9     10000003
    2010.Q4     2010.STD2     QUARTER     12     10000004
    2010.STD1     2010.TOTAL           6     10000005
    2010.STD2     2010.TOTAL           12     10000006
    2010.TOTAL           YEAR     12     10000007

    Hi Carrie,
    Your configuration looks OK to me. Can you provide us the output of the same EVDRE using the Periodic measure? Also, have you raised a customer message with SAP?
    Ethan

  • Multiple Essbase-derived measure dimensions in OBI EE

    Hi guys,
    I have a requirement here which basically requires the usage of measures coming from two different measure dimensions of Essbase (Account and Scenario) next to each other in reports.
    I set both to dim type "measure dimension" and made sure the respective measures exist as physical cube columns. Then I tried two alternatives:
    1.) One logical fact table - result spool:
    -------------------- Logical Request (before navigation):
    RqList distinct
    Actual:{DAggr(Account.Actual by { } )} as c1 GB,
    Actual LY:{DAggr(Account.Actual LY by { } )} as c2 GB,
    Target:{DAggr(Account.Target by { } )} as c3 GB,
    Vs Actual LY:{DAggr(Account.Vs Actual LY by { } )} as c4 GB,
    Vs Actual LY %:{DAggr(Account.Vs Actual LY % by { } )} as c5 GB,
    Ops:{DAggr(Account.Ops by { } )} as c6 GB,
    Sales_In:{DAggr(Account.Sales_In by { } )} as c7 GB
    +++Administrator:2a0000:2a000a:----2008/11/10 14:29:55
    -------------------- Execution plan:
    RqList <<60982>> {for database 0:0,0} distinct
    D1.c1 as c1 {for database 0:0,0},
    D1.c2 as c2 {for database 0:0,0},
    D1.c3 as c3 {for database 0:0,0},
    D1.c4 as c4 {for database 0:0,0},
    D1.c5 as c5 {for database 0:0,0},
    D1.c6 as c6 {for database 0:0,0},
    D1.c7 as c7 {for database 0:0,0}
    Child Nodes (RqJoinSpec): <<61009>> {for database 0:0,0}
    RqList <<60949>> {for database 3023:179879:Full cube,34}
    AggrExternal(INSIT.Actual) as c1 GB {for database 3023:179879,34},
    AggrExternal(INSIT.Actual LY) as c2 GB {for database 3023:179879,34},
    AggrExternal(INSIT.Target) as c3 GB {for database 3023:179879,34},
    AggrExternal(INSIT.Vs Actual LY) as c4 GB {for database 3023:179879,34},
    AggrExternal(INSIT.Vs Actual LY %) as c5 GB {for database 3023:179879,34},
    AggrExternal(INSIT.Ops) as c6 GB {for database 3023:179879,34},
    AggrExternal(INSIT.Sales_In) as c7 GB {for database 3023:179879,34}
    Child Nodes (RqJoinSpec): <<60952>> {for database 3023:179879:Full cube,34}
    INSIT T179892
    ) as D1
    +++Administrator:2a0000:2a000a:----2008/11/10 14:29:55
    -------------------- Sending query to database named Full cube (id: <<60949>>):
    select
    { {Scenario}.{Actual},
    {Scenario}.{Actual LY},
    {Scenario}.{Target},
    {Scenario}.{Vs Actual LY},
    {Scenario}.{Vs Actual LY %},
    {Scenario}.{Ops},
    {Scenario}.{30001}
    } on columns
    from {INSIT_C.INSIT}
    2.) Two logical fact tables - result spool:
    +++Administrator:2a0000:2a0007:----2008/11/10 14:49:23
    -------------------- Logical Request (before navigation):
    RqList distinct
    Account.Sales as c1 GB,
    Account.Backlog as c2 GB,
    Account.Sales_In as c3 GB,
    Scenario.Act vs Bud % as c4 GB,
    Scenario.Act vs Budget as c5 GB
    OrderBy: c1 asc, c2 asc, c3 asc, c4 asc, c5 asc
    +++Administrator:2a0000:2a0007:----2008/11/10 14:49:23
    -------------------- Query Status: Query Failed: {nQSError: 15018} Incorrectly defined logical table source (for fact table Account) does not contain mapping for {Scenario.Act vs Bud %, Scenario.Act vs Budget}.
    +++Administrator:2a0000:2a0009:----2008/11/10 14:49:28
    -------------------- Logical Request (before navigation):
    RqList distinct
    Account.Sales as c1 GB,
    Account.Backlog as c2 GB,
    Account.Sales_In as c3 GB
    OrderBy: c1 asc, c2 asc, c3 asc
    +++Administrator:2a0000:2a0009:----2008/11/10 14:49:28
    -------------------- Execution plan:
    RqList <<37039>> {for database 0:0,0} distinct
    D1.c3 as c1 GB {for database 0:0,0},
    D1.c2 as c2 GB {for database 0:0,0},
    D1.c1 as c3 GB {for database 0:0,0}
    Child Nodes (RqJoinSpec): <<37047>> {for database 0:0,0}
    RqList <<37051>> {for database 3023:179879:Full cube,34}
    INSIT.Sales_In as c1 GB {for database 3023:179879,34},
    INSIT.Backlog as c2 GB {for database 3023:179879,34},
    INSIT.Sales as c3 GB {for database 3023:179879,34}
    Child Nodes (RqJoinSpec): <<37059>> {for database 3023:179879:Full cube,34}
    INSIT T179892
    ) as D1
    OrderBy: c1 asc, c2 asc, c3 asc {for database 0:0,0}
    +++Administrator:2a0000:2a0009:----2008/11/10 14:49:29
    -------------------- Sending query to database named Full cube (id: <<37051>>):
    select
    { {Scenario}.{Sales}{Scenario}.{Backlog}{Scenario}.{30001}
    } on columns
    from {INSIT_C.INSIT}
    +++Administrator:2a0000:2a0009:----2008/11/10 14:49:29
    -------------------- Query Status: Query Failed: Essbase Error: Unknown Member Scenario.Sales used in query
    So basically neither of the two options work at all. Most of the time he just assumes that all that measures are coming from the last hierarchy I defined as a measure dimension...hence the unknown member error.
    Likewise with the two logical tables, he screws the query up completely and doens't even manage to resolve the column mappung against the logocal tables.
    Has anyone ever tried to mix measure dimensions retrieved from Essbase? Using OBI EE it's very tricky to define the acutal measure containing data points in Essbase.
    Cheers,
    C.
    Edited by: Christian Berg on Nov 10, 2008 2:58 PM
    Edited by: Christian Berg on Nov 10, 2008 3:00 PM
    Sorry for the reformatting...the forum doesn't like the square brackets in the BI server logs...

    Solved. Takes some nibbling around in Answers, but doable with unioning and pivot tables.
    Cheers,
    C.

  • Multiple source tables for Measures dimension.

    Hi,
    We have two different SQL source tables for the Measure dimension in our project. Both the tables have the same structure but the Measures they contain are different. Based on certain condition Essbase will have to pick up Measures from one of the two tables. So basically the source table changes based on the condition. Is it possible to design rule files to achieve this? Please help me with this.
    Thanks,
    Krishna

    as I am sure many will say essbase and load rules are not really an ETL tools.^^^ :)
    Glenn is going to counter with a "I know how to do this in three steps using create column as text, join, and a oft-overlooked but awesome command that everyone but Tom Tortolani (I think I have the spelling on that right -- he was the Arbor employee that wrote Load Rules) forgot.
    I 100% agree with John -- why not do it in SQL?
    Regards,
    Cameron Lackpour
    Edited by: CL on Jan 23, 2013 6:33 AM
    Misspelt Tom's name

  • Where can I find information about using the measurement tool and log?

    Am try to use the measurement tool to measure perspective plain; any ideas?

    No one can remotely have "any ideas" to help you when you don't even mention what your problem is nor what your system and workflow are like.
    Of course, when you post here,one assumes you have done your due diligence, read the documentation, the user guide, the Help files in the Photoshop Help menu, as well as done Google and forum searches, etc, and we would expect some sensible, detailed information from you.
    Teaching someone Photoshop from scratch, step by step, exceeds the scope of this forum—or any other forum.
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • EVDRE Measures Dimension Issue

    Greetings,
    Currently using Version 5.0.502.  We are encountering an issue with EVDRE reports when the Measures dimension is included in the ColKeyRange.  When Measures is included in the ColKeyRange, the EVDRE report will not retrive any values.  When Measures is not included in the ColKeyRange, the EVDRE report will retrive values.  Any ideas would be appreciated!
    Regards,
    GReg Lakin

    Version 5.0.502 is BPC 5.1 SP3.  There are several service packs following this release that you could take advantage of, or you should consider upgrading to the latest version 7.0 SP.  The process, while appears to be a big step and does have many variables would be a recommended path, sinc the current version of 5 is coming off of SAP maintenance at the end of this month.  SAP will take calls and support, but no additional changes will be built for version 5.1.

  • How to use the RateEntity dimension in SAP BPC?

    Hello everbody,
    I am implementing a consolidation process using SAP BPC. I want to use the RateEntity dimension, to translate a same currency into different exchange rates depending on the company.
    I want the company which ID is GFU (which is from Brazil) in LegalEntity dimension is converted using a special exchange rate. I have added a GFU member in RateEntity dimension, and I have entered the exchange rates for the member GFU and for the member Global in RateEntity dimension.
    But the problem is that after I run the FX Restatement package, converted data for this company is not the proper one, because Global exchange rates have been used instead of GFU exchange rates. Does anybody know why? Do I have to do anything else? 
    Thank you very much for your time

    Do you see the search functionality in the upper left of the screen?
    Okay, now type in ecatt, press enter and in the next screen filter on blogs.

  • I would like to know how to transform an API C++ application in MFC C++ application to use the measurement studio components or Labwindows CVI

    I don t know the way used to transform a C++ with API program in an MFC application using measurement studio or Labwindows CVI.
    Thank you for you help.

    You can use the Measurement Studio Add/Remove Components Wizard to add Measurement Studio components to your C++ application. For more information, see the "Adding and Removing Components from Measurement Studio Projects Using a Wizard" topic in the Measurement Studio reference. You can find it in the table of contents under:
    Visual C++ Help
    Tutorials
    Measurement Studio for Visual C++ 6.0
    If you're using the Measurement Studio update for Visual C++ .NET, this topic will be under:
    Visual C++ Help
    Tutorials
    Measurement Studio for Visual C++ .NET
    - Elton

  • Multiple fact tables using one measure

    Hi Experts,
    Multiple fact tables using single measure .For example Measure name is amount . This measure is using 5 fact tables. By using this info , i have to create bmm layer document . In bmm layer documents columns are like logical table name ,column name, logical sourc name . could you please help me out to draft the document ?

    Hi ,
    My question is five fact tables are there, day level two different fact tables , period and week fact tables are there .
    Above all tables are using single measure . how to design these fact tables with measure in bmm layer ?
    Please kindly give reply .
    Thanks in advance.

  • Issue with Reports using costume measures - BPC 10.0 NW

    Hello BPC Colleagues,
    I’m having a problem with some BPC reports using costume measures and I would like to have your inputs about this issue.
    When all the reports are executed using a costume measures the report execution fails after a long time of execution (7min). The report has 1200 accounts and 57 company codes.
    In order to create trial balance we create these costume measure. Basically the measures are standars (with a few changes) and it works for limited reports (few account and companies) but we I try to executed for several accounts and companies I have the following error:
    “The execution of report Default Report failed. Please contact your administrator.”
    Error while communicating with the server
    Framework message:
    The underlying connection was close: An unexpected error occurred on a receive.
    Summary of the BPC LOG:
    |An error occurred while receiving the HTTP response to https://BPCENV.APPSET.MODEL. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.#
    We already increased the PSAPTEMP table and this didn’t fix the issue. At the beginning we were sure that this was an issue with table space but the error persist.
    I don’t think (maybe I’m wrong) that this is not an issue related to the costume measure or to authorizations since I can retrieve data if I reduce the request to less accounts an company, so in my point of view this looks like a performance issue.
    Just for you, below you will find the details about our measure that generate the problem:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER), [MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    Finally is important to mention that we are using BPC 10.0 NW (SP08)
    If you have any suggestion for me I will appreciate.
    Thanks you a lot!

    Hi Vadim,
    Once again, thanks for your help.
    We already modified the YTD standard measure but is with that measure that I have problem. Do you think that my new formula is not efficient and for that reason I’m having this problem? Is this correct?.
    Below you will find the standard and costume measure. In red I marked the difference between these 2 formulas:
    YEAR TO DATE CUSTOME MESURE:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER), [MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    YEAR TO DATE STANDAR MEASURE:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    If you have any suggestion to correct my formula I would really appreciate it.
    Regards,

  • What's the unit label of y-axis of PSD when using Spectral Measurement Express VI?

    Hi:
     What's the unit label of y-axis of PSD when using Spectral Measurement Express VI?
    Selected Measurement : Power spectral density
    Result : dB
    No Averaging..
    Is dB/Hz the magnitude label of PSD output? Thx!

    There could be an issue the the Express VI converting your waveform data into the dreaded Dynamic Data Type, which is just causing more and more memory to be used.
    So what I would recommend is use the DAQmx Configure Logging  VI to configure DAQmx to stream the data as you read straight to a TDMS file.  There are various other properties you can set to make the logging go across files.  You just set up the logging before running your task.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • From scorecard Pass parameter to be used as Measure in query of analytic Grid report in PPS in SP2013

    From scorecard Pass parameter  to be used as Measure in query of analytic grid report in PPS
    Any idea of how we can pass this parameter while connecting scorecard and report
    any use of MDX in connection formula ?
    Parameter needs to be assigned on click of scorecard cell

    Hi,
    That API has restrictions on its usage. Please see http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDICGDA
    The lines to be referred to are Also, this method requires that the parameters that describe the BLOB to be listed as the format of a valid item within the application. That item is then referenced by the function.Regards,
    PS: Your report must be on Page 98 , so it is able to reference the item P98_NAV_IMAGE. List being a Shared Component it may not be able reference that Item.
    Edited by: Prabodh on May 28, 2012 3:16 PM

  • What sensor should be used to measure speed of motor

    Hi,
    I am using NI PCI-6624 to control the speed of dc motor. I have used "PWM-Counter Output.vi" example to generate PWM pulses to control the input power of motor. I am using "counter output" and "analog input" terminals of PCI-6624. Counter output terminal is used to generate PWM signal and "analog input" terminal will be used as an input from speed sensor.
    Can someone tell me what sensor I can use to measure the speed of motor. Please note that the output of the sensor will be the analog input to PCI6624, so it is essential that speed sensor's output is ANALOG.
    Please help me in this matter and tell me which sensor can be used and from where I can buy it ?
    Thanks

    Ayaz,
    the straight forward low-cost solution for velocity measurements is using a quadrature encoder. With your  DAQ device you could use the second counter of the board to measure the frequency of one phase, but that's jus one option amongst others.
    I haven't come across sensors that output a voltage that is proportional to velocity but expect such a device to be much more expensive and probably less accurate.
    Do you plan to do closed loop velocity control? Are you using Windows or a realtime system?
    Kind regards,
    Jochen Klier
    National Instruments

Maybe you are looking for