on 05-17-2011 12:03 PM
Hi,
I've been trying to set up a formula on an ACCOUNT member:
SUM({[TIME].[FY10.JAN]:[TIME].CurrentMember},([ACCOUNT].[SALESOWN],[CATEGORY].[ACTUAL]))
But it fails to process the dimension and returns an error message:
Failed to expand K2 function for dimension ACCOUNT's member formulas
MDX statement error:"Invalid MDX command with ,"
Obviously it does not like the tuple
([ACCOUNT].[SALESOWN],[CATEGORY].[ACTUAL])
even though it is a perfectly valid syntax. Besides, I have tried a similar formula in APPSHELL and it worked fine.
What could cause this difference of behavior from one appset to another?
Thanks
Regis
So does it work if you replace the tuple with a constant number? If not, then it's not the tuple that's the problem.
Cheers,
Ethan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is very strange. Each of the following work?
SUM({[TIME].[FY10.JAN]:[TIME].CurrentMember},[CATEGORY].[ACTUAL])
SUM({[TIME].[FY10.JAN]:[TIME].CurrentMember},[ACCOUNT].[SALESOWN])
Is there any more script logic as part of this script? Is the application type and storage type (Periodic vs. YTD) the same between this application and ApShell?
Thanks,
Ethan
Sorry, missed that it was a member formula and not a script. I'm pretty much out of ideas about how this could work in one application and not in another. Maybe SALESOWN is a calculated member, which wouldn't normally be allowed but the validation might be failing if it isn't in a tuple, but I doubt that.
Can you share the formula that worked in APSHELL? Maybe that will give someone an idea.
Thanks,
Ethan
I know the topic is very old, but on a system sap bw 740 sp 14 (BPC 10.1 sp. 😎 I had the same error while modifying the formula YTD dimension MEASURES.
When I modified the formula, and I wanted to save it appeared the error: 'Invalid command with MDX,'.
The problem occurs only in environments where we do not have transactional data. After entering values for a number of intersections of the problem resolved.
Regards
Tomek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Regis:
Please apply note 1662418 to see if your issue can be solved.
Thanks,
Weiwei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.