Skip to main content

Filters

  • Chapter
Book cover Fast Track to MDX

Abstract

It is a common requirement to want to extract a subset of the data in a cube depending on whether it meets certain criteria. For instance, you may want to identify any periods in which the sales of many products fell, compared with the sales for the previous period. What we want here is a ratio: we want to take a count of products whose sales fell (when compared to the last period) and divide that by the count of all products. The count of all products with falling sales is a subset of the count of all products and in order to resolve this, MDX has a Filter function which is used to identify subsets of data.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Mark Whitehorn

About this chapter

Cite this chapter

Whitehorn, M., Zare, R., Pasumansky, M. (2002). Filters. In: Fast Track to MDX. Springer, London. https://doi.org/10.1007/1-84628-182-2_9

Download citation

  • DOI: https://doi.org/10.1007/1-84628-182-2_9

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-84628-174-7

  • Online ISBN: 978-1-84628-182-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics