SlideShare a Scribd company logo
UNIVERSE BEST PRACTICES
Rob Rohloff, OEM Sales Consultant
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 2
Universe Defined
Tips for Building the Universe
Advanced Object Creation Tips
Resolving Loops
Conclusion
AGENDA
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 3
Copyright © 2007 Business Objects S.A. All rights reserved.
WHAT IS A UNIVERSE?
The Universe is a semantic layer
that contains metadata (data
about data)
Translates the complexities of the
database into business-friendly
terms for end-users.
Allows for correct SQL generation
Allows manipulation of data
based on the metadata and on
the additional business logic in
the Universe
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 4
Copyright © 2007 Business Objects S.A. All rights reserved.
UNIVERSE:
WHAT DOES IT LET YOU DO?
Simple, intuitive data analysis
Report creation using business terms instead of
SQL
Reuse of business logic
Automatic report drilling (by defining hierarchies)
Multiple data provider synchronization
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 5
Copyright © 2007 Business Objects S.A. All rights reserved.
UNIVERSE:
WHERE CAN YOU USE IT?
Crystal
Reports
Desktop
Intelligence
Web Intelligence
LiveOffice
EPM
Query as a
Web Service
Data
Federator
Universe
Xcelsius
Databases
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 6
Universe Defined
Tips for Building the Universe
Advanced Object Creation Tips
Resolving Loops
Conclusion
AGENDA
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 7
ADDING TABLES & JOINS
Build your universe piece-by-piece
Insert tables one at a time, that way it can be understood.
Do not use the automatic universe creation tool. Using
this wizard will build a universe that you do not
understand.
Take each table, join, cardinality etc one at a time.
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 8
DEFINING OBJECTS
Object and class naming
Name in business terms
Remember: you are trying to enable non-technical
people to build their own reports
Use object formatting
When there is a need to format an object in the same
way every time it is used.
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 9
DEFINING OBJECTS
Use complex objects
Concatenate descriptions
Translate codes
Build common calculations into the universe
whenever possible
Build logic into your objects
Use condition objects
Users don’t like to build conditions in the query
Define measure objects correctly
Not every number is a measure!
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 10
Universe Defined
Tips for Building the Universe
Advanced Object Creation Tips
Resolving Loops
Conclusion
AGENDA
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 11
TIP 1: AVOID WHERE CLAUSES
Problem: How to separate credit invoices from regular invoices into 2
separate objects?
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 12
AVOID ‘WHERE’ CLAUSES
2 Objects: USA Sales and Germany Sales
What happens if a user pulls both objects into a query?
WHERE sales.country = ‘USA’ AND sales.country = ‘Germany’
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 13
USE CASE STATEMENT INSTEAD
WRONG!
WHERE clauses
are rarely the right
answer!
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 14
CASE STATEMENT
CORRECT!
CASE statements
can “bucket” data
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 15
CASE STATEMENT DEMO
Demonstration
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 16
TIP 2: CUSTOM LISTS OF VALUES
Which is better?
OR
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 17
CUSTOM LISTS OF VALUES DEMO
Demonstration
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 18
TIP 3: USE AGGREGATION IN ALL
MEASURE OBJECTS
Always perform aggregation in a measure. Why?
Measures, by definition, are aggregated
Although WebIntelligence will aggregate measure objects
locally, the database is far more powerful.
If the object does not contain a SQL aggregate function
such as SUM stated in its SELECT clause, no GROUP
BY clause will be generated
SELECT invoices.amount vs. SELECT sum(invoices.amount)
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 19
TIP 4: USE RELATIVE DATES
Users don’t like to fill in
date prompts every
time they refresh a
report
Scheduling can be
difficult
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 20
RELATIVE DATES
Which is more user friendly?
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 21
RELATIVE DATES
SELECT 'Last 7 Days' AS Date_Range,
CONVERT(smalldatetime, { fn curDATE() }) - 6 AS Begin_Date,
CONVERT(smalldatetime, { fn curDATE() }) AS End_Date
FROM dbo.syscolumns
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 22
TIP 6: USE DYNAMIC HTML IN OBJECTS
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 23
DYNAMIC HTML DEMO
Demonstration
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 24
Universe Defined
Tips for Building the Universe
Advanced Object Creation Tips
Resolving Loops
Conclusion
AGENDA
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 25
LOOPS
Definition:
More than one “path”
through the SQL
Problem:
Business Objects will not
know what “path” to
choose
countries
customers
orders
order_lines products
f
a
b
c
d
suppliers
e
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 26
RESOLVING LOOPS
Three possible resolutions:
Remove a join
countries
customers
orders
order_lines products
f
a
b
c
d
suppliers
e
countries
customers
orders
order_lines products
a
b
c
d
suppliers
e
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 27
RESOLVING LOOPS
Three possible resolutions:
Remove a join
Add an alias
customers
orders
order_lines products
a
b
c
d
suppliers
countriescountries
ALIAS
customer
countries
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 28
RESOLVING LOOPS
Three possible resolutions:
Remove a join
Add an alias
Add contexts
countries
customers
orders
order_lines products
f
a
b
c
d
suppliers
e
CONTEXT 1: Suppliers
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 29
RESOLVING LOOPS
Three possible resolutions:
Remove a join
Add an alias
Add contexts
countries
customers
orders
order_lines products
f
a
b
c
d
suppliers
e
CONTEXT 2: Customers
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 30
Universe Defined
Tips for Building the Universe
Advanced Object Creation Tips
Resolving Loops
Conclusion
AGENDA
COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 31
Copyright © 2007 Business Objects S.A. All rights reserved.
CONCLUSION
The Universe is a powerful
semantic layer that translates the
database into business-friendly
terms
It is core to all Business Objects
Information & Delivery tools
Time should be taken to build it
correctly using best practices
Leverage the power of the Universe
to build complex objects that further
simplify the user experience
UNIVERSE BEST PRACTICES
End

