Quantcast
Channel: COGNOiSe.com - The IBM Cognos Community
Viewing all 13018 articles
Browse latest View live

Error in FM CA 11.0.7 with Oracle JDBC

$
0
0
Hi All,
Please suggest if anyone has seen this error with CA 11.0.7, or any earlier versions with DQM.

Environment Details
Database: Oracle 12c 64 bit 12.1.0.2.0
JDBC Driver: ojdbc8.jar (Also tried ojdbc6.jar)

Scenario:
[li...

Re: Report Performance Improvement

$
0
0
I have some users who routinely run a report that produces 185,000 rows of 208 columns and output to Excel or CSV format.  The query runs on the database for about 30-45 seconds.  The report will often fail at 30 minutes because I have set a maximum ex...

Re: Pre populate values in Select & search prompt.

$
0
0
Post your report XML and I'll take a look.

Re: Drill-Through to Third-Part Site via HyperLink URL from Chart/ List

$
0
0
Possible solution ;
Create fake/ dummy drill-through reports. The drill-through links are created in the parent report. Now, using SDK could we read the code that is passing the parameters and direct the link to the third part site with the filtered pa...

SQL0840N Too many items were returned in a SELECT list

$
0
0
Hello,

I'm getting the below error when trying to create a relationship between a master table and a dimension. Master table has more than 300 columns and the dimension has 200+ columns, please help me get rid of the below error.

BMT-MD-0003 UDA-SQL-01...

Re: using Replace function with concatenated data items

$
0
0
Hi BigChris,

Your example got me trying out different case statements, and I think I finally cracked it!  Here's a bit more context to explain what I did.

The table containing the author information has three fields:

  • AuthorNumber (an auto-in...

Re: Dispatcher order for effective load balancing

Re: Parameterized URL to run in the backgroud

$
0
0
And yes I am using batch file to trigger my report (there is no way to pass parameters from batch file to the report).

Re: Extract only numbers from phone number field (Solved)

$
0
0
@lynn we use a Netezza SQL database. Or so our IT people tell me.
@lynn & @sjdig If I'm understanding you correctly, using the replace function I would have to identify every non-numeric character, and list that in the function. Which leaves the possib...

Re: SQL0840N Too many items were returned in a SELECT list

$
0
0
is there any other work around other than splitting the Query subject? I have around 49 tables with 1000+ columns in each, its a hurdle. Please suggest me the best approach to handle this.

thanks,
rajurokz

Re: Extract only numbers from phone number field (Solved)

$
0
0
Netezza had a regexp_replace function.

You can match all non-numeric characters with /d or [^0-9].

I don't have a netezza instance to test, so you'll have to do some experimenting. This is probably the safest way to get the actual numbers.

Summarize measure filtered at a lower lower level

$
0
0
I have a requirement for an overtime report built on a Dynamic Cube.  The report need to summarizes overtime hours for the month or year but only if the overtime is on the weekend, during certain shifts and total hours for the day is greater than 8.5. ...

Re: Configuration/Deploying Cognos on Websphere ND Cluster

FM 11.0.7 Model Governor Setting Not Working

$
0
0
Hi all,

In my FM 11.0.7 model I set the Maximum number of report tables to 8, published my package, and ran a test report in Cognos analytics - report query is drawing from 14 databse tables. And the report ran without error. So in Cognos Reporting, I ...

Re: Summarize measure filtered at a lower lower level

$
0
0
The trick here is to always evaluate the measure on the day level, then summarize up to the current level.

Two ideas.

1. Total(measure within set descendants (currentmember(),daylevel))

2. The generate function should help here. You can calculate the ...

Re: compare prior MTD sales with MTD in daily basic

$
0
0
I would creat two dataitems one is for MTD as case when Date >= trunc(current_date,'month') AND Date <=current_date then total(Amt) end
another one is for PMTD as
case when Date >= trunc(_add_months(current_date,-1),'month') AND Date <=_add_months(cur...

Re: compare prior MTD sales with MTD in daily basic

$
0
0
If you need daily same way creat 2 dataitems Currentday as case when Date >= trunc(current_date,'day') AND Date <=current_date then total(Amt) end
Prevmonthcurrentday as case when Date >= trunc(_add_months(current_date,-1),'day') AND Date <=_add_month...

Native SQL - instead of FOR and AT Clauses

$
0
0

Gurus,

Can anyone help me how to convert (roughly) this Cognos SQL to Oracle SQL, which is written for one derived column.

SUM(MAX(COLUMN A for COLUMN  B) at COLUMN B) / COUNT ( COLUMN B at COLUMN B)
-------------

I need native SQL for the same, but w...

Cognos SQL, unable to convert to Native SQL

$
0
0

Gurus,

Can anyone help me how to convert (roughly) this Cognos SQL to Oracle SQL, which is written for one derived column.

SUM(MAX(COLUMN A for COLUMN  B) at COLUMN B) / COUNT ( COLUMN B at COLUMN B)
-------------

I need native SQL for the same, but w...

Re: Summarize measure filtered at a lower lower level

$
0
0
Thanks Paul, I will give those a try.
Viewing all 13018 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>