Date and time functionsDate and time functions
Filter functionsFilter functions
Information functionsInformation functions
Logical functionsLogical functions
Mathematical and trigonometric functionsMathematical and trigonometric functions
Other functionsOther functions
Statistical functionsStatistical functions
Text functionsText functions
Time
-
intelligence functionsTime
-
intelligence functions
Table
-
valued functionsTable
-
valued functions
reporting client, but is used to provide input to other functions. For example, you can retrieve a table and
then count the distinct values in it, or calculate dynamic sums across filtered tables or columns.
DAX functions include a variety of time
-
intelligence functions. These functions let you define or select date
ranges, and perform dynamic calculations based on these dates or range. For example, you can compare
sums across parallel periods.
The date and time functions in DAX are similar to date and time functions in Microsoft Excel. However, DAX
functions are based on the datetime data types used by Microsoft SQL Server. For more information, see Date
and time functions.
The filter functions in DAX return specific data types, look up values in related tales, and filter by related values. The
lookup functions work by using tables and relationships, like a database. The filtering functions let you manipulate
data context to create dynamic calculations. For more information, see Filter functions.
An information function looks at the cell or row that is provided as an argument and tells you whether the value
matches the expected type. For example, the ISERROR function returns TRUE if the value that you reference
contains an error. For more information, see Information functions.
Logical functions act upon an expression to return information about the values in the expression. For example, the
TRUE function lets you know whether an expression that you are evaluating returns a TRUE value. For more
information, see Logical functions.
The mathematical functions in DAX are very similar to the Excel mathematical and trigonometric functions. Some
minor differences exist in the numeric data types used by DAX functions. For more information, see Math and trig
functions.
These functions perform unique actions that cannot be defined by any of the categories most other functions
belong to. For more information, see Other functions.
DAX provides statistical functions that perform aggregations. In addition to creating sums and averages, or finding
the minimum and maximum values, in DAX you can also filter a column before aggregating or create aggregations
based on related tables. For more information, see Statistical functions.
The text functions in DAX are very similar to their counterparts in Excel. You can return part of a string, search for
text within a string, or concatenate string values. DAX also provides functions for controlling the formats for dates,
times, and numbers. For more information, see Text functions.
The time
-
intelligence functions provided in DAX let you create calculations that use built
-
in knowledge about
calendars and dates. By using time and date ranges in combination with aggregations or calculations, you can build
meaningful comparisons across comparable time periods for sales, inventory, and so on. For more information, see
Time
-
intelligence functions
(
DAX
)
.
There are DAX functions that output tables, take tables as input, or do both. Because a table can have a single
column, table
-
valued functions also take single columns as inputs. Understanding how to use table
-
valued