Open In App

Power BI- Functions

DAX is a very powerful feature provided with Power BI from Microsoft. DAX stands for Data Analysis Expressions. As we can understand from the name DAX consists of the functions and expressions that are used to manipulate the data or the reports. These expressions help to perform analysis of the data and also do various types of calculations on the data. DAX makes use of various mathematical expressions such as functions, expressions, constants, and mathematical operators to give a feature-rich library to do simple to complex calculations.

Features of DAX

Some features of DAX are as follows:



Writing a DAX formula

A DAX formula can be written using the following syntax:

A = B(C[D])EF



Let us understand the syntax of DAX:

For example:

GrossRevenue = SUM(Sales(Revenue))*100000

This formula calculates the gross revenue by adding up the values in the revenue column of the Sales table and then multiplying the result by 100000.

DAX Functions

DAX has various types of inbuilt functions. Let us look at some of them.

Date and Time Functions 

These functions are used to perform operations on the date and time. Some of these are:

Information Functions

These functions return important information about the value supplied to them. Some of them are:

Logical Functions

Logical functions are used to return information about the values in an expression.

Mathematical and Trigonometric Functions:

These functions are used to perform mathematical and trigonometric operations on the expression or value. All the trigonometric functions accept the value in radians. Some of these are:

Statistical Functions

These functions are used to perform statistical analysis on the data supplied. Some of these are:

Text Functions

These functions are used to perform operations on the text and strings. Some of these are:

Table Manipulation Functions

These functions are used to perform manipulation on the tables such as filter, joins outer joins, etc. Some of these are:

Article Tags :