-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Labels
Description
When requesting alias values in TM1py, empty values are being returned in case there is no value in the }ElementAttributes cube.
Example:
Code:
from TM1py import TM1Service
import pandas as pd
with TM1Service(
address="localhost",
port=12354,
user="admin",
password="apple",
) as conn:
print(conn.server.get_server_name())
print(conn.server.version)
dim = "dim1"
sub = "Default"
setexpression = "{TM1SubsetToSet([" + dim + "].[" + dim + "],'" + sub + "')}"
df = conn.power_bi.get_member_properties(
dimension_name=dim,
hierarchy_name=dim,
member_selection=setexpression,
skip_weights=False,
skip_consolidations=False)
with pd.option_context('display.max_rows', None, 'display.max_columns',
None): # more options can be specified also
print(df.to_markdown())
Expected behavior:
Alias values by definition should never be empty.