COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: Commander Cognos on 11 Nov 2019 09:39:21 AM

Title: Search&Select prompt find exact match
Post by: Commander Cognos on 11 Nov 2019 09:39:21 AM
Hi,

is there a way to find the exact string in a search&select prompt the user is typing in?
Example:

Item no
23
2345
2346

Once the user is searching for "23" only the item "23" should be displayed. It seems that Cognos is querying internally always for like or contains. All existing options are not working and I do not see a way to edit the query.

Thanks and cheers,
CC
Title: Re: Search&Select prompt find exact match
Post by: ThatKingslayer on 15 Nov 2019 09:32:36 AM
Look at your Search and Select box (viewing the report in HTML / not in design mode) and you should see options for how the search will work such as 'Starts with any of these keywords' or 'Contains all of these keywords'. That might help. I'd also check your query to see what the filter is set up is like.

One thing though is that you said you were not able to edit the query. Are you in REPORTING or DASHBOARDS? If you meant Dashboards then you might need to move this topic over there as the answers might differ.