COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Framework Manager => Topic started by: cielo on 03 Sep 2019 04:00:43 PM

Title: Derived table?
Post by: cielo on 03 Sep 2019 04:00:43 PM
Can we create a derived table in FM? I am aware we have option to create SQL in Report studio..would like to know do we have same option in FM?Thanks
Title: Re: Derived table?
Post by: dougp on 03 Sep 2019 06:09:15 PM
You mean like this?  https://www.wiseowl.co.uk/blog/s360/sql-derived-tables.htm

Basically, everything is a derived table in FM.  What's the real question?
Title: Re: Derived table?
Post by: cielo on 04 Sep 2019 02:06:36 PM
I mean View...rather than creating in DB can we create in FM? Thank you
Title: Re: Derived table?
Post by: MFGF on 04 Sep 2019 02:46:56 PM
Quote from: cielo on 04 Sep 2019 02:06:36 PM
I mean View...rather than creating in DB can we create in FM? Thank you

This sounds to me like a model query subject in FM?

MF.
Title: Re: Derived table?
Post by: dougp on 04 Sep 2019 06:16:53 PM
Sure that could be a model query subject (based on other query subjects in the model) or a data source query subject (just copy from another one and change the SQL to what you need).

But I'm still confused about the actual need.  SSRS is not a modeling tool -- it's a reporting tool.  It doesn't relate to FM.