COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: AJAYC on 16 Oct 2017 11:01:18 AM

Title: UNIQUE function and MUNs
Post by: AJAYC on 16 Oct 2017 11:01:18 AM
Hi All

I am trying to create a Value prompt from a dimension hierarchy which it self is made up of a number of sub-hierarchies, each containing TM1 elements, eg

All Cost Centres
-Cost Centre Group 1
---CC01
---CC02
-Cost Centre Group 2
---CC01
---CC02
---CC03


In the example, I want to base the prompt query on a uniqueness of the elements (CCxx) from a descendants function on the "All Cost Centres", but each element will have a separate MUN meaning I will show all 5 rather than showing three.

Since the data is stored at CCxx level in TM1, I thought that the use of the captions would help, but I can't seem to carry a unique/caption combination in the report expression.

Does anyone have any other suggestions on how the single instance of each cost centre can be presented in the prompt and used in the query ?

Thanks
Ajay
Title: Re: UNIQUE function and MUNs
Post by: venkat01 on 20 Oct 2017 01:36:20 PM
My guess is to try Auto grouping yes property of the query

Sent from my GT-N8000 using Tapatalk