More Related Content

What's hot

Getting power bi
Getting power biGetting power bi
Getting power bi
Umakant Bhardwaj
 
Benefits of SQL Server 2017 and 2019 | IDERA
Benefits of SQL Server 2017 and 2019 | IDERABenefits of SQL Server 2017 and 2019 | IDERA
Benefits of SQL Server 2017 and 2019 | IDERA
IDERA Software
 
Oracle Discoverer Reports via BSS
Oracle Discoverer Reports via BSSOracle Discoverer Reports via BSS
Oracle Discoverer Reports via BSS
Khalid Tariq
 
SSIS begineer
SSIS begineerSSIS begineer
SSIS begineer
sumitkumar3201
 
AAO BI Portfolio
AAO BI PortfolioAAO BI Portfolio
AAO BI Portfolio
Al Ottley
 
SSAS Tabular model importance and uses
SSAS  Tabular model importance and usesSSAS  Tabular model importance and uses
SSAS Tabular model importance and uses
Lakshmi Prasanna Kottagorla
 
Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)
Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)
Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)
Chris O'Brien
 
Tableau free tutorial
Tableau free tutorialTableau free tutorial
Tableau free tutorial
tekslate1
 
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Certus Solutions
 
Basic introduction to power query
Basic introduction to power queryBasic introduction to power query
Basic introduction to power query
disha parmar
 
Endeca
EndecaEndeca
Endeca
Swati Bansal
 
ODI (Oracle Data Integrator)
ODI (Oracle Data Integrator)ODI (Oracle Data Integrator)
ODI (Oracle Data Integrator)
keenittech
 
Power bi
Power biPower bi

What's hot (13)

Getting power bi
Getting power biGetting power bi
Getting power bi
 
