john ykema, director of sales & marketing. agenda understanding the new tool table joins &...

33
Business Intelligence 101 John Ykema, Director of Sales & Marketing

Upload: rolf-holt

Post on 19-Jan-2016

228 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Business Intelligence 101John Ykema, Director of Sales & Marketing

Page 2: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

AgendaUnderstanding the NEW ToolTable JOINS & Database ViewsBuilding your first reportCharts and GraphsReport Security

Page 3: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Understanding the NEW Tool

Page 4: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Understanding the NEW Tool

Page 5: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Understanding the NEW Tool

Page 6: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Understanding the NEW Tool

Page 7: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

TABLE JOINS & DATABASE VIEWS

Page 8: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Understanding the Data Structure• To get the most out of Ad Hoc Reporting you need to have a

sound understanding of databases – How relational databases work– How data is stored, i.e. Text, Decimals, Date, Bits– How foreign key relationships work– How table JOINS work– How to properly present data as more than just a list

• Many free resources can be found on the Internet to help better understand databases

Page 9: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Understanding the Data Structure• It is also important to know YOUR data– Take time to learn the ClientSpace tables and how

they are structured– Learn how each table can relate to another table– Learn what fields belong to which table– The more intimate you become with your data, the

more powerful it becomes and the more powerful YOU become

Page 10: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Database Cheat Sheet

Page 11: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Primary Keys & Foreign Keys• Primary Key (pk)

– A column that uniquely identifies a row/record in a table.

• Foreign Key (fk)– When you have a column in a table that

stores the Primary Key of another table.– Column names don’t have to be the same

but they have to have the same values.

Page 12: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Table JoinsLinking Tables and Views together is done through Table Joins– Inner Join– Left Join– Right Join

Page 13: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Inner JoinInner Join

pkFruitListID FruitName

1 Apple

2 Grape

3 Banana

4 Orange

pkColorListID ColorName

10 Red

20 Green

30 Orange

40 Purple

pkMyFruitID fkFruitListID fkColorsID

100 1 10

200 1 20

400 2 10

500 2 20

600 4 30

Fruit Color

Apple Red

Apple Green

Grape Red

Grape Green

Orange Orange

ResultsA

B

Inner Join between My Fruit (Left) and Colors (Right) Tables

Records from the left table will be returned only if there is a match to the right table.

Page 14: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Fruit Color

Apple Red

Apple Green

Grape Red

Grape Green

Orange Orange

Banana

Left JoinLeft Join

pkFruitListID FruitName

1 Apple

2 Grape

3 Banana

4 Orange

pkColorListID ColorName

10 Red

20 Green

30 Orange

40 Purple

pkMyFruitID fkFruitListID fkColorsID

100 1 10

200 1 20

400 2 10

500 2 20

600 4 30

ResultsA

BLeft Join between My Fruit (Left) and Colors (Right) Tables

Records from the left table are returned regardless of whether or not there is a match with the right table. Null is returned for the right table if there is no match.

Page 15: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Fruit Color

Apple Red

Apple Green

Grape Red

Grape Green

Orange Orange

Purple

Right JoinRight Join

pkFruitListID FruitName

1 Apple

2 Grape

3 Banana

4 Orange

pkColorListID ColorName

10 Red

20 Green

30 Orange

40 Purple

pkMyFruitID fkFruitListID fkColorsID

100 1 10

200 1 20

400 2 10

500 2 20

600 4 30

ResultsA

B

Right Join between My Fruits (Left) and Colors (Right) Tables

Records from the right table are returned regardless of whether or not there is a match with the left table. Null is returned for the left table if there is no match.

Page 16: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

What is the Purpose of a View• Views are pre-built data

relationships• Data Aggregation

– Hide columns in tables– Use functions and manipulate

data

• Performance• Simplifies JOINS for

frequently accessed tables

Page 17: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Dataform Specification Report• Assist with learning

tables• Help find related

information that may cross several tables.

• Provides Element Types to aid in report building

Page 18: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

BUILDING YOUR FIRST REPORT

Page 19: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Add Report

• From the BI Search Page– click the New button

• Start with the end in mind and do some analysis– What fields are needed? This will determine your tables.

• Work through the tabs starting with the Data Sources • Preview often and then Save

Page 20: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Data Sources Tab

• First, pick the table or view that represent your primary data best

• Second, join additional tables using Primary & Foreign Key relationships

• Optionally, use the Control Icons to Delete or Insert lines

Page 21: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Fields Tab

• Select your fields• Manage how the data should look and feel• Easiest to use the Quick Add button

Page 22: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Filters Tab

• Filters help exclude unwanted data• Operator value vary based on the

Filter Field• Be selective about using auto-

populated values

• Filters are cascading• Check Blank to include null values• Check Param to include this field as

a parameter in the report view

Page 23: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Preview Tab

• Preview after adding some fields

• Preview often• Its easier to

find mistakes

Page 24: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Save Report & Outputs

Save Report• If you like your work so far;

don’t forget to Save.• Click the Save button.• Give the report a name and

select a Category.

Report Output Options

• Print (PDF)• Created a Web Page

for printing• Save a SQL Statement• Export a CSV• Export to OpenOffice

•Export to Excel•Export to Word•Export as an XML file•Export as Rich Text File

Page 25: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Run Report in Viewer Mode

• Design Button• Hide Filters• Add Field• Delete Field

• Update Results Button

• Add, Delete, Modify Filters

Page 26: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Summary Tab

• Used to summarize data from the Fields tab• If using the Count function, use a primary key or

a required field

Page 27: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Chart / Chart 2 Tab

• Trend• Pie• Plot

• Bar• Funnel

Page 28: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Gauge Tab

• Charts measure what is done• Gauges help measure what’s not done

Page 29: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Misc Tab

• Here you can edit the Report’s:– Title– Description– Header– Footer– Set Report-Level Security

• User must have access to all data to be able to run the report

Page 30: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Style Tab

Further adjust look and feel of report• Color selection• Print Options• Preview Options• Visual Group Styles• Section Ordering

Page 31: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and

Report Security• Loosely Connected to Clientspace Security

Structure.

• Ad-hoc Profiles

• Report Level Security

Page 32: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and
Page 33: John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and