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

Re: str([Amount]) returns a 1 in all cases when accessing data item directly


Re: Get the avg of fact column values of last 5 days

$
0
0
Code: [Select]
total (
  case when rank ( [PAY_DT] desc for report ) <= 5 then [AMT] else 0 end
  for report
)
/ 5

Failover Data Source for when ETL is running

$
0
0
Hey Folks,
We're a global shop so would like to have 24/7 availability of our reporting needs met.  When ETL is running, the DB is offline and so cannot be reported against and we'd like to resolve this, is there a best practice to setting this up?  Sh...

Re: PDF output option for Dashboards, Active, Reports or Stories

$
0
0
I tried this method in 11.0.9:

View your dashboard and then select the fullscreen option (2 diagonal arrows) which is in the top right by your preferences. Once in fullscreen use ALT - PRINTSCREEN or CTRL - C. Paste into MS Word and then save as PDF.

I...

Re: Javascript for Tooltip

$
0
0
Right.  I get requests of that nature from users all the time.  I ask them what they need and rather than describing the problem, the specify a solution.  If they already have a solution, why did they come to me?

So I try to separate the solution from ...

Getting the record to show only based on the maximum date

$
0
0
Hi everyone,
I have a unique situation. I'm creating a List in Cognos Analytics and populating three data elements.

ID       STATUS     DATE
1111       NEW     Dec 15, 2016 2:30 Pm
1111       SOLD    Dec 17, 2016 1:00 Pm

So what I need to show on th...

Cast string to integer for calculation

$
0
0
I have the following report expression returning part of a date (year)

substring(ParamDisplayValue('Selected_Month'),character_length(ParamDisplayValue('Selected_Month'))-4,5)

I need to do a calculation based on the expression above that would give me ...

Re: Cast string to integer for calculation

$
0
0
More information would be helpful, like a sample of the data returned by Selected_Month.

Are your years 4 digits long or 5 digits long?

Re: Getting the record to show only based on the maximum date

$
0
0
Quote
set the expression to be maximum([your date time field] for [your record id])"

Try, as a Summary Filter, in your Query ...
[your date time field]=Maximum([your date time field] for [your record id])

HTH, Bob

Re: 11.0.6 Invalid login response with SSO Login URL Rewrite rule

Re: 11.0.6 Invalid login response with SSO Login URL Rewrite rule

Re: Counting, by Definition of Entry, in a List Column

$
0
0
Playing w/ this, and thinking Multiple Series might work in a 100% Stacked Bar Chart.

Of the 34 possible definitions of "Cause of Incident', I have written Case When for
5 of those 34 definitions.  They all Total/ Count correctly.  Those are in a Total...

Refer to a Page Set in an Expression

$
0
0
Hello,

I want a calculation to vary depending upon which iteration in a page set it is on. How do I call the page set value in an expression.

IE. if I had a page set that iterates through members 1,2,3 how could I write and IF statement like this:

IF
(...

Re: str([Amount]) returns a 1 in all cases when accessing data item directly

Error QE-DEF-0285 Testing Datasource Connection through Administration Console.


Need to display Months in Column chart

$
0
0
Hello All,
I am facing an issue where i have 12 Data items such as Jan, Feb , Mar etc till Dec.
I am trying to drag all items in categories x axis of the chart ..
 Now the issue i am facing is when  i am dragging ex Jan , Feb...its only showing Jan ......

Fetch the value selected by a user for filtering the report.

$
0
0
Is it possible to fetch the value selected by the user while the prompt is shown before running the report?

If it is then how can it be done,

Thanks in advance.

Re: Fetch the value selected by a user for filtering the report.

$
0
0
You could have a Reprompt button to refresh the prompt page (by selecting "Reprompt" from the type property of a Prompt Button) and then also have a Finish button to run the actual report.

To actually display the values selected, you would need to dra...

Unable to start Cognos Analytics

$
0
0
Hi All,

Our company is using Cognos 10.2.1 and now we want to upgrade to Cognos Analytics.
I have downloaded Cognos Analytics (11.0.8 ) and Installed Content Manager components. Set up a new SQL server database for CM.
When I start from the configurati...

Re: Cast string to integer for calculation

$
0
0
<facepalm>

That makes sense.  Layout calculations are processed locally, and cast is not available locally.
Viewing all 13037 articles
Browse latest View live


Latest Images

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