Skip to content

Implement add_sets_to_axis method - #58

Open
bdunleavy22 wants to merge 1 commit into
cubewise-code:masterfrom
bdunleavy22:patch-1
Open

Implement add_sets_to_axis method#58
bdunleavy22 wants to merge 1 commit into
cubewise-code:masterfrom
bdunleavy22:patch-1

Conversation

@bdunleavy22

Copy link
Copy Markdown

Added a method to add multiple sets to a specified axis.

Similar results are achievable through mdx = MdxBuilder().add_set_to_axis(0, MdxSet().crossjoins([...])), however it's a little more verbose than mdx = MdxBuilder().add_sets_to_axis(0, [...]), and retrieval also becomes a little more difficult (e.g. currently to retrieve the mdx for the 3rd dimension/set is mdx.axes[0][0][3] instead of mdx.axes[0][3] which this new function would produce. To me it seems a little more intuitive, but open to other opinions).

Added a method to add multiple sets to a specified axis.
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

Successfully merging this pull request may close these issues.

1 participant