Cognos Report - same query multiple times with different parameters to multiple tabs of 1 XLS - cognos-10

I need to produce a Cognos Report that produces 12 tabs. Each tab contains the same sort of report simply run for a different parameter value, for example, the month of the current year. I would like to reuse the SQL and define it only once and have this SQL accept a parameter.
I'm very new to Cognos 10 Report Studio. Can I use the Event Manager to execute a single report once with 13 parameters but yet combine the results in a sdingle XLS with 12 tabs?
I know I can split the results of a single query across multuiple XLS tabs, but i need to run the same query multiple times with different parameters...
I've only seen a 5 min demo of Event Mgt, not sure if that's even the place. Any direction to a newbie would be appreciated.

Depends on how "different" the parameters are.
If you want to split the values of one data item across separate tabs, such as a tab for each month of the year, use Page Sets. Write one query, create one list/report object. Then Section the list and tie to the Page Set construct in the Page tab. Example
A report created in Report Studio with different Pages will also export to different Excel tabs. If you have to split on a combination of 2+ data items with different values, you'll have to use different pages and queries. You can't re-use one query and plug in different values for each page. So, copy the primary query object and re-write to use parameter(s) unique to each page. Your prompt page may get a little large, but this is the standard method to create a "book" of reports.
Event Manager is for triggering report execution based off changing data. The classic example is to send a "Thank You" note to a salesman when he logs a sale of $1m or more in the database.

Related

Tableau---Getting count from 2 different data sources and combining into one total

I am a tableau newbie and am trying to see if this is possible or not. I have 2 separate data sources where the same employees are listed, one is for closed cases and the other is for open cases. These data sources have some of the same columns, but for the most part they are different.
Is it possible to aggregate the case count for each employee on the closed and open data sources into a single column? For instance, if an employee has 50 closed cases and 23 open cases, I want it to show 73 for them.
I attempted to play around with the joins/unions but these didn't work properly and duplicated the data most times.
I think this is a great chance to leverage blends.
I have created a workbook with the Sample Superstore Excel dataset. This dataset has three sheets. I'll use the Orders and Returns sheets to demonstrate how we can calculate the net orders using blends.
The dataset I'm using can be found here.
Start by connecting to both the Orders and Returns separately. Once done with this step you should see the two data sources at the top of your data pane.
In this example, I'll calculate the Net Returns by Category. In your case, you're after the Total Cases by Employee, so just imagine Employee in place of Category.
Next, drag Category from the Orders data source onto the view, then select the Orders data source and click the chain icon to blend on Order ID.
You will need a common column between the two tables in order to blend.
Once blended I'll go back to the primary data source (indicated by the blue check mark) and create the Net Orders calculation.
This calculation uses the dot notation - similar to what you might see in SQL - to reference our other table.
To double check that our calculation is working properly, we can drag the components of this calculation onto the view and do the math.
Of course, once you are satisfied you can remove all but your blended calculation.
Blending isn't ideal in most cases but you could try it. Bring in each data source separately and "join" them within your workbook pane on Employee or hopefully an Employee_id. Click the little chain once you have them both loaded and you are on a worksheet tab. Then you could sum the counts by employee. Blending sometimes presents some issues with calculated fields across the two data sources but this is what I would try first.

Combine Crystal Reports

I have created two crystal reports files and i'm trying to combine these two file in the crystalreportviewer.
I need to display reports one after another. For example, if my first report has four pages then my second report should start from fifth page.
I have tried to use sub-report, but it's displaying second report within the first report. Is there any other way to display .rpt file one after another in crystalreportviewer?
Usually you can accomplish this by creating an empty report with both reports as subreports, one after another.

Table for all companies

I need my conversion table (we integrate data from other system where their values mean another thing in our AX instance) to be encompassing all companies.
When I deploy the project, I'll upload that table's data through an Excel import but I don't want to do it for all 5 of our companies.
I know when code runs as Admin, it fetches data from tables regardless of company (unless you specify so in the where clause) but I want standard users to see the table's data regardless of the company they are in when they run the code.
Is this possible ?
Thanks.
Yes, there s a property on tables called SaveDataPerCompany. The default is yes but if you change it to no, then essentially the DataAreaId field is no longer applicable and the same data will be seen in all companies. You change the property by finding the table in the AOT (e.g Data Dictionary > Tables) and right-clicking it and choosing Properties towards the bottom.

Report Studio template

I am trying to schedule 10 reports that go to the same table and ask for the same columns, except that they differ in a key value (i.e. the report selects column a, b, c from table A but differ in the where clause = 'CLIENT1', = 'CLIENT2', etc).
I was wondering if I can use the same report and set an external variable before running it that defines that where clause. All of this scheduled so that I don't have to set the variable manually.
So what I want is for the report to run itself 10 times using 10 different external variables that define the key value of the client.
If such a thing is possible I would gladly take some help.
Thanks!
2 - Options.
Your Scenario. Its sounds like you want to pre-run the report by several different Clients.
Options - Not in any order
Bursting allows you to pre-run and/or pre-deliver a report based on a burst key(Your client id). The report is ran for the entire data set and then spliced by the burst key. You can store these as report output versions and/or target them to be emailed to specific users etc... (This was a popular feature in Cognos created several years back and plenty of documentation on it in the manuals). These reports can be scheduled and pre-ran so you dont' have to wait for Database queries etc...
Report views - You can create a report view on top of report that is nothing more than a logical not physical instance of the report with its own default parameters etc.. This way you can create one report and create as many views on top of it as necessary with differing parameters. These can also be scheduled and pre-ran.
Hope this helps.
Report View would help you in this situation. Add a prompt to the report to select the choice for which you wanna run the report. Create 10 report views as you wanna schedule the report 10 times. In each report view select different values (1 value out of 10) ie. in first report view select CLIENT1, in the second report view select CLIENT2,etc... Schedule all the reports. Its done!!! When Compared to Report View, Bursting would be better as the data execution would be done once in Bursting but in Report View, it will be executed based on the number of report views present.
Maintenance is easier in case of Bursting.
If you have problems getting bursting working, you can probably also use pagesets.
http://publib.boulder.ibm.com/infocenter/c8bi/v8r4m0/index.jsp?topic=/com.ibm.swg.im.cognos.ug_cr_rptstd.8.4.0.doc/ug_cr_rptstd_id28446cr_rptstd_frmat_rep_create_page_set.html

ASP.NET Reporting - Do any tools allow the generation of a composite report from parts of other reports

Let's say I have 10 reports, each of which contain 1 or more tables and charts.
I want to allow a user to select a bar chart from report 1, a grid and pie chart from report 2, a grid from report 3 etc to create a composite report.
I think I have a solution in Telerik whereby I combine multiple reports together, as sub-reports, and hide all elements (tables, charts) except the ones that the user wants to include. If all elements are placed inside min-sized panels then white space should disappear as elements are hidden. I've done a quick test using this method and it appears to work.
My question is, is this the best way to approach the requirment? Are there better approaches with other tools such as Crystal Reports, ActiveReports and DevExpress?
Jules
Are you trying to combine these report at run time? In ActiveReports, these 3 reports can be run separately and then all the three of them can be combined to create one report document or individual pages from these can be combined together to create another report document. This document can then be viewed in any of the viewers, printed or exported to pdf and excel and such.
At design time, it is doable but is not worth it. Will need some code to make sure that the layout is first created correctly based on user selection of certain kind of report and then you will have to make sure that correct data is getting fed prior to running the report.

Resources