COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: suhas_bhat on 19 Nov 2010 09:18:47 AM

Title: Cognos error Gen-Err-0015
Post by: suhas_bhat on 19 Nov 2010 09:18:47 AM
Hi all,
   Am facing a peculiar error which goes like
Initially, in data source type(s) '', the function 'source' is not supported in 'TabularOperationProvider'. After decomposition, in data source type(s) '', the function 'source' is not supported in 'TabularFuncProvider'.
Can somebody please tell me how to resolve this.
All i am doing is pointing to a dataitem2 in query2 from within a dataitem1 in query1,
something like this query2.dataitem2.
Please help.
Title: Re: Cognos error Gen-Err-0015
Post by: MFGF on 19 Nov 2010 10:13:25 AM
Hi,

You need to either join or union your two queries into a new query, then refer to items within the scope of just that one query.

Regards,

MF.
Title: Re: Cognos error Gen-Err-0015
Post by: suhas_bhat on 24 Nov 2010 09:36:11 PM
thanks for the suggestion.  :)
Title: Re: Cognos error Gen-Err-0015
Post by: khabaleshri on 28 Dec 2018 09:00:10 AM
Hi All,

Could you please elaborate on this further as I am too facing same error.
I am working on Cube package and I would like to show diff between current amount and prior amount from 2 different query.
when I join current and prior query for diff then I am getting Gen-Err-0015.
please let me know how to diff query1.current_amount-query2.prioramount from cube package.
Title: Re: Cognos error Gen-Err-0015
Post by: MFGF on 28 Dec 2018 09:50:53 AM
Quote from: khabaleshri on 28 Dec 2018 09:00:10 AM
Hi All,

Could you please elaborate on this further as I am too facing same error.
I am working on Cube package and I would like to show diff between current amount and prior amount from 2 different query.
when I join current and prior query for diff then I am getting Gen-Err-0015.
please let me know how to diff query1.current_amount-query2.prioramount from cube package.

Hi,

With a cube package you're unable to join queries, unfortunately. Joins are a relational concept and translate into SQL constructs, but when reporting over a cube there is no SQL - MDX is used instead.

Honestly, though, the capabilities of member-based reporting over a cube should mean you never need more than one query. Can you explain what you are trying to achieve? I strongly suspect there is a better, easier way...

Cheers!

MF.
Title: Re: Cognos error Gen-Err-0015
Post by: khabaleshri on 31 Dec 2018 05:06:11 AM
Hi MFGF,

I am looking for two period amount difference. For that, I have created 3 query
1. current amount from current query (data items:LOB_NM, Outstanding amount) where filter : monthid=?month?
2. previous amount from previous query (data items:LOB_NM, Outstanding amount) filter : monthid=?month?-1
3. diff=current- previous

I am new to dimensional modeling. please help me out to achieve above into single query with any dimensional functions(like filter etc.)
Title: Re: Cognos error Gen-Err-0015
Post by: khabaleshri on 03 Jan 2019 05:03:25 AM
Hi All,

Anybody help me to achieve above scenario in cube package. can we do it in single query

thanks