Commandline report Generation using Pentaho - pentaho

I would like to automate the entire report generation process using Pentaho report designer using commandline. Is it possible to achieve it in Pentaho?
Input = results data stored in a database
Output = Generate report ( in the form of chart for ex) using Report designer
Thanks
Kelly

Another option if you dont want to use a BI server at all, is to use the Pentaho Report output step in PDI/Kettle. This is great for scheduled jobs. The advantage of this over running schedules in the BI server is that you can cron them, and then if the BI server is down your reports will still run! i.e. it's a lot more reliable.

Try to use wget and submit URL of xaction.

There's an issue As a reporting user, I want to be able to run reports via a simple GUI tool or via the command line without a GUI open since Dec 2009.
According to Command line tool to run reports it's not planned as of Mar 2014.

Related

Pentaho CE report executes KTR tranformate twice

I'm using Pentaho CE for general reporting.
We are running reports using the build In Report Viewer.
We've noticed that each report created using Report Designer and using KTR as data source executes transformate twice ... (as seen in logs)
For large, complicated KTRs with SQL queries this is an overkill.
Does anyone know what is the purpose of this ? How can this be changed ? or just give me some light on the subject ?
Thanks, help much appreciated.

Uipath automation

I want to take the report of last one download details from the mysql database and sent to my project manager on every monday through the email so the process remains same only date would be change dynamically so, I would like to automate this process using RPA UIpath.
Anyone could you help me to achieve this process.
Thanks
Use 'Database' package to connect to sql db and and run the query.
Schedule the program to run every Monday using Orchestrator.
Create the report with current date using DateTime function
There will be some extra steps like transforming data as necessary etc, but the basic outline of this process is as follows
Download MySQL ODBC Drivers MySQL site
Control Panel -> Setup ODBC Data Sources (32-bit) setup User or System DSN, make sure to test your connection to see if it works OK (it's similar to how you set it up in MySQL Workbench or read about it here)
In your UiPath Studio Package Manager, add Database Activities Pack.
Get your data using UiPath.Database.Activities.ExecuteQuery activity to a DataTable
Write your data to an Excel file using Write Range activity
Send your mail through SMTP using UiPath.Mail.SMTP.Activities.SendMail including freshly created Excel file as attachment
First step Take the data using database activity
Create an automation in UiPath to attach and send to your respective email
Schedule it own orchestrator.
Though not exactly but atleast sending a mail by taking credential from Orchestrator is shown in this article
https://www.c-sharpcorner.com/article/create-a-sequence-project-for-sending-a-mail-using-smtp-activity-by-taking-crede/

Advantage to using SSRS or Crystal reports when the output is simple and static?

I have an ASP.NET/C# web app in which the user needs to run reports with various criteria that will ALWAYS yield simple, 2-dimensional, tabular data. I'm tempted to use a sophisticated reporting engine like SSRS or Crystal Reports, but these seem like overkill, since there's really nothing to design (all outputs will be to CSV, or JSON for the browser to render in an HTML table).
In this scenario, am I eating too much complexity by trying to use SSRS or Crystal Reports? Should I instead just write custom classes to dynamically assemble SQL statements (based on user selections) that will be fired against the database?
Does SSRS or CR add anything that is of value (within the requirements constraints I've already described)...?
Its depend on your requirement if you want to minimal overhead on your web app then please go ahead and use your custom codes since you are not required any styling or extra functions.
Just get JSON objects and fill in HTML and go Head !!
I am working with ssrs So i will talk just about it:
ssrs is a very useful tool for building a Reports
all You need is sql server Stored Procedure to build your report
then deploy it to report server and use this report from your app
-now all you need in your app just one page for all reports and you path the URL
dynamically with report name
You need to know this :
-ssrs did not work correctly with all browser
for Exp :
-Print Btn just work with IE
so Mozila and Google you need to use java script to print Report
-some issue with criteria section :
there is no way to rename the 'select value' with drop down
so you need to use java scrip to handle it
also you find ( Null and chick box ) any customer did not know what null mean so
you need first to remove null keyword or to rename it to anther Keyword
also you need java script to do this
the most problem i have :
all reports in reports server so
when i go to a new client what i need
just Sql server no need to setup visual studio and ssrs tool
just to deploy all reports on client report server
its very bad ..
i solved this issue with tool i had make to deploy the all the report
and no need to setup VS just to deploy the report
i think that the most important problem i have
and all of it i found a work around to solve .. and it takes more time
finally :
use ssrs or CR its very easy to use and make report very fast no need to create a custom page for report and develop all its control just like print and export
report to PDF,excel or any type
but if you have a few report i think no need to use any reports tool

Generating Manually Scheduled Crystal Reports in C#

I have a SQL Database from which I need to create reports daily, weekly and monthly. I am thinking of Creating Crystal Reports Manually so That I can execute that particular function periodically using a timer. Would this be a good approach or is there any other way in which I can do so?
An example would be greatly appreciated...
Thanks in advance.
I know you asked for Crystal Reports, but assuming you have SQL Server 2008 Reporting Services installed, you can create reports that way and not have to get a second software package.
Both Microsoft Technet ("How to: Schedule Report and Subscription Processing (Reporting Services in SharePoint Integrated Mode") and Code Snippets ("SSRS: Scheduling Reports Using SQL Server Reporting Services 2008") have some examples of scheduling reports.

I want to send SQL server Dashboard & Health Report to my client on daily basis, so is there ant script / tool to generate report for sql server 2005

I want to send SQL server Dashboard & Health Report to my client on daily basis, so is there ant script / tool to generate report for sql server 2005.
You can download the Performance Dashboard reports and then edit them for use inside reporting services manually, or use them as they are provided.
http://www.microsoft.com/downloads/details.aspx?FamilyId=1d3a4a0d-7e0c-4730-8204-e419218c1efc&displaylang=en
These install the reporting services RDL files to c:\program files\Microsoft SQL Server\90\Tools\Performance Dashboard, and there is a setup.sql script that contains the actual TSQL objects that are used by the reports. This can easily be the basis for what you are trying to do, and the RDL files can be imported into Reporting Services to allow subscriptions to automate delivery. There is a known issue with one of them where a datediff using milliseconds overflows the int datatype but you can find a fix to this on Robs blog post:
http://blogs.technet.com/rob/archive/2009/02/18/performance-dashboard-reports-for-sql-server-2008.aspx
You don't really have to do a lot of excess work reinventing the wheel if you start off with the basic Performance Dashboard reports provided by Microsoft with SQL Server 2005 SP2 Feature Pack and then doing small customizations as necessary to meet your needs.
This sounds like a perfect job for SQL Server Reporting Services.
As to the queries that you need, that will all depend on what you want to show.