Element Not Found "FY"
Posted: Wed May 08, 2013 7:05 pm
I am in architect 10.1 writing a rule. I am trying to automate my cube so if I enter a value in the 'System_ProcessInfo' cube it will update all the current FY in my code that were previously hard coded. In other word one entry point to roll my months and years.
Old Code
['Current Budget','Period Input','Variance Budget Basis $']=['Current Budget','FY 2014','Amount (LC)']-['Budget Basis','FY 2014','Amount (LC)'];
New Code
['Current Budget','Period Input','Variance Budget Basis $']=['Current Budget','FY'|' '|'20'|DB('System_ProcessInfo', 'stringValue23', 'Patt_Admin'),'Amount (LC)']-['Budget Basis','FY 2014','Amount (LC)'];
The code works just fine if I enter 'FY 2014'. However if I attempt to automate using 'FY'|' '|'20'|DB('System_ProcessInfo', 'stringValue23', 'Patt_Admin') it will not work. I am using this same code for other rules in the same cube so it seems strange. For some reason it appears not to be recognizing the concatenation bar | .
The error i receive is below.
Error:
Error on line 82:
Element Not Found "FY"
Old Code
['Current Budget','Period Input','Variance Budget Basis $']=['Current Budget','FY 2014','Amount (LC)']-['Budget Basis','FY 2014','Amount (LC)'];
New Code
['Current Budget','Period Input','Variance Budget Basis $']=['Current Budget','FY'|' '|'20'|DB('System_ProcessInfo', 'stringValue23', 'Patt_Admin'),'Amount (LC)']-['Budget Basis','FY 2014','Amount (LC)'];
The code works just fine if I enter 'FY 2014'. However if I attempt to automate using 'FY'|' '|'20'|DB('System_ProcessInfo', 'stringValue23', 'Patt_Admin') it will not work. I am using this same code for other rules in the same cube so it seems strange. For some reason it appears not to be recognizing the concatenation bar | .
The error i receive is below.
Error:
Error on line 82:
Element Not Found "FY"