Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to pass in a dimension list and have OptimusPy reorder the cube based on the list #60

Open
gtonkin opened this issue Dec 21, 2024 · 0 comments

Comments

@gtonkin
Copy link

gtonkin commented Dec 21, 2024

Not an issue but an idea.

Where no Best order can be determined, the user would need to review and potentially reorder the cube themselves.

It would be great to be able to pass in a parameter with a dimension list which simply does some basic validation then executes tm1.cubes.update_storage_dimension_order(cube_name, new_dimension_order) based on the passed new_dimension_order argument.

e.g.
python "C:\TM1Py\OptimusPy\optimuspy.py" -i="Training" -c="Expense" -r="Period,Plant,Inventory Version,Company Code,Transaction Currency,Reporting Currency,Scenario,Product,Inventory Measures"

The list of dimensions can easily be joined using TextJoin(",",true,) from the relevant row in the results file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant