Dax Function: Statistical Functions

Category: Statistical functions

Statistical functions in Power BI are used to perform statistical calculations on datasets, including measures of central tendency, dispersion, ranking, and counting. These functions help users analyze and summarize data effectively within Power BI reports and dashboards.

Purpose

The primary purpose of statistical functions is to enable data professionals to derive meaningful insights from datasets. These functions can compute averages, medians, percentiles, ranks, standard deviations, and more. Statistical functions are essential for identifying patterns, trends, and distributions in data.

FunctionDescription
BETA.DISTCalculates the beta distribution.
BETA.INVComputes the inverse of the beta cumulative probability density function (BETA.DIST).
CHISQ.DISTProduces the chi-squared distribution.
CHISQ.DIST.RTCalculates the right-tailed probability of the chi-squared distribution.
CHISQ.INVFinds the inverse of the left-tailed probability for the chi-squared distribution.
CHISQ.INV.RTFinds the inverse of the right-tailed probability for the chi-squared distribution.
COMBINDetermines the number of combinations for a specified set of items.
COMBINAComputes the number of combinations (with repetitions) for a given number of items.
CONFIDENCE.NORMCalculates the confidence interval range for a normal distribution.
CONFIDENCE.TProvides the confidence interval for a population mean using the Student’s t-distribution.
EXPON.DISTComputes the exponential distribution.
GEOMEANCalculates the geometric mean of values in a column.
GEOMEANXReturns the geometric mean of an expression evaluated for each row in a table.
LINESTUses the Least Squares method to determine the best-fit straight line for given data points.
LINESTXDetermines the best-fit straight line using Least Squares for data derived from row-based expressions.
MEDIANComputes the median value in a column.
MEDIANXEvaluates the median value of an expression for each row in a table.
NORM.DISTReturns the normal distribution based on a given mean and standard deviation.
NORM.INVComputes the inverse of the normal cumulative distribution for a specified mean and standard deviation.
NORM.S.DISTProvides the standard normal distribution with a mean of zero and a standard deviation of one.
NORM.S.INVCalculates the inverse of the standard normal cumulative distribution.
PERCENTILE.EXCReturns the k-th percentile of a range of values, with k being in the range (0,1) exclusive.
PERCENTILE.INCProduces the k-th percentile of values in a range, where k is in the range [0,1], inclusive.
PERCENTILEX.EXCEvaluates the k-th percentile for an expression for each row in a table, with k in (0,1).
PERCENTILEX.INCEvaluates the k-th percentile for an expression for each row in a table, where k is within [0,1].
PERMUTCalculates the number of permutations of objects that can be selected from a given set.
POISSON.DISTComputes the Poisson distribution.
RANK.EQReturns the rank of a value in a list of numbers.
RANKXComputes the rank of a value for each row in a table based on an expression.
SAMPLEExtracts a sample of N rows from the specified table.
SAMPLECARTESIANPOINTSBYCOVERExtracts sample Cartesian points from the specified table based on cover criteria.
STDEV.PDetermines the standard deviation of an entire population.
STDEV.SCalculates the standard deviation for a sample.
STDEVX.PReturns the standard deviation for the entire population from evaluated expressions.
STDEVX.SComputes the standard deviation of a sample population from evaluated expressions.
T.DISTProduces the Student’s left-tailed t-distribution.
T.DIST.2TCalculates the two-tailed Student’s t-distribution.
T.DIST.RTReturns the right-tailed Student’s t-distribution.
T.INVDetermines the left-tailed inverse of the Student’s t-distribution.
T.INV.2TFinds the two-tailed inverse of the Student’s t-distribution.
VAR.PComputes the variance for an entire population.
VAR.SReturns the variance for a sample population.
VARX.PCalculates the variance for the entire population based on evaluated expressions.
VARX.SDetermines the variance of a sample population based on evaluated expressions.

Maximize the potential of Power BI and enhance your data insights with our expert consulting services. Whether you’re looking for assistance with advanced DAX functions, help designing interactive dashboards, or support in optimizing your data models for better performance, our skilled Power BI consultants are ready to provide tailored solutions for your business. Visit our Power BI consultancy page to learn more about how we can empower your organization to make more informed, data-driven decisions.

1. What are statistical functions in Power BI?

Statistical functions in Power BI perform calculations like averages, medians, ranks, and standard deviations to summarize and analyze datasets.

2. Can I use statistical functions in calculated columns?

Yes, many statistical functions can be used in calculated columns, measures, and calculated tables.

3. How is the MEDIAN function different from AVERAGE?

The MEDIAN function returns the middle value in a dataset, while AVERAGE computes the arithmetic mean of all values.

4. Are statistical functions performance-intensive in large datasets?

Statistical functions can impact performance in large datasets, especially if used extensively in measures or visuals. Optimize your DAX queries to improve performance.

5. Where can I find more examples of statistical functions in Power BI?

Refer to the official Power BI documentation for detailed examples and explanations.