I created process to load formula with ODBC to dimension from database (SQL Server) with TI and set to attribute 'calculation'. After process execute successful, formula updated in attribute of dimension same as the table in database but the value in cube are incorrect.
Example of this situation
1. Setting formula in database table. (Same as Table1 in file "Formula Table.png")
2. Execute process to import element and update attribute to dimension.
3. Check result in cube
4. Change formula in database table. (Same as Table2 in file "Formula Table.png") In step 3, I have checked the rule in region "Region N-Calculation rules:" (Picture 1.png) is not updated from attribute 'calculation'. I try to right click the cube and then choose "Generate Rule" with "Performance modeler" (Picture 2.png) and cube rule is updated same as attribute and data in the cube are correct. I need to help from everyone, What is TI function name to "Generate Rule" same as "Performance modeler" tool.
PS. I can't show some code of rule because it's confidential.
Thank you for the best answer from everyone.
