Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
2 views

DAX Functions List

The document lists various functions used in data aggregation, logical operations, filtering, date and time manipulation, and text processing. Each function includes its category, description, syntax, and an example. Functions such as SUM, AVERAGE, IF, and CONCATENATE are highlighted for their specific use cases in data analysis.

Uploaded by

Utkarsh Mahajan
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

DAX Functions List

The document lists various functions used in data aggregation, logical operations, filtering, date and time manipulation, and text processing. Each function includes its category, description, syntax, and an example. Functions such as SUM, AVERAGE, IF, and CONCATENATE are highlighted for their specific use cases in data analysis.

Uploaded by

Utkarsh Mahajan
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Function Name

Category Description Syntax Example


SUM AggregatioReturns th SUM(columSUM(Sales[Amount])
AVERAGE AggregatioReturns th AVERAGE(cAVERAGE(Sales[Amount])
MAX AggregatioReturns th MAX(columMAX(Sales[Amount])
MIN AggregatioReturns th MIN(columMIN(Sales[Amount])
COUNT AggregatioCounts theCOUNT(colCOUNT(Sales[Amount])
IF Logical Returns a vIF(conditioIF(Sales[Amount] > 5000, "High", "Low")
SWITCH Logical Returns oneSWITCH(exprSWITCH(TRUE(), Sales[Amount]>10000, "Excellent", Sales[Amount]>5000, "Good",
AND Logical Returns TRUAND(conditAND(Sales[Amount]>5000, Sales[Profit]>1000)
OR Logical Returns TRUOR(conditiOR(Sales[Region]="North", Sales[Region]="South")
NOT Logical Returns theNOT(conditNOT(Sales[Discount]>0.1)
CALCULATEFilter Evaluates aCALCULATE(ex
CALCULATE(SUM(Sales[Amount]), Sales[Category]="Electronics")
FILTER Filter Returns a tFILTER(tablFILTER(Sales, Sales[Amount]>5000)
ALL Filter Removes filALL(columnALL(Sales[Category])
ALLEXCEPTFilter Removes allALLEXCEPT(ALLEXCEPT(Sales, Sales[Region])
REMOVEFILFilter Removes filREMOVEFILREMOVEFILTERS(Sales[Category])
TODAY Date & TimReturns theTODAY() TODAY()
NOW Date & TimReturns theNOW() NOW()
DATE Date & TimReturns a sDATE(year,DATE(2024, 03, 22)
YEAR Date & TimReturns theYEAR(date)YEAR(Sales[OrderDate])
MONTH Date & TimReturns th MONTH(dat MONTH(Sales[OrderDate])
CONCATENText Joins two oCONCATENAT CONCATENATE(Sales[FirstName], Sales[LastName])
LEFT Text Returns theLEFT(text, LEFT(Sales[ProductName], 5)
RIGHT Text Returns theRIGHT(textRIGHT(Sales[ProductName], 4)
MID Text Returns a sMID(text, MID(Sales[ProductName], 3, 6)
LEN Text Returns theLEN(text) LEN(Sales[ProductName])
Sales[Amount]>5000, "Good", "Poor")

Electronics")

You might also like