COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Framework Manager => Topic started by: jeeva on 12 Feb 2016 05:19:55 AM

Title: Need Suggestions on String divide using substring function
Post by: jeeva on 12 Feb 2016 05:19:55 AM
Hi,

we need some suggestion on dividing the string using substring function with delimited value.

for this dividing the string which we have in specific column, we are trying to follow below 2 steps

1. create a calculation in data source query subject to dividing the string.

2. create a model query subject and dividing the string in this model qs.

which one is the better one? please suggest me
Title: Re: Need Suggestions on String divide using substring function
Post by: bus_pass_man on 14 Feb 2016 07:02:50 PM

You want to avoid metadata callbacks.  That's why you want the query layer query subjects to be in the form select * from.  The query engine then only needs to get metadata from the metadata stored in the query layer.

You want to have your business expressions in your business layer.
Title: Re: Need Suggestions on String divide using substring function
Post by: Lynn on 15 Feb 2016 02:52:04 AM
Or better yet, modify your database to store the column and have the ETL perform the string manipulation.