Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SAP BusinessObjects Reporting Cookbook

You're reading from   SAP BusinessObjects Reporting Cookbook Over 80 recipes to help you build, customize, and distribute reports using SAP BusinessObjects

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781782172437
Length 380 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Yoav Yohav Yoav Yohav
Author Profile Icon Yoav Yohav
Yoav Yohav
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Working with the BI Launch Pad FREE CHAPTER 2. Creating New Queries 3. Working Inside the Report 4. Working with Tables 5. Working with Charts 6. Formatting Reports 7. Filtering the Report Data 8. Merging Data 9. Using Formulas and Variables 10. Using Hyperlinks 11. Using Drill 12. Scheduling Reports 13. Working with BI Workspaces 14. Web Intelligence Rich Client Index

Using AND/OR logic in conditions


Using several conditions in a query is a very common scenario because, in many cases, we are required to build a query with a set of filters to get the most accurate results.

Conditions in queries can use the AND or OR operators.

A relation that creates an intersection between conditions is called an AND relation. This means all the common rows for Filter A and Filter B will be retrieved.

Have a look at the following figure. Here, the data retrieved by the AND operator can be described as the dark area in the middle. It is the common intersected area.

For instance, if our query has a set of two conditions: year equal to 2014 AND product name equal to smart phones and no smart phones were sold in 2014, the query won't return any results since the conditions didn't have common rows.

The relation between conditions using an OR operator is a relation that uses a union operator, meaning there is no need for the conditions to have common rows. If any one of the conditions...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image