473,388 Members | 1,346 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Tracking trends in autogenerated Excel File

Hi,

I am a new user of PERL and am having slight trouble with my latest code. This is what I need to do:
1. Run a query on the database and dump the results in an excel file.
2. A new file with the date and time is generated each time I run the script.
3. One column in the query is called "Rank" and is either A, B or C
4. I need to count the number of A, B and C's each time I run the script and keep adding them to a single file and saving it over time.
5. I need to plot the trend of number of A's, B's and C's each week.

Can someone please help me with steps 4 and 5?

Thank you,
Karthik
Aug 15 '07 #1
1 1609
numberwhun
3,509 Expert Mod 2GB
Hi,

I am a new user of PERL and am having slight trouble with my latest code.
Ok, so where is your code? We cannot help you troubleshoot it if you don't supply it to us.

This is what I need to do:
1. Run a query on the database and dump the results in an excel file.
For this you will need to look at the Spreadsheet::WriteExcel module for writing an Excel spreadsheet, and also the DBI module for interacting with the database.

2. A new file with the date and time is generated each time I run the script.
3. One column in the query is called "Rank" and is either A, B or C
4. I need to count the number of A, B and C's each time I run the script and keep adding them to a single file and saving it over time.
5. I need to plot the trend of number of A's, B's and C's each week.
This will all be handled by your code. Go ahead and post your code and someone who knows a little about writing Excel spreadsheets will try and assist you.

Regards,

Jeff
Aug 15 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

39
by: Noticedtrends | last post by:
Can inference search-engines narrow-down the number of often irrelevant results, by using specific keywords; for the purpose of discerning emerging social & business trends? For example, if...
8
by: Paul Cochrane | last post by:
Hi all, I've got an application that I'm writing that autogenerates python code which I then execute with exec(). I know that this is not the best way to run things, and I'm not 100% sure as to...
3
by: Binny | last post by:
I have a DG with autogenerated columns. can i make a column readonly like the data key column. Thanks
8
by: Binny | last post by:
I have a DG with autogenerated columns. can i make a columns readonly like the data key column. when edititemindex is valid. Thanks
9
by: Steve | last post by:
How I can remove an AutoGenerated column? I wnat to inlcude the primary key in the resultset for creating some custom LinkButtons, but I don't want it (the PK) displayed in the DataGrid. I tried...
0
by: Günter Prossliner | last post by:
Hi everybody! The same question I have asked about one week ago in the german asp.net newsgroup, but no one was able to answer the question. Maybe someone is able to in this group! I...
4
by: VK | last post by:
Google Trends is an all new service (started May 10) and I have not responsability for proper query or data accuracy. Overall seems pretty close to what could be observed by the post history in...
2
by: C# programmer | last post by:
Hi All, I'm working on a project which requires tracking of recent document downloads. There is a feature in which user can download the docs without logining into the website for some of the...
1
by: Jiwei06xie | last post by:
I'm interested in tracking monthly utility bills....monthly charges, units/volumes, costs per unit and so on, by monthly date. The data source would be mainly from an Excel Spreadsheet (or sometimes...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.