COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: bi4business on 12 May 2021 12:16:48 AM

Title: Style Variables vs Query
Post by: bi4business on 12 May 2021 12:16:48 AM
Hi All,

I need to create a kind of Template-report, and I am almost there.....but would like to solve the Parse error  ;)

When I create a Query-Calculation within a Query and use  [#sq(CSVIdentityNameList())# contains '%John Doe%'] it gives me what I want.
('TRUE' / 'FALSE' )
When using this within a Style Variables, I get a Parse error.  :(

What am I doing wrong, and how can I get the Style Variables ?

I don't want to 'connect'  to a Query-Item within the Style Variables.

Any ideas how to solve this?

Kind Regards,















Title: Re: Style Variables vs Query
Post by: bi4business on 20 May 2021 01:32:40 PM
Hi All,

Apparently you can't use a macro within a Style Variable, so I need to find another way.....

But this does explain the error message  ;D

Kind Regards,