Which DAX function counts the number of rows in a table?
-
A
COUNTA
-
B
COUNTBLANK
-
C
COUNTROWS
Correct answer
-
D
ROWCOUNT
Correct answer
C. COUNTROWS
13 views
Explanation
COUNTROWS(Orders) counts rows in the current filter context. It is often clearer than COUNT on a column, which skips blanks.
Reference
Asked in: Power BI Analyst Interviews, Data Analyst Tests
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