0% found this document useful (0 votes)
44 views8 pages

Commonly Asked Dax Functions in Power Bi Interview

Uploaded by

Djdj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views8 pages

Commonly Asked Dax Functions in Power Bi Interview

Uploaded by

Djdj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

SOME

COMMONLY DAX
FUNCTIONS
ASKED IN POWER
BI INTERVIEW

Swipe
@PREMMANDAL
BUSINESS & DATA ANALYST
There are some commonly used DAX functions in
Power BI, asked in many interviews.

TIME INTELLIGENCE FUNCTIONS:

• PREVIOUSMONTH: Provides a table of dates for the preceding


month.
• DATESINPERIOD: Retrieves a range of dates for a specified time
frame.
• PARALLELPERIOD: Shifts dates backward or forward by a set
number of intervals.
• TOTALQTD: Computes the cumulative value for the quarter-to-
date.
• CLOSINGBALANCEMONTH: Determines the closing balance for a
designated month.
• DATESYTD: Calculates the year-to-date dates.
• SAMEPERIODLASTYEAR: Returns a table that contains a column
of dates shifted one year back in time.

PREM MANDAL
FILTER FUNCTIONS:

• FILTER: Produces a table representing a subset of another table


or expression.
• ALL: Clears all filters applied to a table or column.
• ALLSELECTED: Returns all the rows in a table or all the values in a
column ignoring any filters that might have been applied inside the
query.
• CALCULATE: Evaluates an expression in a modified filter context.
• REMOVEFILTERS: Clears filters from the specified columns or
tables.
• RELATED: Fetches a value from a related table connected to the
current one.
• RELATEDTABLE: Retrieves a table linked to the current table
through a relationship.

PREM MANDAL
TEXT FUNCTIONS:

• FIND: Locates the starting position of one text string within


another.
• SUBSTITUTE: Substitutes specified substrings within a text
string with other substrings.
• FORMAT: Formats a value according to a specified format.
• LEN: Calculates the number of characters in a text string.
• MID: Extracts a specified number of characters from a text
string starting from a defined position.
• CONCATENATEX: Concatenates the results of an expression
evaluated over a table.
• UPPER: Converts a text string to uppercase.
• LOWER: Converts a text string to lowercase.

PREM MANDAL
CONVERSION FUNCTIONS:

• DATEVALUE: Converts a text-based date into a date format.


• TIMEVALUE: Converts text-based time into a time format.
• VALUE: Transforms a text string representing a number into
a numerical value.
• NUMBERVALUE: Converts a text string that represents a
number into a number, using specified decimal and group
separators.

PREM MANDAL
RELATIONSHIP FUNCTIONS:

• USERELATIONSHIP: Specifies a relationship to be used in a


calculation.
• CROSSFILTER: Modifies how filters are applied across relationships
in calculations.
• RELATEDTABLE: Retrieves a table related to the current table
through a relationship.
• LOOKUPVALUE: Returns a single value from a related table.
• DISTINCTCOUNT: Returns the distinct count of values in a column

PREM MANDAL
DATA MODELING FUNCTIONS:

• DATATABLE: Creates an in-memory table from a list of column


definitions.
• ADDCOLUMNS: Adds calculated columns to a table.
• SUMMARIZE: Generates summary tables based on grouping
criteria.
• GENERATE: Returns a table with all possible combinations of two
tables.

PREM MANDAL
@PREMMANDAL
BUSINESS & DATA ANALYST

Was this helpful


WOULD YOU MIND SHOWING YOUR SUPPORT
BY GIVING IT A LIKE?

You might also like