COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: kado on 15 Nov 2010 05:20:12 PM

Title: Unique Levels in DMR
Post by: kado on 15 Nov 2010 05:20:12 PM
Hello,

I have a DMR model that doesn't appear to be grouping my data as desired. For instance, I have a hierarchy called Product with the following levels:

- Prod Division
- Prod Type
- Prod #

Prod Type is not unique in that it can show up in multiple divisions. With that, I would like Prod Type to display uniquely when presented to an end user in the form of a prompt. It always shows all of the overlap and looks to be displaying the same Prod Type over and over (because they show up in multiple divisions).

any thoughts?

thanks,
kado


Title: Re: Unique Levels in DMR
Post by: cognostechie on 15 Nov 2010 05:41:35 PM
Are you creating the prompt from the DMR itself ?

I usually create seperate query subjects to act as lookup tables for prompting. This also ensures that the Prompt page comes up fast without the user having to wait for the the DMR/Full Query subject to execute.

Create a seperate query subject to include only the Prod Type and it's Description (if reqd). You can either use the 'group by' function in the SQL or use Determinants and group it to show the value only once. Use this Query subject to populate the prompt.
Check the filter in the report and if required, change the filter condition to compare the value of the DMR level with the value in the Prompt.
Title: Re: Unique Levels in DMR
Post by: cognostechie on 15 Nov 2010 05:44:46 PM
Sorry, what I meant was that you can create a seperate query subject by using the Prod Type master table as the source. That way you don't even have to group it because the master/dimension table in the DB might have unique values for the Prod Type. 
Title: Re: Unique Levels in DMR
Post by: kado on 16 Nov 2010 06:06:54 PM
I am trying to create the prompt from the DMR model and appreciate your feedback. That makes sense.

thanks,
kado