Description
Somebody forgot to code for the other _instance['metricsPosition'] option.
MicroStrategy Support Case
NA
Steps To Reproduce
Make a grid report with an Attribute (like Month) in the Columns and [Metric Names] in the Rows and add some metrics.
parser.py will fail with an invalid key 'name' inside __extract_metric_col_names
Code Snippet
with Connection(source_url, username, password) as mstr_conn:
project_id='<p_id>'
mstr_conn.select_project(project_id=project_id)
rpt_id = '<id>'
mstr_rpt = Report(connection=mstr_conn,id=rpt_id)
rpt_prompts = mstr_rpt.prompts # use the default values
rpt_df = mstr_rpt.to_dataframe(prompt_answers=rpt_prompts)
Description
Somebody forgot to code for the other _instance['metricsPosition'] option.
MicroStrategy Support Case
Steps To Reproduce
Make a grid report with an Attribute (like Month) in the Columns and [Metric Names] in the Rows and add some metrics.
parser.py will fail with an invalid key 'name' inside __extract_metric_col_names
Code Snippet