Benefits of SQL Server 2017 and 2019 | IDERA
Benefits of SQL Server 2017 and 2019 | IDERABenefits of SQL Server 2017 and 2019 | IDERA
Benefits of SQL Server 2017 and 2019 | IDERA
 
Oracle Discoverer Reports via BSS
Oracle Discoverer Reports via BSSOracle Discoverer Reports via BSS
Oracle Discoverer Reports via BSS
 
SSIS begineer
SSIS begineerSSIS begineer
SSIS begineer
 
AAO BI Portfolio
AAO BI PortfolioAAO BI Portfolio
AAO BI Portfolio
 
SSAS Tabular model importance and uses
SSAS  Tabular model importance and usesSSAS  Tabular model importance and uses
SSAS Tabular model importance and uses
 
Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)
Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)
Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)
 
Tableau free tutorial
Tableau free tutorialTableau free tutorial
Tableau free tutorial
 
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
 
Basic introduction to power query
Basic introduction to power queryBasic introduction to power query
Basic introduction to power query
 
Endeca
EndecaEndeca
Endeca
 
ODI (Oracle Data Integrator)
ODI (Oracle Data Integrator)ODI (Oracle Data Integrator)
ODI (Oracle Data Integrator)
 
Power bi
Power biPower bi
Power bi
 

Similar to BO Universe best practices

The Next Five Years of Rails
The Next Five Years of RailsThe Next Five Years of Rails
The Next Five Years of Rails
Alex Mercer
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan
 
Crystal Reports - The Power and Possibilities of SQL Expressions
Crystal Reports - The Power and Possibilities of SQL ExpressionsCrystal Reports - The Power and Possibilities of SQL Expressions
Crystal Reports - The Power and Possibilities of SQL Expressions
Kurt Reinhardt
 
Flex360 Milan 2008 - Flex & Webservices
Flex360 Milan 2008 - Flex & WebservicesFlex360 Milan 2008 - Flex & Webservices
Flex360 Milan 2008 - Flex & Webservices
ivascucristian
 
Oracle DV V4 new features overview
Oracle DV V4 new features overviewOracle DV V4 new features overview
Oracle DV V4 new features overview
Philippe Lions
 
MaxTECH Technical Training - Maximo Custom Audit Solution
MaxTECH Technical Training - Maximo Custom Audit SolutionMaxTECH Technical Training - Maximo Custom Audit Solution
MaxTECH Technical Training - Maximo Custom Audit Solution
Helen Fisher
 
ASP.NET 8 Developer Roadmap By ScholarHat PDF
ASP.NET 8 Developer Roadmap By ScholarHat PDFASP.NET 8 Developer Roadmap By ScholarHat PDF
ASP.NET 8 Developer Roadmap By ScholarHat PDF
Scholarhat
 
ADO.NET Entity Framework DevDays
ADO.NET Entity Framework DevDaysADO.NET Entity Framework DevDays
ADO.NET Entity Framework DevDays
ukdpe
 
Enterprise Level Application Architecture with Web APIs using Entity Framewor...
Enterprise Level Application Architecture with Web APIs using Entity Framewor...Enterprise Level Application Architecture with Web APIs using Entity Framewor...
Enterprise Level Application Architecture with Web APIs using Entity Framewor...
Akhil Mittal
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simple
llangit
 
DBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptxDBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptx
Hong Ong
 
Jessica Herndon Sql Portfolio
Jessica Herndon Sql PortfolioJessica Herndon Sql Portfolio
Jessica Herndon Sql Portfolio
JessicaLHerndon
 
Are you Well-Architected? - AWS Online Tech Talks
Are you Well-Architected? - AWS Online Tech TalksAre you Well-Architected? - AWS Online Tech Talks
Are you Well-Architected? - AWS Online Tech Talks
Amazon Web Services
 
Kelley Blue Book and Cloud Computing
Kelley Blue Book and Cloud ComputingKelley Blue Book and Cloud Computing
Kelley Blue Book and Cloud Computing
David Chou
 
