DAX for Power BI Professionals From Basic Formulas to Complex Analytics Quiz 5 DAX for Power BI Professionals: From Basic Formulas to Complex Analytics Quiz 1 / 20 1) What is the main purpose of DAX in Power BI? To format reports To create visualizations To perform data analysis and calculations To import data 2 / 20 2) Which DAX function is used to create a table by summarizing data from another table? CALCULATETABLE() SUMMARIZE() GENERATE() TREATAS() 3 / 20 3) What is the primary difference between calculated columns and calculated measures? Calculated columns are stored in the data model, while calculated measures are calculated on-the-fly Calculated measures are stored in the data model, while calculated columns are calculated on-the-fly Calculated columns can be used in relationships, while calculated measures cannot Calculated measures can be used in relationships, while calculated columns cannot 4 / 20 4) Which function is used to count distinct values in a column? COUNT() COUNTA() DISTINCT() DISTINCTCOUNT() 5 / 20 5) What is the purpose of the CALCULATE() function in DAX? To modify the filter context To create a calculated column To format a report To import data 6 / 20 6) Which DAX function calculates the sum of an expression evaluated over a table? SUM() SUMX() CALCULATE() TOTALYTD() 7 / 20 7) What does the DAX function RELATED() do? Returns a related value from another table Filters the current context Creates a relationship between tables Joins two tables 8 / 20 8) Which DAX function would you use to create a running total? TOTALYTD() SUMX() DATESBETWEEN() SUMMARIZE() 9 / 20 9) Which function allows you to shift time periods forward or backward in DAX? DATEADD() DATESBETWEEN() DATEDIFF() TIMEVALUE() 10 / 20 10) What is the main use of variables in DAX? To store intermediate results To create calculated columns To format data To import data 11 / 20 11) Which DAX function returns the last non-blank value in a column? LAST() LASTNONBLANK() LASTVALUE() LASTNONNULL() 12 / 20 12) What is context transition in DAX? Changing the format of data Converting row context to filter context Importing data from another source Sorting data 13 / 20 13) Which function would you use to handle multiple conditions in DAX? IF() SWITCH() IFS() CASE() 14 / 20 14) Which DAX function is used to concatenate values with a delimiter? CONCATENATE() CONCAT() CONCATENATEX() TEXTJOIN() 15 / 20 15) What are the two types of evaluation contexts in DAX? Row context and column context Table context and matrix context Filter context and row context Data context and filter context 16 / 20 16) Which DAX function is used to calculate the year-to-date total? TOTALYTD() SUMYTD() YTD() CALCULATEYTD() 17 / 20 17) What is the purpose of the LOOKUPVALUE() function in DAX? To return the sum of a column To find a value in another table and return it To filter data based on a condition To join two tables 18 / 20 18) Which function is used to return a table with all the rows that meet a specified condition? FILTER() ALL() VALUES() SELECTEDVALUE() 19 / 20 19) Which DAX function is used to create virtual tables within measures or calculated columns? ADDCOLUMNS() SUMMARIZE() GENERATE() SELECTCOLUMNS() 20 / 20 20) What does the function SELECTEDVALUE() return in DAX? The first value in a column The selected value when only one value is selected, otherwise a blank or alternate result The maximum value in a column The total count of selected values Your score is The average score is 75% LinkedIn 0% Restart quiz Exit