Illuminate BI Tool Guide
  • Introduction
  • Example BI Reports
  • What is BI Reporting in Illuminate?
  • Getting Started Using BI with Custom Reports
    • Setup Jaspersoft Studio
    • Prepare Your Data Set
    • Create a Basic Jasper Report
    • Publish My Report to Illuminate
    • Edit Report After Publishing
    • Display Selected Filters on Your Report
  • Get Started Using BI with SQL
    • Access Data Via ODBC Connection
    • Learn the Schema
    • Setup Jaspersoft Studio for SQL
    • Create a Basic Report with SQL
    • Publish My Report (SQL Method)
    • Adding Input Controls
  • Tutorials
    • Tutorials for Free Version ("Community Edition")
      • Tutorial 1: Categorize and Aggregate Your Data
      • Tutorial 2: Using Jasper Report Bands
      • Tutorial 3: Student Roster Report
      • Tutorial 4: Student Roster with SQL
      • Tutorial 5: Summary of Performance
      • Tutorial 6: CELDT Longitudinal Summary
    • Tutorials for Pro Version ("Professional Edition")
      • Tutorial 1: Aggregate and Visualize Your Data
        • Step 1 - Create a Custom Report
        • Step 2 - Download Your Data
        • Step 3 - Create a Data Adapter
        • Step 4 - Duplicate Template. Link Data Adapter
        • Step 5 - Set Class for Numeric Fields
        • Step 6 - Add & Configure Chart
        • Step 7 - Resize Chart. Preview Report.
        • Step 8 - Change Chart Labels
        • Step 9 - Set Chart Colors
        • Step 10 - Repeat for Other Data Points
        • Step 11- Install Your Report
      • Tutorial 2: Using Report Bands
        • Step 1 - Duplicate Report from Tutorial 1
        • Step 2: Create Your Group
        • Step 3: Create a Sort Field
        • Step 4 - Copy & Paste Your Chart
        • Step 5 - Set Reset Type and Evaluation Time
        • Step 6 - Change the Category Level
        • Step 7 - Add Site Name Field
        • Step 8 - Grade Level Sorting
    • CrossTabs Tutorial - Create, Format, and Style a CrossTab
      • Step 1 - Create Your CrossTab
      • Step 2 - Size and Position Your CrossTab
      • Step 3 - Format and Style Your CrossTab
  • Homework 1 - BI Workshop Follow Up
  • BI Tool Cheat Sheet
  • JasperSoft Studio Tips, Tricks, & FAQs
    • Basics of Writing Expressions in JSS
    • Rounding Decimals
    • Working with Dates in JSS
    • Conditional Styling in JasperSoft
    • Custom "No Data" Message
    • Create Multiple Summary Bands
    • Create Hyperlinks or "Tabs" to Connect Sets of Reports
    • JSS Community Edition
      • Adding Data Labels to Your Chart
      • Customizing Colors in Your Charts
    • JSS Professional Edition Only
      • HTML5 Charts
        • Data Labels: Enable, Customize, & Round Data Labels
        • Tooltip: Customizing the Tooltip
        • Keeping Colors Consistent in HTML5 Charts
        • Adding Drill Down to a Chart
        • Prevent Tooltip from Being Cut Off
        • Sort the Bars in Your Stack - Ordering the Series in Your Chart
        • Passing Parameters/Data Between Datasets with HTML5 Charts
        • Add Plot Lines to your Chart
        • Add Colored Zones or Plot Bands to Your Chart
        • Change Bar Colors Based on Bar Value
    • Rolling Over Your BI Tool Reports
    • "Current" Columns in Custom Reporting - To Use or Not to Use?
  • Report Design Best Practices
  • Installing the Illuminate Font Set
  • Report Templates
    • Blank Templates - Report Starters
    • Using the Report Templates
    • Multiple Measures Site Comparison Report (Tutorial 5)
    • EL Reclassification Report
    • EL Reclassification Report v2
    • RFEP Monitoring Report
    • Student Rubric Template
    • Michigan Report Templates
      • PSAT and SAT College Readiness Report
  • BI Tool User Community
Powered by GitBook
On this page

Was this helpful?

  1. Get Started Using BI with SQL

Adding Input Controls

PreviousPublish My Report (SQL Method)NextTutorials

Last updated 5 years ago

Was this helpful?

Reports become dynamic when you add Input Controls, also referred to as Parameters, to your report. Illuminate provides three fundamental input controls that can be added to your reports. These input controls consist of:

academic_year

  • integer: displays date range (2014-2015) and passes the later portion of the academic year (2015)

active_sites

  • integer: displays the site name and passes the site_id to the report

active_users

  • integer: displays the user name and passes the user_id to the report

You also have the option to create two types of input controls:

  • Single Select List of Values: This is a static list of values you create that can be passed to your report.

  • Single Select Query: You can write any query that pulls data from the Illuminate database and generates results that can be passed into your report's SQL query.

After you write your SQL query, it is suggested to run the report with hard-coded values. Once your report is running locally on your computer, you can add the report to Illuminate and test in the web browser.

In the jrxml file you will add "Parameters" to make your queries dynamic. For example, if you ran the query:

SELECT "site_id", "site_name", "address", "phone1", "principal_name", "zip"
FROM "public"."sites"
ORDER BY site_name

This returns a list of all sites included in your database. However let's assume we want a list limited to a specified site. Add a parameter to the jrxml file by finding the report 'Outline' and right click on 'Parameters' and select 'Create Parameter.'

Notice a new parameter appears in the parameter list. Click on the new parameter and find the 'Properties' widget. Here is where you can change the Name, Class (data type), and set the expression (if any) for the parameter. Note that the Class (data type) is VERY important so the query receives the format expected so the query will properly execute. You can choose "is for prompting' if you will have the user select the value of the parameter at report run-time, or un-check this box if you want the parameter to be evaluated based on a previous parameter's value.

If you add a parameter called active_sites to the query considered above it would look like this:

SELECT "site_id", "site_name", "address", "phone1", "principal_name", "zip"
FROM "public"."sites"
WHERE site_id=$P{active_sites}
ORDER BY site_name