advanced authoring tips and tricks - senturus...•remember that only query calculations will give...

18
ADVANCED AUTHORING TIPS AND TRICKS IBM Cognos 10.2.1.1 Business Intelligence

Upload: others

Post on 24-May-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

ADVANCED AUTHORING TIPS AND

TRICKS

IBM Cognos 10.2.1.1 Business Intelligence

Page 2: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

INTRODUCTION

2Copyright 2013 Senturus, Inc. All Rights Reserved

September Clementin

Senior Instructor

Senturus

Page 3: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

• Join Queries

• Reference data in a separate Query

• Create conditional filters

• Layout Component References

• Advanced expressions

• More Resources

• Q&A

AGENDA

Copyright 2013 Senturus, Inc. All Rights Reserved

Page 4: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

• Questions will be taken at the end of the demonstrations

• Raise your hand and the moderator will facilitate

How to Ask Questions

4Copyright 2013 Senturus, Inc. All Rights Reserved

Page 5: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

• All demonstrations are based on the standard IBM

Cognos 10.2.1 Great Outdoors Sample package

• These exercises are part of what we teach in our

classroom

DEMONSTRATION CONTEXT

5Copyright 2013 Senturus, Inc. All Rights Reserved

Page 6: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

JOIN QUERIES

TIP #1

Page 7: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

• Joins are useful for creating relationships between queries that may not exist in the model

• The Join in the model may not the same as the join you require

• For example, the Model contains an inner join and you require an outer join

• You can create a series of joined queries

JOINS

Copyright 2013 Senturus, Inc. All Rights Reserved

Page 8: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

REFERENCE DATA IN A SEPARATE QUERY

TIP #2

Page 9: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

• Useful when filtering data in just one filter would exclude too much data

• Instead, create one query that filters out the relevant data and then create a second query that references the first query’s result set.

• Filtering Query 1 by the result set of Query 2 will produce a report that shows only orders with a specified product and of those orders only products that have generated a lifetime revenue of over $5,000,000.

FILTERING QUERY DATA FROM ANOTHER QUERY

Query 1

Order, Product Revenue

Filtered to include

Only orders with a specified Product

Query 2

Product and revenue

Filtered to only include products that

Have generated over $5,000,000

Copyright 2013 Senturus, Inc. All Rights Reserved

Page 10: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

CREATE CONDITIONAL FILTERS

TIP #3

Page 11: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

• Provides report consumers with greater data exploration flexibility

• Eliminate multiple versions of the same report

CREATE CONDITIONAL FILTERS

Copyright 2013 Senturus, Inc. All Rights Reserved

Page 12: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

LAYOUT COMPONENT REFERENCES

TIP #4

Page 13: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

• The Layout Component Reference Object allows authors to reference objects within and across reports

• Any Layout object with its Name property populated can be referenced

• Queries can NOT be referenced

• Overrides are available for Parent-Child objects

RE-USING OBJECTS ACROSS REPORTS

Copyright 2013 Senturus, Inc. All Rights Reserved

Page 14: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

ADVANCED EXPRESSIONS

TIP #5

Page 15: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

• Remember that only Query Calculations will give you access to the Query Engine, so

• Best Practice: build advanced expressions modularly from within the Query, even if you don’t plan to display them

Advanced Expressions

Senturus, Inc. – Proprietary and Confidential 15

Page 16: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

ADDITIONAL RESOURCES

16Copyright 2013 Senturus, Inc. All Rights Reserved

Page 17: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

Senturus Website www.senturus.com

17Copyright 2013 Senturus, Inc. All Rights Reserved.

Page 18: ADVANCED AUTHORING TIPS AND TRICKS - Senturus...•Remember that only Query Calculations will give you access to the Query Engine, so •Best Practice: build advanced expressions modularly

Q & A