Correction formula ASO
HelloTrying 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
Tags: Business Intelligence
Similar Questions
-
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 youTry
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
-2009If the year is in ascending order
Year
-2009
-2008
-2007Then, you need to change
[Year].CurrentMember.lag(1)
TO
[Year].CurrentMember.lead(1)
-
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]})
-
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
endand let me know the result
Kind regards
RSGPublished by: RSG July 21, 2011 16:41
-
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 youCASE WHEN IsLeaf([Period].CurrentMember) THEN IIF(IS([Period].CurrentMember, [Jan]), [Actual] - ([Actual], [Dec], [&priorYr]), [Actual] - ([Actual],[Period].currentmember.Lag(1))) END
-
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:21Try 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/ -
Convert Member BSO formulas to ASO
Please convert the following Member BSO formula ASO MDX formula
IF (@LEVMBRS ("M", 0)
)
"A" = @ROUND ("Z" * "C"-> "D"-> "E"-> "Z", 0) +;
ENDIF
-------------------------------------------------------------------------------------------------
IIF ([M]. (Level (0)], round ([Z] * [C]-> [D]-> [E]-> [Z] + [A]), 0)IIF (ISLEAF ([M]), ROUND (([Z] * ([C], [D], [E], [Z])), 0) + [A], MISSING)
-
Formula of BSo
IF (@ISMBR (@IDESCENDANTS ("health Companies")))
"H42000. Calc' = (("H40900"-> "NG_Opt" + "H41000"-> "NG_Opt"
"H41100"-> "NG_Opt" + "H41200"->"NG_Opt" + "H41300"->"NG_Opt".
"H41400"-> "NG_Opt" + "H41700"-> "NG_Opt") *.
("NG_11Adj"-> "PLAT_00"-> "BSEG_00"-> "HMHS_00000"-> "PROD_000"-> "MKT_0000"-> "DEPT_00000"-> "FAC_00000"-> "LAE rate")) ;
Formula of the ASO
-CASE when (Company.CurrentMember, [companies health]) is then
[H42000.calc] = (([H40900], NG_opt + [H41000], NG_opt + [H41100], NG_opt + [H41200], NG_opt + [H41300], NG_opt))
+ [H41400], NG_opt + [41700], NG_opt) *.
(NG_Adj.currentmember, Plat_00.currentmember, BSEG_00.currentmember, HMHS_00000.currentmember,
PROD_000.CurrentMember, MKT_0000.currentmember, DEPT_00000.currentmember, FAC_00000.currentmember.
LAERate)
End
I'm trying to convert asf formula aso.
I get the error message
Error (1260052) syntax error in a mdx query to enter on line 2 to token '=' NG_21Adj
I write formula member of NG_21Adj and looks like it does not of '=' and sign ' + '.
can someone help me with this
Thank youOh (of course). In the formula of Member ASO that the calc is for this member, then the equation is not necessary.
But I'm confused because you said that this formula Member performed a member called NG_21Adj
If H42000.calc whence?
Below should work syntactically, but now I'm unclear of what your goal is. Which Member you are trying to calculate?
CASE WHEN IsAncestor([Health Companies], [Company].CurrentMember, INCLUDEMEMBER) THEN (([H40900], [NG_opt]) + ([H41000], [NG_opt]) + ([H41100], [NG_opt]) + ([H41200], [NG_opt]) + ([H41300], [NG_opt]) + ([H41400], [NG_opt]) + ([41700], [NG_opt])) * ([NG_Adj], [Plat_00], [BSEG_00], [HMHS_00000], [PROD_000], [MKT_0000], [DEPT_00000], [FAC_00000], [LAERate]) END
or
CASE WHEN IsAncestor([Health Companies], [Company].CurrentMember, INCLUDEMEMBER) THEN SUM(CROSSJOIN({[H40900], [H41000], [H41100], [H41200], [H41300], [H41400], [41700]}, {[NG_opt]})) * ([NG_Adj], [Plat_00], [BSEG_00], [HMHS_00000], [PROD_000], [MKT_0000], [DEPT_00000], [FAC_00000], [LAERate]) END
-
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
PrabhakarTry,
CASE
WHEN (IsUda ([versiter]. CurrentMember, 'fr'))
THEN [gg/Su Mths]
ENDStill, 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/ -
Hello
Can you please help me in converting the BSO formula ASO. This is common is a member of the year (time) dimension.
IF (@ISMBR (Current)) 'Member' = ('Member'-'member_In' + 'member_Out');
ELSE 'Member' = @PRIOR (member);
ENDIF
Thanks in advance for your help.
Kind regards
UB
Published by: user640496 on January 20, 2010 22:44Try something like
CASE WHEN IS([Year].CurrentMember, [Current]) THEN [MCEB] - [Net_In] + [Net_Out] ELSE [MCEB].lag(1) END
I just wrote this from memory, don't have the time to test at the moment, but should be close.
-
Formula percentage symbol question
I am creating a simple spreadsheet to calculate the differences in percentage between a set of numbers based on stock market returns. When I try to create the formula (B3 - B2) / B2, numbers puts the sign '+' instead of the sign ' / '.
Any help to get the correct formula or an explanation of why I get it and how to fix would be appreciated.
It looks like a + sign, but if you look closely, you will see that it is the symbol of the ÷ division.
BTW, you can simplify your formula: put an end to the value of value/start-1.
SG
-
Decode the formula to calculate interactive field
Hello
Need help to decode formula to calculate interactive field.
What is the problem with the formula below?
What I want is...
If the BH field value is 'Y' then get the field value T to another 'OK '.
If the value of the T field does not begin with 'FY11 OR %' then get value in field of another 'OK '.
If the value of field AL ends with "REC" then 'CHECK' otherwise 'OK '.
DECODE (SUBSTR (decode (SUBSTR (decode (BH, 'Y', T, 'OK'), 1, 7), not as 'FY11 OR %', AL, 'OK'),-3), 'REC', 'CHECK', 'OK')
I get the error message: invalid calculation expression. not
Could you please suggest me a correct formula?
FYI, I use Apex 3.0 which does not support the CASE WHEN THEN END.
Thank you
GuyHello
It is slow when you use functions like this in query
I don't know how you like it as one more example of
DECODE(DECODE(SUBSTR(T,1,7),'FY11 OU','OK','NOK') || DECODE(BH || SUBSTR(AL,-3),'YREC','OK','NOK'),'NOKOK','OK','CHECK')
And I'm sure it's still slower
Kind regards
Jari -
Adding a column of hours and minutes
Im working on the Pages and usually I can find the answer online, but I have problems today. In column A and B I have time when I started work (column A) and others (column B) with the what I've accomplished. In column C, I was able to work the formula total time of columns A and B. But I have trouble finding a correct formula to SUM to the top of the C column for the footer.
Thank you before hand!
Hi you
(Date and) time and duration calculations can be difficult. If you can provide a screenshot of your table and formulas that you use, it will be probably easy to determine where and why things go wrong.
To take a screenshot of part of the screen:
- Place the mouse pointer in the upper-left corner of the area you want to include.
- Press shift + command-4 (the pointer becomes a circle with the cross)
- prlss and hold the mouse button and drag it down to the right corner of the area to be included in the screen shot.
- release the mouse button.
The screenshot will be saved to your desktop as the screenshot date time .png
To post a screenshot:
- Place the insertion point where you want the inserted image
- Click on the camera icon in the bar above the composition pane
- Click on Select file
- Navigate to the desktop, click Update to sort this column and make the screen shot to the top of the list
- Click on the name of end to select.
- Click on choose
- Click on insert image
Kind regards
Barry
PS: Your initial position indicates work in 'Pages '. Is this correct?
B
-
How can I count the custom order?
I'm counting the number of names that appear in all the columns in the table
Each cell contains the name of a single individual, like the first column: 1-01, the second columns: 1-02, etc.
Can someone help me with the formula to measure? What would be the correct formula for this?
Thank you very much.
Hi the learner,
"I'm trying to count the number of names that appear in all the columns in the table
Each cell contains the name of a single individual, like the first column: 1-01, the second columns: 1-02, etc.. »
Your goal is not clear.
What do you mean by ' count number per ordercustom?
You want a single indictment which only has the names that appear in each column?
Do you want counts of the number of names appearing in each column (ie. a separate head for each column)?
You want a counter of the number of all the names on the table?
Or is that what you want different from all this?
"Each cell contains the name of a single individual."
Not mean there is no empty cell?
This means that there are no cells that contain data that is not the name of an individual?
I do not understand the connection between "1-01", "1-02 ' and the names in the cells.
Please specify.
Kind regards
Barry
-
Export spreadsheet Numbers to Excel removes the functions
I opened an Excel file with numbers 3.6.1. It works fine; all my data and my imported correctly formulas and
the spreadsheet works fine. However, when I then export the document in Excel, the data appear in the result
Excellent document, but the cells where the results of the calculations on these data are all empty. It's as if the functions are lost in the
export.
When you open an Excel worksheet in Numbers v3.6.1, so is no longer an Excel worksheet. It is translated in the format of the internal document numbers and is subject to the behavior and functions programmed in numbers. When you export to Excel, another translation occurs, and if you have applied the features unique to a number, it will be deleted, or mutilated in the process of exporting to Excel.
If you share Excel spreadsheets with Windows users, then there will be less of a problem in using Office 2016 for Mac, when you open, edit and save in the native architecture of Microsoft Excel document. No translation. No surprises.
Maybe you are looking for
-
Word, lines background color table
Hello I need help working table, the background color of line. I have a different table from the doc. but this specific table will be the place where the bookmark (test2). And this table should have all the lines of even number of color gray or any o
-
Update from Acer E1-470P-6659 maximum ram
I read this forum-> http://community.acer.com/t5/2013-Archives/Acer-Aspire-E1-470P-Changing-Memory/td-p/160167and sir acer-tommy said that "the E1 - 470P comes in different configurations, with one or two memory locations.» 4 GB systems have only one
-
DCOM98 UPDATE AND RESTART THE OFFICE MANAGER
PLEASE INSTALL DCOM98 UPDATE, RESTART THE DESKTOP MANAGER
-
Well well after 3 years or more than 8 hours, a day use that my rocket starts acting wonky. I decided to completely withdraw my Connect 5 years and make the "rocket" my player going to bed... which means that I only will use during the night. Regardi
-
64-bit Windows 7 mouse freezes / stuttering several times per minute
Found this post online by Googling my problem... I recently bought a beautiful Alienware gaming platform, running on Windows 7 64 bit. Also, I experienced problems with my mouse, as a first step, I took no notice, but after a few months, start/stop s