08
Tue, Oct
2 New Articles

TechTip: Wizard Analytics on DB2 Web Query, Part 1

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Business analysts, developers, administrators, and even non-technical individuals can get started generating sophisticated reports and visualizationsover their own datain minutes!

 

IBM DB2 Web Query for i is an analytics tool for modernizing Query/400 reports and delivering analytics to the web or mobile devices. It's a web-based Business Intelligence (BI) solution for visualizing, analyzing, and sharing critical business data. Available since 2007 on the IBM i platform, DB2 Web Query has delivered through the years a steady heartbeat of new function.

 

One of the new functions recently delivered is Wizard Analytics. Wizard Analytics provides a jump start into reporting, allowing individuals to generate reports and dashboards against their DB2, spreadsheet, or delimited flat file data with a few clicks of the mouse! Wizard Analytics combines data upload, metadata definition, data profiling, and report generation into a single workflow. Business analysts, developers, administrators, and even non-technical individuals can get started generating sophisticated reports and visualizationsover their own datain minutes!

 

Wizard Analytics consists of two wizards:

  • The Upload Wizard, featured in this Part 1 article, guides users through the process of uploading data from a PC into DB2 for i.
  • The Metadata Wizard, featured in Part 2, connects to existing DB2 data sources (or another supported relational data adapter).

 

Both wizards automatically create a standard suite of reports, charts, and dashboards over the data.

 

Upload Wizard

The Upload Wizard uploads data from Excel spreadsheets or delimited flat files on your PC into DB2 for i. It provides a two-step process that

  • Uploads the data
  • Automatically creates metadata into application folders

 

And then, touch-free, builds a suite of reports, charts, and dashboards.

 

To launch the Upload Wizard from the Web Query BI portal, create a top-level folder (or choose an existing one). Right-click it, select Upload, and select Wizard, as shown in Figure 1.

060515SteinbrinkFigure1

Figure 1: Launch the Upload Wizard from the Web Query BI portal.

 

A dialog pops up, and the first step, Upload Desktop File, is highlighted on the ribbon. You are prompted for the file you want to upload. Either drag the spreadsheet you want to upload onto this panel from Windows Explorer or click Select Upload File to navigate and select it. See Figure 2.

 

060515SteinbrinkFigure2F

Figure 2: The first step of the two-step process is to select the file.

 

Next, tell Web Query how the data should be interpreted. As shown in Figure 3, you can indicate such things as the number of header rows, whether to create/append/replace the target DB2 table, or which sheet of a spreadsheet to use.

 

060515SteinbrinkFigure3

Figure 3: Tell Web Query how to interpret the data.

As step 1 completes, the data is uploaded to DB2 on i and metadata is created over it. Metadata describes the data and is an extremely important concept for true business intelligence tools as it simplifies the structures of the data for report authors and end users.


Next, step 2, Measures and Dimensions, is highlighted on the ribbon. The wizard makes assumptions about your data, categorizing it into measures, dimensions, and hierarchies, as shown in Figure 4. This step will be explained in more detail in Wizard Analytics, Part 2, but suffice to say that you have the opportunity to change the assumptions, including hierarchy ordering.

 

060515SteinbrinkFigure4

Figure 4: The second step is to categorize fields into measures, dimensions, and hierarchies.

 

The Express Analytics Generator kicks in and builds an impressive set of reports. Figure 5 shows a sample dashboard consisting of three charts and an Active Report. The charts utilize the latest capabilities of the HTML5 Web standard, including animation and attractive gradient effects.


060515SteinbrinkFigure5

Figure 5: This example dashboard was automatically generated by the Upload Wizard.

 

The wizard typically generates between 20 and 40 reports, placing them into subfolders of the top-level folder you started with. The actual number depends on how many measurements (typically numerical fields like REVENUE or COST_OF_GOODS_SOLD) are found in the data or identified by you. As you can see in Figure 6, the wizard generates a set of reports for each measure, a set of reports by transaction, and more.

 

060515SteinbrinkFigure6

Figure 6: This is a sample set of created reports.

 

Besides dashboards and charts, several other report types are generated:

  • A drill-down that hides data in a report until you click to reveal a new level of detail.
  • An Active Report that allows you to work with the data in the report, for example, to sort or filter fields.
  • An accordion, which expands or collapses fields to focus on certain elements, as in Figure 7.

 

060515SteinbrinkFigure7

Figure 7: This example accordion report shows expanded data for France.

 

The generated reports can be deployed in any number of ways: synch them with a mobile device, schedule them to run and send out to a distribution list, or place any individual report in an active or personal portal dashboard. You can also learn and build from them, using them as examples when developing other customized reports, to further exploit the relevance and usefulness of your data.

 

Some Additional Info

The Wizard Analytics feature is available in the recently released Web Query 2.1.1. It is also available in Web Query 2.1.0, with group PTF level 10 or later.

 

DB2 Web Query includes a Security Center to assign roles to authorized users of the product. In order to run the Upload Wizard, a user must be licensed to Web Query and defined in Security Center as one of the following:

  • A Web Query administrator
  • A Developer and DBA for the top-level folder
  • An Analyst and DBA for the top-level folder

 

Videos that demonstrate the wizard functions can be found along with a series of other "getting started" videos on the Web Query wiki here. And stay tuned for Wizard Analytics, Part 2 to learn more about the Metadata Wizard!

 

For questions about acquiring or installing Web Query, you can email This email address is being protected from spambots. You need JavaScript enabled to view it..

 

Kathryn Steinbrink

Kathy Steinbrink has worked for IBM since 1979 in a variety of positions. The last half of her career has been in the area of DB2 for i. She is currently development team leader for IBM DB2 Web Query for i. Kathy can be reached at This email address is being protected from spambots. You need JavaScript enabled to view it..

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: