<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Data Object Syntax :: Delta BI Documentation (EN source)</title>
    <link>/developer/reference/fx/syntax/elements/data-objects/index.html</link>
    <description>Data Object Syntax When composing PQL and MDX statements and expressions, different data objects need to be referenced.&#xA;The syntax for each object is provided in the following sections.&#xA;Dimensions or Tables represent tables of data in a data model Hierarchies or Attributes represent columns in tables Hierarchy Elements or Members represent the different items in a column Values or Measures represent numeric aggregations that have been defined on certain columns in a table Data Points or Tuples represent a cell or point of data in a model Lists or Sets represent a collection of hierarchy elements or members Self Calc is used to perform recursive calculations based on a given member within a hierarchy Calculation Engines Some data objects are only applicable in some of the PQL calculation engines:</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="/developer/reference/fx/syntax/elements/data-objects/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Dimensions and Tables</title>
      <link>/developer/reference/fx/syntax/elements/dimensions/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/syntax/elements/dimensions/index.html</guid>
      <description>Dimensions and Tables Dimension or table names and expressions are passed to functions in PQL to return members, sets, or tuples from a hierarchy.&#xA;Syntax &amp; Usage [dimension or table name] The dimension or table name should be enclosed in square brackets. The dimension or table name is used in Granular and Semantic Calculations. It usually precedes the Hierarchy or Column name, as a way to differentiate different columns in a data model. By definition, every dimension or table name is unique. Different Function types This function is like MDX dimension objects. Examples This example is a data point expression that is comprised of two coordinates from a model:</description>
    </item>
    <item>
      <title>Hierarchies and Columns</title>
      <link>/developer/reference/fx/syntax/elements/hierarchies/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/syntax/elements/hierarchies/index.html</guid>
      <description>Hierarchies and Columns Hierarchy or column names and expressions are passed to functions in PQL to return members, sets, or tuples from a hierarchy.&#xA;Syntax &amp; Usage [dimension or table name].[hierarchy or column name] The hierarchy or column name, like the dimension or table name, should be enclosed in square brackets. The hierarchy name is used in Granular and Semantic Calculations. It follows the Dimension or Table name, as a way to differentiate different hierarchies or columns with the same name in a data model. It’s possible to have two or more hierarchies with the same name. When the dimension name is used as a qualifier, the full hierarchy name is unique. Different Function types This function is like MDX hierarchy objects. Examples The following example is a data point expression, that is comprised of two coordinates from a model:</description>
    </item>
    <item>
      <title>Members and Elements</title>
      <link>/developer/reference/fx/syntax/elements/member/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/syntax/elements/member/index.html</guid>
      <description>Members and Elements Member or Element names and expressions are passed to functions in PQL to return a member identifier, a member function, or an expression that can be converted to a member in a data model.&#xA;Syntax &amp; Usage [dimension or table name].[hierarchy or column name].[member or element name] The member or element name, like the hierarchy and dimension name, should be enclosed in square brackets. The member or element name is used in Granular and Semantic Calculations. It’s possible to have two or more members with the same name. When the dimension and hierarchy names are used as qualifiers, the full member name is unique. Different Function types This function is like MDX member objects. Examples This example is a data point expression that is comprised of two coordinates from a model:</description>
    </item>
    <item>
      <title>Values and Measures</title>
      <link>/developer/reference/fx/syntax/elements/measure/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/syntax/elements/measure/index.html</guid>
      <description>Values and Measures Measure names and expressions are passed to functions in PQL to return measure members in a data model.&#xA;Syntax &amp; Usage [Measures].[measure name] The “measures” hierarchy name is fixed and should always precede the name of the measure which should be enclosed in square brackets. The dimension or table name is used in Semantic Calculations. Granular calculations do use “measures”. Instead they would address the table columns that are used to create measures. By definition every measures name is unique. Different Function types This function is like MDX measure objects. Examples This example is a data point expression that is comprised of two coordinates from a model:</description>
    </item>
    <item>
      <title>Data Points or Tuples</title>
      <link>/developer/reference/fx/syntax/elements/data-points/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/syntax/elements/data-points/index.html</guid>
      <description>Data Points or Tuples A data point or tuple represents a single item in a data model, defined by a specific selection from each and every hierarchy in that model. Therefore, a data point or tuple uniquely identifies a single cell within the data model.&#xA;Even though a data point or tuple is made up of one member from every dimension, it may only be described with a few specific members. In this scenario, the default members for each of the hierarchies not EXPLICITLY named in the data point expression are implicitly used in defining that data point.</description>
    </item>
    <item>
      <title>Lists and Sets</title>
      <link>/developer/reference/fx/syntax/elements/lists/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/syntax/elements/lists/index.html</guid>
      <description>Lists and Sets A list or set is a collection of data points or tuples.&#xA;Syntax &amp; Usage { (data point), (data point)..... } or&#xA;{ member, member ......} Lists or sets must generally be enclosed with curly brackets. If the list is generated from a functional method, the curly brackets are not required. The data points or members (which are just data points with a single member) should be supplied as a comma delimited list using the standard syntax for data points, or as a functional element that generates a list of data points or member names. A list of data points or members can have duplicate elements. If composite data points are provided (e.g. (member A, member B) ) from 2 different dimensions, each of the supplied data points in the set MUST follow the same data points structure, in the same naming order (e.g. (dimension A, dimension B) etc). Lists are used in Semantic Calculations. Different Function types This function is like the MDX set object. If the data point is described by a single member, the list can effectively be a list of hierarchical members. Examples This example is a list of countries: Australia, Canada and England. Since each is a single member data point, the names do NOT need to be enclosed in round brackets:</description>
    </item>
    <item>
      <title>SelfCalc</title>
      <link>/developer/reference/fx/syntax/elements/selfcalc/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/syntax/elements/selfcalc/index.html</guid>
      <description>SelfCalc The SelfCalc function is used to perform recursive calculations. Recursive calculations are used to perform a series of calculations in the query, based on a given current member.&#xA;Returned Output: Variant Version: 2020.15 Compatibility: SAP BW and Microsoft MDX Engines Syntax &amp; Usage .selfcalc In MDX, recursive calculations are constructed by adding the current calculation ID inside the actual calculation. In Pyramid, recursive calculations can be constructed by adding the ‘selfcalc’ function to the expression. Pyramid will convert the ‘selfcalc’ argument into MDX syntax by translating it into the current calculation ID, producing a recursive calculation. Example: If Statement In this example, an If statement is constructed. The calculation should return sales for the current member; if the item returned is not the current member, then it should return sales for the previous member:</description>
    </item>
  </channel>
</rss>