Windows Azure and a little SQL Data Services
Windows Azure and a little SQL Data ServicesWindows Azure and a little SQL Data Services
Windows Azure and a little SQL Data Services
ukdpe
 
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
Amazon Web Services
 
MySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQLMySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQL
Manuel Contreras
 
Drupalcon Mumbai
Drupalcon MumbaiDrupalcon Mumbai
Drupalcon Mumbai
Sumit Kataria
 
Foundations of programming
Foundations of programmingFoundations of programming
Foundations of programming
Stefan von Niederhäusern
 
Using object dependencies in sql server 2008 tech republic
Using object dependencies in sql server 2008   tech republicUsing object dependencies in sql server 2008   tech republic
Using object dependencies in sql server 2008 tech republic
Kaing Menglieng
 

Similar to BO Universe best practices (20)

The Next Five Years of Rails
The Next Five Years of RailsThe Next Five Years of Rails
The Next Five Years of Rails
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2
 
Crystal Reports - The Power and Possibilities of SQL Expressions
Crystal Reports - The Power and Possibilities of SQL ExpressionsCrystal Reports - The Power and Possibilities of SQL Expressions
Crystal Reports - The Power and Possibilities of SQL Expressions
 
Flex360 Milan 2008 - Flex & Webservices
Flex360 Milan 2008 - Flex & WebservicesFlex360 Milan 2008 - Flex & Webservices
Flex360 Milan 2008 - Flex & Webservices
 
Oracle DV V4 new features overview
Oracle DV V4 new features overviewOracle DV V4 new features overview
Oracle DV V4 new features overview
 
MaxTECH Technical Training - Maximo Custom Audit Solution
MaxTECH Technical Training - Maximo Custom Audit SolutionMaxTECH Technical Training - Maximo Custom Audit Solution
MaxTECH Technical Training - Maximo Custom Audit Solution
 
ASP.NET 8 Developer Roadmap By ScholarHat PDF
ASP.NET 8 Developer Roadmap By ScholarHat PDFASP.NET 8 Developer Roadmap By ScholarHat PDF
ASP.NET 8 Developer Roadmap By ScholarHat PDF
 
ADO.NET Entity Framework DevDays
ADO.NET Entity Framework DevDaysADO.NET Entity Framework DevDays
ADO.NET Entity Framework DevDays
 
Enterprise Level Application Architecture with Web APIs using Entity Framewor...
Enterprise Level Application Architecture with Web APIs using Entity Framewor...Enterprise Level Application Architecture with Web APIs using Entity Framewor...
Enterprise Level Application Architecture with Web APIs using Entity Framewor...
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simple
 
DBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptxDBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptx
 
Jessica Herndon Sql Portfolio
Jessica Herndon Sql PortfolioJessica Herndon Sql Portfolio
Jessica Herndon Sql Portfolio
 
Are you Well-Architected? - AWS Online Tech Talks
Are you Well-Architected? - AWS Online Tech TalksAre you Well-Architected? - AWS Online Tech Talks
Are you Well-Architected? - AWS Online Tech Talks
 
Kelley Blue Book and Cloud Computing
Kelley Blue Book and Cloud ComputingKelley Blue Book and Cloud Computing
Kelley Blue Book and Cloud Computing
 
Windows Azure and a little SQL Data Services
Windows Azure and a little SQL Data ServicesWindows Azure and a little SQL Data Services
Windows Azure and a little SQL Data Services
 
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
 
MySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQLMySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQL
 
Drupalcon Mumbai
Drupalcon MumbaiDrupalcon Mumbai
Drupalcon Mumbai
 
Foundations of programming
Foundations of programmingFoundations of programming
Foundations of programming
 
Using object dependencies in sql server 2008 tech republic
Using object dependencies in sql server 2008   tech republicUsing object dependencies in sql server 2008   tech republic
Using object dependencies in sql server 2008 tech republic
 

