0% found this document useful (0 votes)
36 views7 pages

Top DAX Interview Questions

The document provides a list of 25 commonly asked interview questions about DAX (Data Analysis Expressions) used in Power BI, along with concise answers. It covers key concepts such as calculated columns, measures, filter context, and various DAX functions. Additionally, it includes contact information for coaching in computer science and data analytics.
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)
36 views7 pages

Top DAX Interview Questions

The document provides a list of 25 commonly asked interview questions about DAX (Data Analysis Expressions) used in Power BI, along with concise answers. It covers key concepts such as calculated columns, measures, filter context, and various DAX functions. Additionally, it includes contact information for coaching in computer science and data analytics.
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/ 7

Khurshid Md Anwar: 91-9143407019

25 commonly asked DAX


(Data Analysis Expressions)
Interview Questions

Power BI
With concise answers

Khurshid Md Anwar
Empowering Learners in Computer Science & Data Analytics

WhatsApp:91- 9143407019
Khurshid Md Anwar: 91-9143407019

1. What is DAX?
o DAX (Data Analysis Expressions) is a formula
language used in Power BI, Power Pivot, and
Analysis Services to create calculated columns,
measures, and custom tables.
2. What are the key data types supported in
DAX?
o Numeric, Boolean, Text, DateTime, and Blank.
3. What is the difference between a calculated
column and a measure?
o Calculated Column: Computed row-by-row and
stored in the data model.
o Measure: Computed at query time, optimized
for performance, and used in visualizations.
4. What is a measure in DAX?
o A dynamic calculation performed on
aggregations, defined using DAX.
5. For BCA & BTech (CS) Coaching [Semester wise]
6. Contact at KHURSHID MD ANWAR, WhatsApp-9143407019
Khurshid Md Anwar: 91-9143407019

7. What is the syntax of a DAX function?


o FunctionName(arguments) Example:
SUM(Sales[Amount])
8. What is the difference between SUM and
SUMX?
o SUM: Aggregates a column.
o SUMX: Iterates row by row over a table and
evaluates an expression.
9. What is a row context in DAX?
o A row-by-row evaluation used for calculated
columns and iterators like SUMX.
10. What is a filter context in DAX?
o Filters applied to data before performing
calculations in measures or visualizations.
11. Explain the difference between ALL and
ALLEXCEPT.
o ALL: Removes all filters on a table or column.
o ALLEXCEPT: Removes all filters except the
specified columns.
Khurshid Md Anwar: 91-9143407019

12. What is the purpose of the RELATED function?


o Fetches a value from a related table using an
established relationship.
• Want Learn MS-Excel, Power BI, SQL, Python
• Contact at WhatsApp-9143407019

11. What is the difference between CALCULATE


and CALCULATETABLE?
o CALCULATE: Modifies filter context for an
expression.
o CALCULATETABLE: Returns a filtered table
based on an expression.
12. What is the purpose of the FILTER function?
o Returns a table that meets the specified
condition(s).
13. How does the EARLIER function work?
o Refers to the previous row context in nested
row-based operations.
Khurshid Md Anwar: 91-9143407019

14. What is the use of the DISTINCT function?


o Returns a unique list of values from a column or
table.
15. How do you calculate a running total in DAX?
o Using CALCULATE and FILTER:
RunningTotal = CALCULATE(SUM(Sales[Amount]),
FILTER(ALL(Sales), Sales[Date] <= MAX(Sales[Date])))
16. What is the use of the DIVIDE function?
o Safely performs division and handles division by
zero.
17. What is the difference between VALUES and
DISTINCT?
o VALUES: Returns a one-column table with
unique values, respects filters.
o DISTINCT: Ignores filters and returns unique
values.
18. How does the RANKX function work?
o Ranks values in a column or table based on an
expression and order.
Khurshid Md Anwar: 91-9143407019

19. What is the purpose of the USERELATIONSHIP


function?
o Activates an inactive relationship in a
calculation.
20. How do you handle many-to-many
relationships in DAX?
o Using a bridge table and functions like
CROSSFILTER or relationship configuration.

21. What is the difference between


NATURALINNERJOIN and
NATURALLEFTOUTERJOIN?
o NATURALINNERJOIN: Returns the intersection
of two tables.
o NATURALLEFTOUTERJOIN: Returns all rows
from the left table and matching rows from the
right.
Want Learn MS-Excel, Power BI, SQL, Python
Contact at WhatsApp-9143407019
Khurshid Md Anwar: 91-9143407019

22. How does the SAMEPERIODLASTYEAR function


work?
o Returns a table of the same period (e.g., day,
month) from the previous year.
23. What is the use of TREATAS in DAX?
o Forces a table to behave like a column in a
relationship.
24. What is the function of GENERATE in DAX?
o Combines two tables using a Cartesian product
and applies transformations.
25. How can you optimize DAX calculations for
performance?
o Tips:
▪ Use measures over calculated columns.

▪ Reduce the use of FILTER and EARLIER.

▪ Avoid complex nested iterators.

▪ Leverage relationships and efficient filtering

with ALLEXCEPT.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy