Kyvos MDX Functions Guide
This documentation is for Kyvos 2026.6.x. To view documentation for other Kyvos versions, click here. |
|---|
MDX (Multidimensional Expressions) is the query language used to retrieve data from multidimensional data sources in Kyvos. It enables analysts, developers, and BI professionals to construct sophisticated analytical queries against semantic models — returning data across multiple dimensions simultaneously and expressing complex business calculations inline.
What MDX Enables in Kyvos
Calculated Measures: Define new numeric measures on the fly (e.g., Profit Margin, Growth %) without modifying the underlying semantic model
Calculated Members: Define new dimension members for analytical groupings (e.g., "Top Tier Customers", "YoY Comparison")
Named Sets: Define reusable, named collections of members for repeated use across queries
Time Intelligence: Year-to-date, quarter-to-date, period-over-period comparisons using built-in temporal functions
Ranking and Filtering: Identify top/bottom performers, apply conditional filtering, rank across dimensions
Cross-Dimensional Analysis: Combine members from multiple dimensions in a single result set
Kyvos MDX Support Summary
Category | Count | Key Functions |
Set Functions | 40 | TopCount, Filter, Order, Crossjoin, Descendants, Union |
Scalar Functions | 29 | SUM, AVG, MIN, MAX, COUNT, Rank, Format, CASE |
Member Functions | 21 | CurrentMember, ParallelPeriod, Ancestor, FirstChild, Lag |
Logical Functions | 8 | IIF, IS, ISEMPTY, AND, OR, NOT, IsAncestor |
PeriodToDate Functions | 4 | YTD, MTD, QTD, WTD |
Date Functions | 3 | DateAdd, DateDiff, CDate |
Numeric Functions | 3 | ORDINAL, Int, Exp |
MDX Statements | 3 | CREATE SESSION MEMBER, SET, STATIC SET |
Essbase Functions | 8 | Generation, ClosingPeriod, LastPeriods, VisualTotals |
Kyvos Custom | 2 | Identify_Member, BITSETINTERSECTION |
Read more:
- Adventure Works Semantic Model Reference
- MDX Query Fundamentals
- Calculated Members and Measures
- Named Sets
- MDX Operators
- Set Functions
- Scalar Functions
- Member Functions
- Logical Functions
- Level-Based PeriodToDate Functions
- Date Functions
- Numeric Functions
- String Functions
- Additional MDX Statements
- Essbase MDX Functions
- Kyvos Custom Functions
- Extended Function Reference
- Complex Business Scenarios
- Performance Optimization Patterns
- Function Quick Reference Index