I'm using Cognos Report Studio. I'm pretty new to the software. But anyway, I've created a query that is meant to count the number of days between two dates. There are multiple records and I need the average of all the days. I'm able to do all of this. But my result is 6.57254211... I want this number to be rounded. But I can't seem to figure out how to do this. I achieved the average by applying an aggregate function. I though the round would be applied the same way. But there is no Round in the rollup aggregate function option. I also tried to use _round() in my data item code, but that returned an error. Plus, I'm pretty sure that just rounds each individual number I get, not the average of all of them. Anyone know how to do this?
Cognos: How to round an average of a data item result
1.2k Views Asked by woods At
1
There are 1 best solutions below
Related Questions in REPORTING
- Pivot Table with multiple rows all having the same level hierarchy
- creating many reports from a single template - what is this called?
- How to select the Data Source at Runtime in SSRS Report Builder
- How do I create a more filtered report in Version One, similar to an excel report?
- SSRS - Showing data's each character in box
- How to retrieve Install Statistics from the Google Developer's Console?
- Error handler for sum in ssrs
- Pentaho adhoc reporting functions
- How to retrieve my Install Statistics from the Google Developer's Console
- BIRT: Fit to whole page in report design?
- FastReport.Net. Registration of dataset
- In asp.net-mvc, what is the correct way to do expensive operations without impacting other users?
- How I can bind devexpress report table to list of strings?
- Generate PDF/html report and send report as mail in SonarQube 6.0
- SQL Group By in to separate result tables
Related Questions in AVERAGE
- Finding average of an array
- How do I average the last 5 minutes of entries from a SQL database?
- SQL Trigger Update Average
- What's wrong with my nested for loop in R?
- Display an updated average of random numbers in a file
- Computing averages for a group of neighboring points in a line
- Finding the Average of all Odd and Even Numbers from an Input/Text File
- Avoiding CPU Contention
- select average of a column from joined tables in linq
- Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, etc
- Pig: Group By, Average, and Order By
- How to average out values of Textview inside a listView
- VB.NET get average from a range of values from a sortedlist (sortedlist.average)
- Find Avg of Top 30 Results
- Replace part of an array with the average of its neighbors
Related Questions in ROUNDING
- How to round smoothly percentage in JS
- How to make all variables in javascript script have two decimal points
- Crystal report to rounding
- How to rounding up in oracle
- PHP Round With Decimal & Comma $1,000
- return decimal with two decimal places C#
- summary() rounding
- What am I missing in understanding round() function?
- Go through Cells and Round to Closest 5 VBA
- Sqlite Rounding
- RoundingMode.HALF_DOWN issue in Java8
- Biggest possible rounding error when computing floating-point numbers
- Why is rounding done like this?
- How to round float in c#
- BigDecimal setScale method returning strange results
Related Questions in COGNOS-8
- Dynamic SQL versus using the model
- Query in COGNOS (Report Studio)
- Can I add empty lines to Cognos list report?
- Cognos Reports - No Prompt Page
- Cognos: How to round an average of a data item result
- Add print button to cognos report
- Cognos Reporting - Generate report only if condition is met
- Congnos Ranking lowest as Rank 1
- Can I add a watermark to Cognos report only for the PDF format?
- Validation of date using Javascript in cognos
- How can I see the items which settled in drill behaviour in View Tabular Data?
- Title "not centered" when the report is being run using excel 2007
- Date arithmetic in Cognos 8
- How can I split a crosstab corner into cells matching the columns below it?
- How can I fix excel appearance in cognos ?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I was able to round my average by creating a query calculation and doing _round([Weekdays]) for the code. [Weekdays] being the average I need rounded.