MDX - based filtered Active Form issue
Posted: Fri Dec 09, 2011 3:32 pm
Good afternoon everyone,
As lotsaram advised me in my previous thread, I've created an MDX - based filtered Active Form.
What I have in TM1RPTROW cell is:
=TM1RPTROW($M$32;"servername:Task";;;;;mdx)
where $M$32 is a cell with TM1RPTVIEW and TM1RPTTITLEs - all mappings is checked and ok.
In mdx cell I have an MDX expression, so I can filter the rows by departments, so the user displays only rows that apply to his department:
="{FILTER({TM1SubsetBasis()}[Task].[Department] = '"&$Q$35&"')}"
I'm aware that "{TM1SubsetBasis()}" chunk is needed only when a subset name is given as a TM1RPTROW argument - be patient, I'm about to describe my issue just few lines later.
Of course, "$Q$35" is a reference to a cell where a department name is generated by a DBRA formula according to logged in user (if the department name is hardcoded into a cell, the issue still exists).
And now the best part. All works fine in Excel, rows are generated correctly according to given filtering, but, when uploaded to TM1 Web, Active Form is not showing up - only one, empty row is visible, like none of elements in Task dimension matches filtering criteria.
As I said before, erasing "{TM1SubsetBasis()}" chunk or adding a subset name into a MDX statement still doesn't resolve a problem.
I also tried erasing single quotes in '"&$Q$35&"' - still no luck.
Any ideas?
Regards,
Ćukasz M.
As lotsaram advised me in my previous thread, I've created an MDX - based filtered Active Form.
What I have in TM1RPTROW cell is:
=TM1RPTROW($M$32;"servername:Task";;;;;mdx)
where $M$32 is a cell with TM1RPTVIEW and TM1RPTTITLEs - all mappings is checked and ok.
In mdx cell I have an MDX expression, so I can filter the rows by departments, so the user displays only rows that apply to his department:
="{FILTER({TM1SubsetBasis()}[Task].[Department] = '"&$Q$35&"')}"
I'm aware that "{TM1SubsetBasis()}" chunk is needed only when a subset name is given as a TM1RPTROW argument - be patient, I'm about to describe my issue just few lines later.
Of course, "$Q$35" is a reference to a cell where a department name is generated by a DBRA formula according to logged in user (if the department name is hardcoded into a cell, the issue still exists).
And now the best part. All works fine in Excel, rows are generated correctly according to given filtering, but, when uploaded to TM1 Web, Active Form is not showing up - only one, empty row is visible, like none of elements in Task dimension matches filtering criteria.
As I said before, erasing "{TM1SubsetBasis()}" chunk or adding a subset name into a MDX statement still doesn't resolve a problem.
I also tried erasing single quotes in '"&$Q$35&"' - still no luck.
Any ideas?
Regards,
Ćukasz M.