Home >Documents >OLAP Functions

OLAP Functions

Date post:22-Oct-2014
Category:
View:57 times
Download:3 times
Share this document with a friend
Transcript:

Tip or Technique OLAP Functions Product(s): Cognos 8 Area of Interest: Report DesignPREPARED BY: Craig Taylor, Philip Wittann Dated: 2006-03-15 Applies to Product Version: Enter Version(s) here REVIEWED BY: Dated: Applies to OS: All

Revision ControlDate Person/Title Change(s) Made

Cognos Confidential

Copyright Your use of this document is subject to the Terms of Use governing Cognos 8. The information contained in this document is proprietary information of Cognos Incorporated and/or its licensors and is protected under copyright and other applicable laws. You may use the information and methodologies described in this document 'as is' or you may modify them, however Cognos will not be responsible for any deficiencies or errors that result from modifications which you make. Copyright 2006 (c) Cognos Incorporated. All Rights Reserved. This document is maintained by the Best Practices, Product and Technology team. You can send comments, suggestions, and additions to Best Practices, Product and Technologies.

Cognos Confidential

OLAP Functions

OLAP Functions1. INTRODUCTION .................................................................................... 5 1.1 PURPOSE.......................................................................................................................5 1.2 APPLICABILITY.................................................................................................................5 2. BACKGROUND INFORMATION ................................................................. 5 3. FUNCTION DEFINITIONS ........................................................................ 6 3.1 _FIRSTFROMSET..............................................................................................................6 3.2 _REMAINDERSET...............................................................................................................6 3.3 ANCESTOR......................................................................................................................7 3.4 ANCESTORS.....................................................................................................................7 3.5 BOTTOMCOUNT................................................................................................................8 3.6 BOTTOMPERCENT..............................................................................................................8 3.7 BOTTOMSUM...................................................................................................................9 3.8 CAPTION......................................................................................................................10 3.9 CHILDREN....................................................................................................................10 3.10 CLOSINGPERIOD............................................................................................................10 3.11 COMPLETETUPLE............................................................................................................11 3.12 COUSIN.....................................................................................................................11 3.13 CURRENTMEMBER..........................................................................................................12 3.14 DEFAULTMEMBER...........................................................................................................13 3.15 DESCENDANTS..............................................................................................................14 3.16 EMPTYSET..................................................................................................................15 3.17 EXCEPT.....................................................................................................................16 3.18 FILTER......................................................................................................................16 3.19 FIRSTCHILD................................................................................................................17 3.20 FIRSTSIBLING..............................................................................................................17 3.21 GENERATE .................................................................................................................18 3.22 HEAD.......................................................................................................................18 3.23 HIERARCHIZE...............................................................................................................19 3.24 HIERARCHY.................................................................................................................19 3.25 ITEM........................................................................................................................20 3.26 INTERSECT..................................................................................................................20 3.27 LAG 21 3.28 LASTCHILD.................................................................................................................21 3.29 LASTPERIODS...............................................................................................................21 3.30 LASTSIBLING...............................................................................................................21 3.31 LEAD........................................................................................................................22 3.32 LEVEL.......................................................................................................................22 3.33 LEVELS......................................................................................................................22 3.34 MEMBER....................................................................................................................23 3.35 MEMBERS...................................................................................................................24 3.36 NESTEDSET.................................................................................................................24 3.37 NEXTMEMBER..............................................................................................................25 3.38 OPENINGPERIOD............................................................................................................25 3.39 ORDER......................................................................................................................25 3.40 ORDINAL....................................................................................................................26 3.41 PARALLELPERIOD...........................................................................................................27 3.42 PARENT.....................................................................................................................27 3.43 PERIODSTODATE...........................................................................................................27 3.44 PREVMEMBER...............................................................................................................27 3.45 ROLEVALUE.................................................................................................................28 3.46 ROOTMEMEBERS...........................................................................................................28 3.47 SET 29 3.48 SIBLINGS....................................................................................................................29

Cognos Confidential

Page 3

OLAP Functions

3.49 3.50 3.51 3.52 3.53 3.54 3.55 3.56 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8

SUBSET.....................................................................................................................29 TAIL........................................................................................................................30 TOPCOUNT.................................................................................................................30 TOPPERCENT...............................................................................................................31 TOPSUM....................................................................................................................31 TUPLE.......................................................................................................................32 UNION......................................................................................................................32 VALUE.......................................................................................................................33

4. APPENDIX A FUNCTION GROUPING ..................................................... 34 BLOCK.......................................................................................................................34 DATE 34 FAMILY.......................................................................................................................34 HIERARCHY..................................................................................................................34 MEMBER.....................................................................................................................34 SET 34 TOP AND BOTTOM..........................................................................................................35 VALUE........................................................................................................................35

5. DEPLOYMENT OF FUNCTION SAMPLES ................................................... 35

Cognos Confidential

Page 4

OLAP Functions

1.1.1

IntroductionPurpose This document provides additional detail and examples of the OLA

Popular Tags:

Click here to load reader

Embed Size (px)
Recommended