More from Malin Johansson

Ledningsutveckling 20101207
Ledningsutveckling 20101207Ledningsutveckling 20101207
Ledningsutveckling 20101207
Malin Johansson
 
SQL Facit
SQL FacitSQL Facit
SQL Facit
Malin Johansson
 
SQL övningar
SQL övningarSQL övningar
SQL övningar
Malin Johansson
 
BO universe
BO universeBO universe
BO universe
Malin Johansson
 
Sql utbldning
Sql utbldningSql utbldning
Sql utbldning
Malin Johansson
 
Beslutsstöd
BeslutsstödBeslutsstöd
Beslutsstöd
Malin Johansson
 
Bi bibel
Bi bibelBi bibel
Bi bibel
Malin Johansson
 
Gate 1 beslutsstöd
Gate 1 beslutsstödGate 1 beslutsstöd
Gate 1 beslutsstöd
Malin Johansson
 
My back on track
My back on trackMy back on track
My back on track
Malin Johansson
 
Lararhandledning barnens livräddningssällskap 2014
Lararhandledning barnens livräddningssällskap 2014Lararhandledning barnens livräddningssällskap 2014
Lararhandledning barnens livräddningssällskap 2014
Malin Johansson
 
Grundlaggande redovisning, sm (1)
Grundlaggande redovisning, sm (1)Grundlaggande redovisning, sm (1)
Grundlaggande redovisning, sm (1)
Malin Johansson
 
Objektbeskrivning släntstigen 6
Objektbeskrivning släntstigen 6Objektbeskrivning släntstigen 6
Objektbeskrivning släntstigen 6
Malin Johansson
 
Stadgar vintergatan 4
Stadgar vintergatan 4Stadgar vintergatan 4
Stadgar vintergatan 4
Malin Johansson
 
Objektbeskrivning Stagneliusvägen 31
Objektbeskrivning Stagneliusvägen 31Objektbeskrivning Stagneliusvägen 31
Objektbeskrivning Stagneliusvägen 31
Malin Johansson
 
Tillväxtverket
TillväxtverketTillväxtverket
Tillväxtverket
Malin Johansson
 
CV Malin Johansson MODUL1
CV Malin Johansson MODUL1CV Malin Johansson MODUL1
CV Malin Johansson MODUL1
Malin Johansson
 
EQT Avstämning Deal Database
EQT Avstämning Deal DatabaseEQT Avstämning Deal Database
EQT Avstämning Deal Database
Malin Johansson
 
2008 09-26 demonstration monthly reporting in deal database
2008 09-26 demonstration monthly reporting in deal database2008 09-26 demonstration monthly reporting in deal database
2008 09-26 demonstration monthly reporting in deal database
Malin Johansson
 
Avtal dn b nor
Avtal dn b norAvtal dn b nor
Avtal dn b nor
Malin Johansson
 
Länsförsäkringar halland årsredovisning 2014
Länsförsäkringar halland årsredovisning 2014Länsförsäkringar halland årsredovisning 2014
Länsförsäkringar halland årsredovisning 2014
Malin Johansson
 

More from Malin Johansson (20)

Ledningsutveckling 20101207
Ledningsutveckling 20101207Ledningsutveckling 20101207
Ledningsutveckling 20101207
 
SQL Facit
SQL FacitSQL Facit
SQL Facit
 
SQL övningar
SQL övningarSQL övningar
SQL övningar
 
BO universe
BO universeBO universe
BO universe
 
Sql utbldning
Sql utbldningSql utbldning
Sql utbldning
 
Beslutsstöd
BeslutsstödBeslutsstöd
Beslutsstöd
 
Bi bibel
Bi bibelBi bibel
Bi bibel
 
Gate 1 beslutsstöd
Gate 1 beslutsstödGate 1 beslutsstöd
Gate 1 beslutsstöd
 
My back on track
My back on trackMy back on track
My back on track
 
Lararhandledning barnens livräddningssällskap 2014
Lararhandledning barnens livräddningssällskap 2014Lararhandledning barnens livräddningssällskap 2014
Lararhandledning barnens livräddningssällskap 2014
 
Grundlaggande redovisning, sm (1)
Grundlaggande redovisning, sm (1)Grundlaggande redovisning, sm (1)
Grundlaggande redovisning, sm (1)
 
Objektbeskrivning släntstigen 6
Objektbeskrivning släntstigen 6Objektbeskrivning släntstigen 6
Objektbeskrivning släntstigen 6
 
Stadgar vintergatan 4
Stadgar vintergatan 4Stadgar vintergatan 4
Stadgar vintergatan 4
 
Objektbeskrivning Stagneliusvägen 31
Objektbeskrivning Stagneliusvägen 31Objektbeskrivning Stagneliusvägen 31
Objektbeskrivning Stagneliusvägen 31
 
Tillväxtverket
TillväxtverketTillväxtverket
Tillväxtverket
 
CV Malin Johansson MODUL1
CV Malin Johansson MODUL1CV Malin Johansson MODUL1
CV Malin Johansson MODUL1
 
EQT Avstämning Deal Database
EQT Avstämning Deal DatabaseEQT Avstämning Deal Database
EQT Avstämning Deal Database
 
2008 09-26 demonstration monthly reporting in deal database
2008 09-26 demonstration monthly reporting in deal database2008 09-26 demonstration monthly reporting in deal database
2008 09-26 demonstration monthly reporting in deal database
 
Avtal dn b nor
Avtal dn b norAvtal dn b nor
Avtal dn b nor
 
Länsförsäkringar halland årsredovisning 2014
Länsförsäkringar halland årsredovisning 2014Länsförsäkringar halland årsredovisning 2014
Länsförsäkringar halland årsredovisning 2014
 

