Help formula ASO MDX

Hello

How can be function @ISMBR be translated MDX for a specific list of members? For example, how can we the BSO (@ISMBR("Jan","Mar","May","Jul","Aug","Oct","Dec")) converted to ASO formula?

Any help is appreciated. Thank you!

You will use the IS for a single member function and the function CONTAINS several members

CONTAINS ([point]. CurrentMember, {[Jan] [Mar], [May] [Jul] [Aug] [Nov] [Dec]})

Tags: Business Intelligence

Similar Questions

  • Help formula ASO MDX contour

    I am trying to build a formula for contour ASO which does the following...

    If year < & months and those < & CurrentMonth

    then the value A value of B account
    another account set A = C

    Those CurrentMonth are variables of subs and year and month are in the format of fiscal 2011/Jan. If the substitution variables can be used, is it possible to use the today() function?

    Please help with MDX equivalent.

    I don't think that will work but try this one

    case
    When contains ([year]. CurrentMember, MemberRange ([FY2009], [FY2010]))
    then B
    When IS ([year]. CurrentMember, & those) and contains ([point]. CurrentMember, MemberRange([Jan],&PreviousMo))
    Then
    B
    on the other
    C
    end

    and let me know the result

    Kind regards
    RSG

    Published by: RSG July 21, 2011 16:41

  • How to convert the Member BSO formula formula ASO MDX

    Hello

    can someone help me to convert under the formula of OSB member to ASO

    T & M = "T & M"->"40000000 Services '%' Services:"-> "40000000;



    Kind regards
    Prabhakar.

    Published by: prabhakar on January 21, 2010 03:21

    Try something like

    ([T & M services], [40000000]) /([Services:],[40000000])

    You may need to tweak it to calculate a percentage of true

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Conversion formula member of the BSO to ASO MDX formula

    Hello

    Can you please help me in converting the BSO formula ASO. Here the formula below was written "gg/Su Mths" Member who is a member of the dimension 'account '.

    If (@isuda ("versiter", en))
    ' gg/Su Mths ";


    in above formula UDA 'en' was entitled on members level of dimension 0 'versiter '.

    Thanks in advance for your help.

    Kind regards
    Prabhakar

    Try,

    CASE
    WHEN (IsUda ([versiter]. CurrentMember, 'fr'))
    THEN [gg/Su Mths]
    END

    Still, you don't score your last message data export from calc dynamic member BSO and load the ASO cube data , don't forget to do.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to convert this BSO formulas formulas ASO?

    I need help to convert this BSO formulas formulas ASO:

    BSO formulas:
    12 * ("head count"-> "stopped" / ((@PRIOR("Head Count"-> "Total Active & Leave") + "number of head"-> "Total assets & leave ') / 2));

    'Number of head' is a member of the dimension account
    'Complete' and ' Total assets & leave "are members of the dimension of the State


    Existing Active
    New rental
    Assets
    CARPET
    STD
    OTH
    Leave
    Holidays & total assets
    Volunteer
    Involuntary
    Death
    Retirement
    End of temporary assignment
    Terminated
    LTD
    Total status
    Promotion within level
    Promotion to the next level
    Promotion
    No Total status
    All Status
    Status (Dimension)



    ASO, the formulas will be?

    Thank you

    Try

    CASE WHEN IS([Period].CurrentMember, [Jan]) THEN
    
    12 * (([Head Count], [Terminated] ) /
    ((( [Head Count], [Total Active & Leave], [Dec], [Year].CurrentMember.lag(1) ) +
    ([Head Count], [Total Active & Leave])) / 2))
    ELSE
    12 * (([Head Count], [Terminated] ) /
    ((( [Head Count], [Total Active & Leave], [Time].CurrentMember.lag(1) ) +
    ([Head Count], [Total Active & Leave])) / 2))
    END
    

    Note that this implies that your dimension of the year is in descending order

    Year
    -2007
    -2008
    -2009

    If the year is in ascending order

    Year
    -2009
    -2008
    -2007

    Then, you need to change

    [Year].CurrentMember.lag(1) 
    

    TO

    [Year].CurrentMember.lead(1)
    
  • Help formula MDX: the months for every month

    Newbie here and young developer Essbase. My business more or less left me on my own without any training, so I'm here hoping a kind soul will help me with a formula. I've got 9.3 Essbase. The cube, I'm working on that is ASO so that the code is in MDX.

    Asked me to build a 'net growth' formula that displays the current month in the variance of the previous months to every 12 months at a time for a given account. Ideally, the user would choose the 'net growth' Member for a given month and be able to see the gap for the previous month dynamically and the variances would be additive to the quarters, et al. I don't need a member formula that allows users to see only the variance to the previous month, or a formula that is attached to the only current month. There is an example below of what I consider the dataset to look like.

    Here are my questions: I was able to get the piece of net growth from month to month to work perfectly, but (a) I can't think of a way to encode the variance from January to December avant-annee or (b) how to get variances to be additive to the quarters and etc.

    So far, my code is based on my Sun account and is the following: account - (account, periods. CurrentMember.PrevMember)

    Example:
    ............ Real... Net growth
    Dec... 8100
    Jan... 8000-100
    Feb... 9000... 1000
    Mar... 8500...-500
    1ST QUARTER... 8500... 400
    Apr... 8750... 250
    May... 8900... 150
    Jun... 9100... 200
    Q2... 9100... 600

    Here's a quick overview of some of my dimensionality and other facts:
    Time elements are divided into four
    1 dim scenarios (for example actual, budget, variance) the order of resolution 15 (although the majority of members are Dim solve 35)
    2 periods (month, quarter, year) Sun 20 of the order of resolution
    3 years (e.g. AFA 08)
    4 views (i.e. MTD, QTD, CDA) Sun 30 of solve order

    I build the formula of "net" on an account that is the last time balance. The account in question is not an expense account, so there is no If/Then logic or from the UDA in this regard.

    Any input at all would be greatly appreciated I'm pretty stuck at this point. Thanks in advance to anyone who is willing to help.

    Published by: user7747563 on October 8, 2008 12:01

    My account.dec was a typo. It should have been a coma.

    I misread your initial statement. Because this account is not balance time then you don't need the or statement. I thought you wanted the time balanced qoutput. You could add an islevel for your case statement change the other to another case and the final one would be the sum of children

  • ASO - formula Member MDX

    Dear,

    In my current requirement that I have cam across, I applied under the formula of dynamic dimension ASO member.

    VC_YTD--(SOMME (PeriodsToDate ([période].))) Generations (2) [period]. CurrentMember), [see]. [VariableCost]))

    FC_YTD - (SUM (PeriodsToDate ([period].)) Generations (2) [period]. CurrentMember), [see]. [FixedCost]))

    FixedCost - SUM ({DESCENDANTS ([Custom1]. (CURRENTMEMBER,10,LEAVES)}, [FC_FIS])

    VariableCost - SUM ({DESCENDANTS ([Custom1]. (CURRENTMEMBER,10,LEAVES)}, [VC_FIS])

    FC_FIS - SUM ({DESCENDANTS ([Custom1]. (CURRENTMEMBER,10,LEAVES)}, [VC_FIS])


    VC_FIS-

    CASE WHEN IsLevel ([account]. CurrentMember, 0) THEN

    IIf (IsAncestor ([A_4000000], [account]. (CurrentMember), (([MTD] * ([BegBalance], [NoLocation], [NoCostCenter], [NoProduct], [UserInput], [Budget], [approuvé], [Local], [aucune Entity],[FY14],[MTD])) / 100), 0)

    on the other

    SUM ({DESCENDANTS ([account]. (CURRENTMEMBER,10,LEAVES)}, [FC_FIS])

    End

    I know this isn't the right way but due to requiremnet I do the same thing.

    Now when I retriev the Member in excel my excel is dying upward and it gives no result.

    In the newspapers, I get below error-

    [FixedCost] member formula is complex. If possible, add a non-empty directive for scattered data optimization.

    The Member [VariableCost] is complex. If possible, add a non-empty directive for scattered data optimization.

    The Member [VC_FIS] is complex. If possible, add a non-empty directive for scattered data optimization.

    Can you suggest me to this.

    Thank you.

    try using NONEMPTYSUBSET()

    "This can help to optimize the queries based on a wide range for which all non-empty combinations is known to be small. NonEmptySubset reduced the size of all the presence of a metric; for example, you can ask the non-empty subset of descendants for specific units.

    NonEmptySubset is used to reduce the size of a set before analytical later retrieval. »

    The thing is once, I got this message and used NONEMPTYSUBSET and the warning does not go far so I found myself just ignore him. Some problems are simply complicated.

  • Conversion formula BSO member to the ASO MDX formula

    Hello

    I member called SDQ (rate) in measures Sun (BSO) and with this member formula I attach to it. So now, I have converted this cube in the ASO... So can help you in the conversion of this formula to ASO.

    IF (@ISmbr (@Desc "(SDQ) (end)");
    End gross Inventory/@SUM (@levmbrs ("Endning Status", 0)-> "End of the crude inventory";)
    ENDIF;

    Note - ending Status (Dynamic Calc) is low and SDQ (End) is a member of the Sun which is dynamic calc too and closing stock is members of the Sun of measures.

    So please help me.

    Thank you
    Pranav

    928641 wrote:
    Hello

    I member called SDQ (rate) in measures Sun (BSO) and with this member formula I attach to it. So now, I have converted this cube in the ASO... So can help you in the conversion of this formula to ASO.

    IF (@ISmbr (@Desc "(SDQ) (end)");
    End gross Inventory/@SUM (@levmbrs ("Endning Status", 0)-> 'End gross inventory';)
    ENDIF;

    Note - ending Status (Dynamic Calc) is low and SDQ (End) is a member of the Sun which is dynamic calc too and closing stock is members of the Sun of measures.

    So please help me.

    Thank you
    Pranav

    Not sure if I really understand your calculation for example why would you sum all the level zero members status ending if you're looking at a subset of members but whay I think that you might wish to is something like
    Case When isAncestor ([(SDQ) (END)], [status ending] .currentmember) then
    [End of the crude inventory] / SUM ({. currentmember.children [ending status]}, [[complete gross inventory])
    End

    If you try to get the value of the current Member of the total stocks of crude end really the easier equation would be
    [End of the crude inventory] / ([end status], [end of the crude inventory])

  • BSO Member conversion to ASO MDX formula

    Hi guys,.

    I am trying to convert the following Member BSO formula to ASO.

    FORMULA MEMBER BSO
    --------------------------------
    IF (@ISLEV ('TP', 0))
    @SUMRANGE ("TDI"->"feat"-> "ETC."->"PC NA Exch"->"", @ILSIBLINGS (@CURRMBR ("TP")));
    ELSE IF (@ISLEV ("TP", 1))
    "TDI"->"feat"-> "ETC."->"PC NA '->' Exch ';
    ENDIF;

    Conversion of the ASO
    ----------------------
    CASE
    WHEN
    IsLevel ([TP], 0)
    Sum (Sum (CrossJoin ({[TDI], [exploit], [ETC.], [PC NA], [Exch]}) THEN))
    MemberRange (([TP]. CurrentMember). FirstSibling, [TP]. Lag (1))
    )
    ON THE OTHER
    WHEN IsLevel ([TP], 1) THEN
    [TDI], [exploit], [ETC.], [NA PC], [Exch]
    )

    Can someone please help me with this? I came with the converstion above but it is not through.

    Thank you
    Mickael

    You have ADI, Feat, etc, PC NA, Exch wrapped in parens? (TDI, Feat, etc, PC NA, Exch)? You can also add .currentmember on behalf of each Member

    ([TDI].currentmember,[Feat].currentmember,[ETC].currentmember, [PC NA].currentmember, [Exch].currentmember) 
    
  • Help formula of ASO Urgent...

    Hi Experts,

    I have fomula Member that contains the actual value or budget based on the actual load. Formula works well as expected however the aggregation does not.

    Member name: forecast (Abs) (25 of solve order)
    -case when islevel ([time] .currentmember, 0) then (case when IsEmpty ([PY_PER]) and IsEmpty ([PY_PER_REVENUE]) and then ([last budget year (Abs)]) else ([last year (Abs)]) end) END

    Member name: prediction Test (30 of solve order)

    CASE WHEN IsLevel ([time] .currentmember, 0), THEN [SEE]. [Forecast (Abs)] else (sum ([Time]. CurrentMember.Children, [VIEW]. [Forecast] (Abs))) end

    The above formula is rolling only level months but months level value is not aggregate level qtr and qtr to the level of the year.

    Our temporal dimension is multiple hierarchy enabled. Primary hierarchy is Power (year-> week-> date) and secodary is exercise (year-> qtr-> month-> date (shared)).

    Any help is appreciated.
    Raja Mohamed

    Hello Mohamed,

    I think the problem is in

    sum ([Time]. CurrentMember.Children

    That is why the month working and probably the week also works. Maybe you have to work with descendants, and not just take the kids. It is dynamic, so the year children are quarters and they have no data because it is stored at lev0.

    Kind regards

    Philip Hulsebosch

  • Convert member formula Member MDX formula

    Hello

    I'm new to ASO and try to convert the following member formula in a BSO cube to an MDX formula for my ASO cube.  Any help will be greatly appreciated.

    IF (@ISMBR ("Q1"))

    ('TOTALREV' / ((@PRIOR («T4 «->» EOPDomains», 1, @RELATIVE ("exercice", 0)) + "EOPDomains") / 2)) * 4;

    ElseIf (@ISLEV("period",1))

    ("TOTALREV" / ((@SHIFT ("EOPDomains",-1, @ISIBLINGS ("Q1")) + "EOPDomains") / 2)) * 4;

    ElseIf (@ISMBR ("Jan"))

    ('TOTALGREV' / ((@PRIOR («Dec «->» EOPDomains», 1, @RELATIVE ("exercice", 0)) + "EOPDomains") / 2)) * 12.

    ElseIf (@ISLEV("period",0))

    ("TOTALREV" / ((@PRIOR ("EOPDomains") + "EOPDomains") / 2)) * 12.

    ENDIF

    It is a fairly easy calculation using a case statement. It is easiser a Calc script, since you can use Lag on all dimensions and tuples.  Try something like:

    Case When IS([Perioid].currentmember,[Q1]) then

    ([TiotalRev] / (([Q4], [EOPDomains], [Fiscal Year].currentmember.lag (1)) + ([period] .currentmember, [EOPDomains], [Fiscal Year] .currentmember) / 2)) * 4

    When IS ([Period].currentmember.levels (1)) then

    ([TOTALREV] / ((([EOPDomains], [Period].currentmember.lag (1)) + ([EOPDomains], [Period] .currentmember) / 2)) * 4)

    When IS([Period].currentmember,[Jan]) then

    ([TOTALGREV] / (([Dec], [EOPDomains], [Fiscal Year].currentmember.lag (1)) + (Period] .currentmember, [EOPDomains], [Fiscal Year] .currentmember) / 2)) * 12

    When Is ([Period].currentmember.levels (0)) then

    ([TOTALREV] / (([Period].currentmember.lag (1), [EOPDomains]) + ([period] .currentmember, [EOPDomains]) / 2)) * 12

    END

    Notes,

    1. you will need to check the skill parens and members for typos that I made this Freehand

    2 n-tuples as ([period] .currentmember, [EOPDomains]) might be able to simplify just ([EOPDomains]), but I made them full for consistenceny

    3. I suggest to change the order of the statements have the most frequent first, it can make the fastest formula

  • BSO to formula ASO

    Formula BSO

    ElseIf (@ISMBR (@relative("period",0)))
    'Real' - @SHIFT ('real',-1);

    ENDIF;

    IF (@ISMBR (@IDESCENDANTS ("account statement", 0)) @ISMBR (@IDESCENDANTS("H43200",0)) or or)
    @ISMBR (@IDESCENDANTS("I43500",0)) and (@ismbr ("Jan")))
    'Real'-> 'Jan ';
    ELSE IF (@ISMBR (@IDESCENDANTS ('check', 0)) @ISMBR (@IDESCENDANTS("H22600",0)) or or)
    @ISMBR (@IDESCENDANTS("H33200",0)) or @ISMBR (@IDESCENDANTS("I22600",0)) or
    @ISMBR (@IDESCENDANTS("I33900",0)) and (@ISmbr ("Jan")) and @ISMBR (& CurrYr))
    'Real'-> 'Jan' - @SHIFT (("Réel"-> "Dec Adj»),-1, @Children ('exercise'));


    Formula of the ASO

    When is (leaves ([period])) then

    ([Real] - ([real].) Lag (1)))

    When IsAncestor ([result], [accounts GAAP] .currentmember, includemember) or
    IsAncestor ([H43200], [H Stat accounts] .currentmember, includemember) or
    isAncestor ([I43500], [I do Stat] .currentmember, includemember) and
    is ([year] .currentmember, Jan) then
    ([Actual], [Jan])


    When IsAncestor ([balance sheet], [accounts GAAP] .currentmember, includemember) or
    IsAncestor ([H22600], [H Stat accounts] .currentmember, includemember) or
    isAncestor ([H33200], [H Stat accounts] .currentmember, includemember) or
    isAncestor ([I22600], [I do Stat] .currentmember, includemember) or
    isAncestor ([I33900], [I do Stat] .currentmember, includemember) and
    is ([year] .currentmember, Jan) and
    is ([Fiscal Year] .currentmember, [curryr]) then

    I have a problem to convert @shift in aso.

    can someone please help me to do

    Thank you
    CASE WHEN IsLeaf([Period].CurrentMember) THEN
    IIF(IS([Period].CurrentMember, [Jan]),
    [Actual] - ([Actual], [Dec], [&priorYr]),
    [Actual] - ([Actual],[Period].currentmember.Lag(1)))
    END
    
  • Correction formula ASO

    Hello

    Trying to convert a BSO formula in the ASO, but get an error like

    Error (1260052) - syntax error in a MDX query to enter on line 4 to token 'CASE' Membername1. could you please correct this formula. Thanks, UB

    BSO formula:

    'Membername1 '.
    (IF (@ISMBR (@IDESCENDANTS (Member5))) "Membername1" = Membername2/52 * 13 * "Membername3" *-1;)
    ELSE IF (@ISMBR (@IDESCENDANTS (Member6))) "Membername1" = Membername4/52 * 13 * "Membername3" *-1;
    ENDIF ;)

    Convert the formula above BSO to ASO, one below:

    WHEN BOX IS ([year]. CurrentMember, [Member5]) THEN
    [[Membername2] / 52 * 13 * [Membername3] *-1]

    WHEN BOX IS ([year]. CurrentMember, [Member6]) THEN
    [Membername4] / 52 * 13 * [Membername3] *-1

    END

    Remove the * 2nd * using the keyword BOX & try again!

    -Alexia

  • The ASO MDX error

    Hello

    We need to calculate the values for ONE month. for example: YTD_Feb - YTD_Jan= Feb. To do this, we tried running maxl below

    run the calculation on the "APPNAME" database.' DBNAME' with

    local script_file 'D:\\Test.csc '.

    POV "CrossJoin ({[Custom1]}",

    CrossJoin ({[Year]},

    CrossJoin ({[Customer]},

    CrossJoin ({[Product]},

    CrossJoin ({[scenario]},

    CrossJoin ({[Source]})))"

    SourceRegion

    "{[Jan_YTD]}, {[Feb_YTD]}, {[Mar_YTD]}, {[Apr_YTD]}, {[May_YTD]}, {[Jun_YTD]}, {[Jul_YTD]}, {[Aug_YTD]}, {[Sep_YTD]}, {[Oct_YTD]}, {[Nov_YTD]}, {[Dec_YTD]}";

    The content of Test.csc is

    [Jan]: = ([YTD_Jan]);

    [Feb]: = ([YTD_Feb]-[YTD_Jan]);

    [Mar]: = ([YTD_Mar]-[YTD_Feb]);

    [Apr]: = ([YTD_Apr]-[YTD_Mar]);

    [May]: = ([YTD_May]-[YTD_Apr]);

    [Jun]: = ([YTD_Jun]-[YTD_May]);

    [Jul]: = ([YTD_Jul]-[YTD_Jun]);

    [Aug]: = ([YTD_Aug]-[YTD_Jul]);

    [MS]: = ([YTD_Sep]-[YTD_Aug]);

    [Oct.]: = ([YTD_Oct]-[YTD_Sep]);

    [Nov]: = ([YTD_Nov]-[YTD_Oct]);

    [Dec]: = ([YTD_Dec]-[YTD_Nov]);

    Running this script finished with the error below.

    ERROR - 1260052 - syntax error in a MDX query on line 1 to token entry ')'.

    ERROR - 1241190 - Custom calculation completed with error of Essbase 1260052 POV


    We tried running the POV with apostrophes and quotation marks as well, but it did not help. Please advice.

    I am sure that the problem is that your last CrossJoin don't crossjoin anything - it contains only a single series. Essbase waits a set after after {[Source]}, not the closing parenthesis.

    You have only five sets of six dimensions crossjoin cross joins. The reason nest us joins crossed like this is crossjoin will take only two sets at once.

    For example, if you have a game, B and C you do this:

    CrossJoin ({A},

    CrossJoin ({B}, {C}))

    But you did this (notice that the last crossjoin contains only a single set):

    CrossJoin ({A},

    CrossJoin ({B},

    Cross join {C})))

  • Help formula: count the number of whites in a column "up to the...» »

    name string metric
    Matthew 5
    brand 1
    brand optimusPrime
    brand
    Luke 2
    Matthew jamesLikesSteak
    John 3
    Luke lukingGood
    Matthew
    Luke
    John johnnyPop
    John

    Hey guys - so I do business with a bit of a problem in number. I have a number table - the table above is a simplified representation of the corresponding parts of the table. The left column 'name' is a series of 12 names repeated and 0 missing values. The "string" middle column is a column that has a lot of missing values by a formula based on another column that is not relevant to this problem. Who is not missing is all strings. The problem I have is in the 'metric ': right column

    I am trying to create a dynamic formula which will result in the numbers and blanks, exactly as above. My goal is to create a formula that, for each line, account the number of whites in the column 'chain' until we reach an empty 'string' which occurs next to "namesake" as in the line of housing the formula - and if there is no such a situation, so that it is empty. For example, if the second row (including header row) bears the name of "Matthew". The next time that a white 'string' occurs next to the name "matthew" is tenth. The number of whites that occur between the second row, and the ninth is 5 (lines 2, 3, 5, 6 and 8). I manually coded a small part of the table to use something like this (which would be installed in cell C2 in this example):

    = IF (B2 = "", COUNTBLANK(B2:B9), "")

    This formula produces the correct number for the first row of data (5), but it does not dynamically fulfill what I'm trying to do this since I am currently having the formula to find the next blank 'chain' that occur next to "name" in the formula line.

    I hope that someone has encountered anything like this before. I tried to go through all the functions and numbers from formulas, but so far I have not found much success.

    Hi BaronDe,

    I need to ask, "why you try to do this? So what you want is possible it will be a complex solution. It may be much easier to get your information in a different way. Indicate these blanks?

    You should know that COUNTBLANK() will not count a cell with a formula, even if this formula resolves to «»

    Quinn

Maybe you are looking for

  • Lightning damaged cable

    Lightning cable is damage, I Exchange it for a new one on the apple store?

  • I can't clear the old history

    I want to clear the history for sites that I have not visited in more than a week. I can only find an option to clear all the history or recent history.

  • Cannot move app to SD card

    Hi all I have a Moto E 2nd GEN and run the latest Android OS 5.0.2 My problem is after that I update to the latest version of Skype that it won't let me move the app to the SD card. I was able to do it with the previous version. Any help will be much

  • After sleeping Satellite L850 fails at startup

    After sleep, my laptop Satellite L850 fails to start. I have to remove the battery and reinstall it to allow commissioning. How could I solve this problem?

  • HP Elite 800: Driver LAN PCI VEN_8086 &amp; DEV_153A

    Hello Happy new year to all! I'm looking for some drivers, such as the LAN to my 800 Elite on Win XP 32 bit: PCI VEN_8086 & DEV_153A I have no choice of operating system... Where can I find it and how to install it? Thank you! Dahlia