Printing the same report multiple times - report

I am having a request and I dont know if its doable, I need to print a report multiple times based on a field. For example I have a bin number 001 inside this bin I have 7 units of the same equipment part. Is there a way to make Cognos print the same report 7 times? Of course we considered when printing on the printer chose to print 7 times but this wont work as we have thousands of bins and we need to make this happens automatically.
THank you in advance
We have tried using repeater table but we couldnt make it work

Related

How to create a dynamic report in ignition s perspective

I’m trying to create a report at the end of the day for 1 product that has a range of 40-100 pieces per day. Here’s my issue:
How can I pass a start date and time and a end date and time parameter to a report that has 1 graph and 1 table. The graph is data coming in from a sensor per piece of product and a table displaying the details for that run. There could be 40-100 pieces ran and I need to query a ms sql server to report on these pieces all in one report. Is there a way to do this? I know if repeater components, but idk if that’s possible in a report. I think the easiest way is to use scripting to query and create tables and graphs on the fly and add them to the report but I haven’t found an example of how to implement that. Any help is appreciated.
I’ve tried nested queries and nested tables to display a graph in the header and have details for every piece of product but the problem is the data for the graph isn’t the same as the data for the details

Hide/unhide empty rows button

I'm working on a Google Sheet for a crew to create per diems sheet for all of them. It's all automatic based on a start date.
The problem is;
My whole time period is three months. I have crew perhaps travelling only four days. Which means when I export an PDF for accounting they get a lot empty days.
I would really like to have a button to hide/unhide rows with no information in Column E. The problem is that I have no experience with scripts (as my Google search informs me i must have).
I once had a document that had this feature, but I did nok make it and it was Excel, macro I believe.
In my document I have 45 different sheets, all named from 1 to 45. If possible I could have a button for that hides rows in all sheets. If this button could be in a sheet called "Rules" that would be perfect. If no one knows a solution for this, a separate hide/unhide button for each sheet (1-45) would be perfect.
I'm asking a lot here, but hopefully someone that knows script a lot could make it a challenge to make my day.
I look forward for your replies.
In advance, thanks!

Trying to build a 'random text' WordPress plugin. No idea where to start

Here’s what I’ve done in a spreadsheet:
I’ve assigned people to one or more categories (ie. male, female, tall, short)
I’ve assigned weights to these people (ie. 200 lbs, 120 lbs, 300 lbs)
I’ve assigned names to these people (ie. John, Jane, Bill)
Here’s what I need to do in a plugin:
Find some way to get my data into it (maybe through an admin interface, or via my spreadsheet)
Filter results by one or more categories (ie. only male; only tall + female, etc)
From those filtered results, pull 2 or 3 people (as many as I can fit) whose combined weights equal X or less
Display the names of those 2 or 3 people as a list to front-end users
At the press of a button, randomly generate another 2 or 3 person team
I don’t mind getting my hands dirty, but I don't know where to begin. If you guys could give me any advice, best practices, code to get me started, or names of plugins that already do this, etc, I’d really appreciate it.
Also, if I’m biting off too much for a complete noob, feel free to let me know. Because if it comes down to it, I’ll just create the teams manually and throw them into a random text plugin, or something.
This depends heavily on what format it's in presently. If it's in a spreadsheet, you can import it pretty easily by saving as a CSV and processing it with fgetscsv
Assuming this is going into MySQL (as most WP plugins do), this is just a SQL query (ie WHERE wp_custom_person_record_weight > 100 AND wp_custom_person_record_name != 'Bill'
Same as #2 but with a JOIN and a SUM and a WHERE query against that sum.
This is the same SQL query, if you call it through mysqli_query you'll get an array back that you can output on the page
Random records can be gleaned a number of ways, either by going through a limit of X,2 where X is a randomly generated number between 0 and the # of records or through MySQL itself (although that is not recommended for performance reasons).

Error while trying to publish an Infopath 2013 form to Sharepoint 2013 Document Library

I am a newbie in Infopath & Sharepoint. I am trying to create a form from Infopath 2013 and publish it as a document library to Sharepoint. I have some 60 fields that needs to be calculated(add) into another field. When tried to use the Design Checker, it throws an error as mentioned below in the screenshot. But it accepts if I key in only 45 fields in the Insert Formula text area. Is there any limitation on number of fields to be entered in Insert Formula? When I use PREVIEW in Infopath it works fine. This error pops up only when I try to publish it to Sharepoint. Any ideas on how to resolve this? - Thanks inadvance
InfoPath preview is rendered with IP Filler. The Browser experience has always been different, and the Filler preview is not a reliable check for the browser experience. You may have hit the limits of what a browser form can do. I don't have the numbers or limits, though.
Looking at the error message, you seem to be amassing an awful lot of calculations in one single field. My gut feeling is that this is very bad information architecture. What is the purpose of the form? What are you trying to achieve? Why would anyone have 60 fields in a form?
It looks as if you are summing a large number of cells. InfoPath is not a spreadsheet.
Use repeating tables to capture similar data. Then you can total the table entries with a standard IP function.
This looks like a sum of all the items a restaurant has on the menu. This is a perfect case for a repeating table. Don't use all 60 items on the menu in a list of 60 fields all in one form. That is overkill and not user-friendly. Create a repeating table structure where the user selects one of the 60 items and enters the transaction data. Each row of the repeating table can have another item of the list of 60. The grand total will be calculated from the entries.
If that is not viable, use helper fields to calculate sub totals by item category, and create a grand total from all the category totals.

Controlling UI for SSRS ReportViewer for Start and End Date Picking

I've got a situation where I want the user to enter a start date and end date for report data. In addition there should be a drop down which allows the user to choose one of the following:
last 7 days
last 14 days
last 30 days
If the user selects one of these values, the datepickers should adjust there values? I can't quite figure out how to approach this. Anyone have any ideas.
This isn't possible solely from within SSRS. However, you can still achieve your goal with a bit of extra work. Here's a bit of pseudocode to get you going. This technique works and we use it in our organization often.
In SSRS, hide the report parameters
Create a new blank HTML/ASPX page
Using only HTML, create create your own datapickers and custom "last 7 days" dropdown.
Use Javascript/jQuery on the client to handle your custom logic.
Place a "Generate Report" button on the page.
Insert a hidden iFrame on the page
When the user clicks "Generate Report", perform an HTTP POST passing the report parameters in the URL (something like http://server/reportserver?/dir/Report&rs:Command=Render&Parm1=VALUE1&Parm1=VALUE2&Parm1=VALUE3)
Display the report in the iFrame
Your users won't know the difference and this will give you total control over the layout and presentation of your report parameters.
You can do this within in SSRS. Not great but acceptable.
Have the first parameter be a pick list with two choices.
Pick Dates or Last X Days.
Have the next parameter be the start date.
The third parameter is another pick list. It is either a list of dates or a list of numbers depending on the choice they made in the beginning.
Another way would be to have two reports displayed to the user. one with an open date range and one with a predefined pick list of dates. These would be linked reports that call the same underlying report but display different parameters. This is the approach I would take for such a user request.

Resources