BO Universe best practices

  • 1. UNIVERSE BEST PRACTICES Rob Rohloff, OEM Sales Consultant
  • 2. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 2 Universe Defined Tips for Building the Universe Advanced Object Creation Tips Resolving Loops Conclusion AGENDA
  • 3. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 3 Copyright © 2007 Business Objects S.A. All rights reserved. WHAT IS A UNIVERSE? The Universe is a semantic layer that contains metadata (data about data) Translates the complexities of the database into business-friendly terms for end-users. Allows for correct SQL generation Allows manipulation of data based on the metadata and on the additional business logic in the Universe
  • 4. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 4 Copyright © 2007 Business Objects S.A. All rights reserved. UNIVERSE: WHAT DOES IT LET YOU DO? Simple, intuitive data analysis Report creation using business terms instead of SQL Reuse of business logic Automatic report drilling (by defining hierarchies) Multiple data provider synchronization
  • 5. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 5 Copyright © 2007 Business Objects S.A. All rights reserved. UNIVERSE: WHERE CAN YOU USE IT? Crystal Reports Desktop Intelligence Web Intelligence LiveOffice EPM Query as a Web Service Data Federator Universe Xcelsius Databases
  • 6. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 6 Universe Defined Tips for Building the Universe Advanced Object Creation Tips Resolving Loops Conclusion AGENDA
  • 7. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 7 ADDING TABLES & JOINS Build your universe piece-by-piece Insert tables one at a time, that way it can be understood. Do not use the automatic universe creation tool. Using this wizard will build a universe that you do not understand. Take each table, join, cardinality etc one at a time.
  • 8. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 8 DEFINING OBJECTS Object and class naming Name in business terms Remember: you are trying to enable non-technical people to build their own reports Use object formatting When there is a need to format an object in the same way every time it is used.
  • 9. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 9 DEFINING OBJECTS Use complex objects Concatenate descriptions Translate codes Build common calculations into the universe whenever possible Build logic into your objects Use condition objects Users don’t like to build conditions in the query Define measure objects correctly Not every number is a measure!
  • 10. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 10 Universe Defined Tips for Building the Universe Advanced Object Creation Tips Resolving Loops Conclusion AGENDA
  • 11. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 11 TIP 1: AVOID WHERE CLAUSES Problem: How to separate credit invoices from regular invoices into 2 separate objects?
  • 12. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 12 AVOID ‘WHERE’ CLAUSES 2 Objects: USA Sales and Germany Sales What happens if a user pulls both objects into a query? WHERE sales.country = ‘USA’ AND sales.country = ‘Germany’
  • 13. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 13 USE CASE STATEMENT INSTEAD WRONG! WHERE clauses are rarely the right answer!
  • 14. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 14 CASE STATEMENT CORRECT! CASE statements can “bucket” data
  • 15. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 15 CASE STATEMENT DEMO Demonstration
  • 16. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 16 TIP 2: CUSTOM LISTS OF VALUES Which is better? OR
  • 17. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 17 CUSTOM LISTS OF VALUES DEMO Demonstration
  • 18. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 18 TIP 3: USE AGGREGATION IN ALL MEASURE OBJECTS Always perform aggregation in a measure. Why? Measures, by definition, are aggregated Although WebIntelligence will aggregate measure objects locally, the database is far more powerful. If the object does not contain a SQL aggregate function such as SUM stated in its SELECT clause, no GROUP BY clause will be generated SELECT invoices.amount vs. SELECT sum(invoices.amount)
  • 19. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 19 TIP 4: USE RELATIVE DATES Users don’t like to fill in date prompts every time they refresh a report Scheduling can be difficult
  • 20. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 20 RELATIVE DATES Which is more user friendly?
  • 21. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 21 RELATIVE DATES SELECT 'Last 7 Days' AS Date_Range, CONVERT(smalldatetime, { fn curDATE() }) - 6 AS Begin_Date, CONVERT(smalldatetime, { fn curDATE() }) AS End_Date FROM dbo.syscolumns
  • 22. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 22 TIP 6: USE DYNAMIC HTML IN OBJECTS
  • 23. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 23 DYNAMIC HTML DEMO Demonstration
  • 24. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 24 Universe Defined Tips for Building the Universe Advanced Object Creation Tips Resolving Loops Conclusion AGENDA
  • 25. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 25 LOOPS Definition: More than one “path” through the SQL Problem: Business Objects will not know what “path” to choose countries customers orders order_lines products f a b c d suppliers e
  • 26. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 26 RESOLVING LOOPS Three possible resolutions: Remove a join countries customers orders order_lines products f a b c d suppliers e countries customers orders order_lines products a b c d suppliers e
  • 27. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 27 RESOLVING LOOPS Three possible resolutions: Remove a join Add an alias customers orders order_lines products a b c d suppliers countriescountries ALIAS customer countries
  • 28. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 28 RESOLVING LOOPS Three possible resolutions: Remove a join Add an alias Add contexts countries customers orders order_lines products f a b c d suppliers e CONTEXT 1: Suppliers
  • 29. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 29 RESOLVING LOOPS Three possible resolutions: Remove a join Add an alias Add contexts countries customers orders order_lines products f a b c d suppliers e CONTEXT 2: Customers
  • 30. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 30 Universe Defined Tips for Building the Universe Advanced Object Creation Tips Resolving Loops Conclusion AGENDA
  • 31. COPYRIGHT © 2007 BUSINESS OBJECTS S.A. ALL RIGHTS RESERVED.SLIDE 31 Copyright © 2007 Business Objects S.A. All rights reserved. CONCLUSION The Universe is a powerful semantic layer that translates the database into business-friendly terms It is core to all Business Objects Information & Delivery tools Time should be taken to build it correctly using best practices Leverage the power of the Universe to build complex objects that further simplify the user experience