COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: dougp on 29 Sep 2017 07:02:20 PM

Title: Cognos Analytics Reporting: Query Structures/References
Post by: dougp on 29 Sep 2017 07:02:20 PM
Would one of you Report Studio gurus still running 10.2.1 or 10.2.2 help me out?  I'm using 11.0.4 and testing 11.0.7, but I need to know if the behavior of the query editor in 10.2.x is what I remember.


For convenience, I have attached the results of developing this report in 11.0.4.  It validates and runs in 11.0.x.  Data|Source shows all of the query subjects from the package and Data|Data items shows all of the queries in the report, regardless of what query I am editing.
To open it in 10.2.x, I think you'll just need to fix the first line.
Title: Re: Cognos Analytics Reporting: Query Structures/References
Post by: MFGF on 02 Oct 2017 03:19:35 AM
Quote from: dougp on 29 Sep 2017 07:02:20 PM
What appears in the Data pane?  Does Cognos restrict your options to only data items that exist in Query1?

Hi Doug,

Yes - exactly this. I can see the items from Query 1 in the source pane.

(http://image.ibb.co/dwZtWG/Doug1.png)

Quote from: dougp on 29 Sep 2017 07:02:20 PM
Validate the report (it should validate).

Yes - it validates fine.

Quote from: dougp on 29 Sep 2017 07:02:20 PM
Run the report (it should run).

Yes - I see the original list fed from Query1 followed by the new list fed from Query2

Quote from: dougp on 29 Sep 2017 07:02:20 PM
Run the report.  Does it fail with some sort of reference error?

Nope. It runs and renders three lists - the first from Query1, the second from Query2 and the third from Query3.

Quote from: dougp on 29 Sep 2017 07:02:20 PM
Validate the report.  Does validation fail?

Nope. I get "The report specification is valid"

Quote from: dougp on 29 Sep 2017 07:02:20 PM
For convenience, I have attached the results of developing this report in 11.0.4.  It validates and runs in 11.0.x.  Data|Source shows all of the query subjects from the package and Data|Data items shows all of the queries in the report, regardless of what query I am editing.
To open it in 10.2.x, I think you'll just need to fix the first line.

I'll open it and take a look next. I think the report spec version needs to be 12.0 so I'll edit the xml to switch the version.

I'm doing this testing on 10.2.2 :)

MF.
Title: Re: Cognos Analytics Reporting: Query Structures/References
Post by: MFGF on 02 Oct 2017 03:25:27 AM
Hi Doug,

Your report spec opens fine (after changing the Schema to 12.0 and the Style Version to 10)

Validating the report returns "The report specification is valid"

Running the report renders all three lists.

Cheers!

MF.
Title: Re: Cognos Analytics Reporting: Query Structures/References
Post by: dougp on 02 Oct 2017 10:05:09 AM
So the behavior has always been that way.  What has changed is the display and the apparent inability to use query items from queries other than the one intended as the source.

Thank you very much for taking the time to perform this test.
Title: Re: Cognos Analytics Reporting: Query Structures/References
Post by: MFGF on 02 Oct 2017 11:12:53 AM
Quote from: dougp on 02 Oct 2017 10:05:09 AM
So the behavior has always been that way.  What has changed is the display and the apparent inability to use query items from queries other than the one intended as the source.

Thank you very much for taking the time to perform this test.

You are very welcome, sir! :)