Replies: 1 comment 1 reply
-
Sure. Feel free to open a Feature Request in the Issues section. For now, you can use MDX with tuples but it's not as convenient. from TM1py import TM1Service
with TM1Service(base_url="https://localhost:25734", user="admin", password="") as tm1:
mdx = """
SELECT
{
([Period].[201912], [Country].[Austria], [Product].[Lager], [Version].[Act]),
([Period].[201912], [Country].[Austria], [Product].[India Pale Ale], [Version].[Act]) ,
([Period].[201912], [Country].[Germany], [Product].[Lager], [Version].[Act]) }
on 0
FROM [Sales]
"""
df = tm1.cells.execute_mdx_dataframe(mdx)
print(df)
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We have a use-case where it would be great to be able to get multiple specific values back at a time. Is it possible to have a 'get_values' function that is like 'write_values', but takes a list of data point tuples and returns a list similar to what is passed INTO write_values?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions