COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: adam_mc on 08 May 2014 01:19:51 PM

Title: RESOLVED: Create Set based on Prompt
Post by: adam_mc on 08 May 2014 01:19:51 PM
I am hoping this is really simple and I am missing something really obvious....

Dimensional using Transformer Cube.

I have a 2 multiple selection prompts each to select a Groups of Stores (prompt is at Store Level).
Parameters are p_TestStores and p_ControlStores

I simply need to create two member sets of Stores (TEST and CONTROL) and place as Crosstab Column Headers.

Any help would be greatly appreciated.
Thanks in advance,
Adam.
Title: Re: Create Set based on Prompt
Post by: adam_mc on 08 May 2014 02:12:56 PM
Issue resolved... knew it would be simple.

Created two calculations

set([Stores] ->?p_TestStores?)
set([Stores] ->?p_ControlStores?)

Then used aggregate(currentMeasure within set ([New Calcs]) to get what I needed!