Home > AS/400 Tips > WebSphere Strategies for iSeries professionals > Use Excel, WebSphere to present live iSeries business data
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WEBSPHERE STRATEGIES FOR ISERIES PROFESSIONALS

Use Excel, WebSphere to present live iSeries business data


Paul Holm and Matt Jensen
08.18.2005
Rating: -4.36- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Need a convenient way to view summaries of your business' vast amounts of iSeries data? Better yet, would you like to do it free using software you already have and are familiar with? Then we may have the solution you have been searching for: Microsoft's Excel.

Excel is not just for crunching numbers in lifeless spreadsheets. Using Excel's powerful ability to import external data, we are going to create what's commonly known as a dashboard -- a collection of graphs and other visual aids that brings you critical business data in an intuitive summary format. They allow the executives and managers (or anyone for that matter) to draw valuable insight easily from oceans of data while making smarter, faster decisions from the top down.

Figure 1.1: Example Excel report

Step 1: Get the Data
The first and most important step in creating a dashboard or report is, of course, obtaining the data. From importing an XML file to directly querying a database, Excel provides numerous options for retrieving your data. However, this article will focus primarily on Excel's little-known yet immensely powerful web query feature. Characteristic of most Microsoft software, this feature can be accessed through an easy-to-use wizard that allows the user to visually select a table from any Web page. This wizard can be found by pulling down the Data menu, expanding Import External Data and selecting New Web Query.

Figure 1.2: Creating a Web query in Microsoft Excel

This will open a browser-like window that displays the home page of the default Internet browser. Upon closer inspection, you will notice (if the Web page contains a table and you are using Windows XP or later operating system) that there are small yellow boxes with black arrows. Each of those represents an HTML table within the Web page.

Next, enter the Web page containing the desired data. In the examples depicted below, the iSeries data is obtained using Planet J's WOW (Web Object Wizard) software, a Web-based tool for creating custom Web applications against JDBC-compliant databases such as the iSeries. (WOW can be freely downloaded by sending an email to info@planetJavaInc.com.)

The table selected in Figure 1.3 was created with a simple SQL operation within WOW. As an alternative, you can use any Web application that you may have that renders an HTML table. Note that a blue outline appears around all selected tables. After all relevant tables are selected, click the Import button. That's it! Simple.

Figure 1.3: Selecting data (served up by Planet J's WOW) for the Web query

Step 2: Creating the dashboard/report
At this point the data from the Web query should be displayed nicely in Excel's standard tabular worksheet. The hardest part is over. It's all familiar territory from here on out. Now that the data has been imported, the second (and last) step is simply formatting the data.

To avoid cluttering the dashboard/report, separate the imported data from its stylized form (charts, graphs, etc.). This is best done using different sheets for the dashboard/report and the data. Once the data is on its own sheet, use a new blank sheet to begin building the dashboard.

Figure 1.4: Example Excel dashboard

In Figure 1.4 above, the example executive dashboard uses a simple combination of colors, graphs, charts and a few imported pictures to create a sophisticated and professional presentation using live iSeries data. The data is retrieved from the iSeries via the Web query and then it's all Excel development from there. Anything you can do in Excel will be available, including charts, pivot tables and graphs. For more information on creating graphs and charts, consult Excel's Help menu for some excellent guidance.

Optional: The extra mile
Not satisfied with simply presenting iSeries critical business data live to your already impressed boss? Good -- here are a few ideas to help you kick your dashboard up a notch or two.

  • Have your cake and eat it, too. Say you need more than just the ability to view your data. You want to update your data on-the-fly right from the dashboard. From the Insert menu in Excel, insert a hyperlink. Since a WOW operation was used to obtain the Web query data, that same operation can be used to edit the data. Specify the address of the WOW operation within the hyperlink and you're done. In one click you've switched from a convenient summary graph to editing live data on your iSeries from any location with an Internet connection. Life is sweet.
  • More Information

  • This data is from when? So your boss was out of town for a few days and decided to leave his computer on with his Excel dashboard open. Upon returning he sits back at his desk and observes on his dashboard that J.W. Doe currently has an outstanding balance of $250,000. He then calls Doe and angrily demands payment to which Doe replies that he already paid two days ago. Stunned and embarrassed, your boss apologizes profusely and hangs up. Then he calls you. Not good. What went wrong? The data wasn't current.

    To avoid this nasty situation when using time-critical data, simply use one of Excel's convenient date and time functions, such as "=CURRENT( )." This particular function will display the last date and time at which the data was refreshed. In addition, the Web query can be configured to refresh the data from your iSeries every minute or as required. Problem solved.
  • Feeling ambitious? Throw in a macro using Excel's extremely easy macro recorder that records your mouse and keystrokes to recreate whatever series of actions you like. In the example dashboard in Figure 1.4, the Refresh Data button located in the middle right is a simple macro that refreshes all the data. It took less than a minute to make. No coding.

Honestly, the possibilities are endless. You are not limited to dashboards either. Try using Excel to generate visually appealing business reports such as the example in Figure 1.1. This can be done using essentially the exact same steps described for the dashboard, just with slightly different formatting. The key is to be creative. Good luck!

---------------------------
About the author:Paul Holm is an iSeries WebSphere and Java specialist at PlanetJ Corp. He worked for IBM-Rochester for over 10 years as a DB2/400 and Java/WebSphere developer. Matt Jensen is a Web software developer at PlanetJ Corp.


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
WebSphere Strategies for iSeries professionals
Application modernization strategies for System i
Application modernization in the i world
Natively supported Web applications for Power running i
Enterprise open source basics
Basic security considerations for a Domino/WebSphere system
Simplifying data access using Java Standard Tag Library
Integrating Microsoft ActiveX components with WebSphere
Choices for running Web workloads on iSeries
Virtual hosting for iSeries Web applications
Automate WebSphere configuration backups on the iSeries (i5)

Imaging on iSeries
Controlling spool files with APIs
Selective SPOOLFILE copy to CSV files and e-mail
Word Search: iSeries printing
Fast guide to Redbooks and guides on printing/output
20 printing tips in 20 minutes
Document Imaging
Fast guide to Redbooks and guides on printing/output
Quadrant Software's Formtastic Fusion5 delivers full PDF support, seamless document imaging software integration
Ten tips for printing from the iSeries
Premium printing advice
Imaging on iSeries Research

Web Development
Application modernization strategies for System i
RPG application modernization for i5
Web skills crucial to iSeries programmer professional development
System i Web interface could boost the platform
Free System i development tools rebuttal
COMMON product round-up: Modernizing the IBM System i
Top 10 System i white papers
Enterprise open source basics
Make WebSphere work for you
WebSphere for System i tutorial

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
WebSphere Development Studio Client (WDSC)  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts