Reference PA Subset Dynamically in Cognos Analytics
Posted: Thu Apr 27, 2023 2:04 pm
In CA, a prompt can be utilized to pick a dimensional element and then use that selection in a crosstab with a data item expression like:
[tm1_cube].[Products].[Products]->?p_tree_selection?
We are in dire need of equivalent functionality but with specifying a subset to use rather than a dimension selection. We want to be able to specify which subsets to utilize in a job running a report. We can then maintain a single report but utilize for multiple needs. The subsets in question are not exchangeable with say the children of a dimensional selection as the subset elements have different element order and customized depth of certain elements.
As I don't believe tree or value prompts can be used to pick from subsets, I was thinking of perhaps using a text box prompt to specify a subset reference like:
[tm1_cube].[Products].[Products].[Product_Subset1]->?p_textbox_value?
However, I cannot find a way to get CA to typecast this into usable set.
Has anyone had any luck dynamically swapping in subset references?
Thanks,
-- John
[tm1_cube].[Products].[Products]->?p_tree_selection?
We are in dire need of equivalent functionality but with specifying a subset to use rather than a dimension selection. We want to be able to specify which subsets to utilize in a job running a report. We can then maintain a single report but utilize for multiple needs. The subsets in question are not exchangeable with say the children of a dimensional selection as the subset elements have different element order and customized depth of certain elements.
As I don't believe tree or value prompts can be used to pick from subsets, I was thinking of perhaps using a text box prompt to specify a subset reference like:
[tm1_cube].[Products].[Products].[Product_Subset1]->?p_textbox_value?
However, I cannot find a way to get CA to typecast this into usable set.
Has anyone had any luck dynamically swapping in subset references?
Thanks,
-- John