Skip to content

Conversation

@tobiaskapser
Copy link
Contributor

Hi together,

I recently had some problems while trying to read single values from a cube with the get_value function.
This was due to some elements having commas in their names.
While this should normally not be case if elements are named properly, it could happen especially if some aliases are added from other datasources. The get_value function in the CellService is not able to handle that at the moment.

It would be nice to change the default delimiter setting if needed. I propose a change in this pull request but it would have to be added also to some other functions in the CellService (e.g _compose_odata_tuple_from_string).

Best regards
Tobias

Allows user to define alternative separators if needed.
Useful if the given separators are used in element- or hierarchy names.
@MariusWirtz
Copy link
Collaborator

Thank you for the contribution @tobiaskapser.

I agree it would be nice to keep the get_value function consistent with other functions that use the concept of an element_string.
Feel free to open a separate PR with that change. I will merge this one.

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.

2 participants