If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Prompt query not using Distinct clause

Started by ajskumar, 23 Aug 2017 08:51:35 AM

Previous topic - Next topic

ajskumar

Have created a value prompt to show the distinct values from one of fact table. Have created query (using package source) from Jethro Database.

When I try to see the Generated SQL option in report studio, the distinct clause not included in native SQL. However its added in Cognos SQL.

Only the native SQL sent to database, so its failing to fetch the data.



Invisi

What do you mean with the value prompt showing the distinct values? If you select a data item to show in a value prompt, the values are distinct by default, so I don't understand your mention of 'distinct'.

Secondly, which values are you getting from the fact table for a value prompt? For me value prompts are for filtering on dimension attribute values.
Few can be done on Cognos | RTFM for those who ask basic questions...