[DAX] COUNTROWS

Vincent Tseng
May 19, 2021

--

COUNTROWS vs. Physical Table

Days In Month =
CALCULATE(
COUNTROWS(Dates),
ALL(Dates),
VALUES(Dates[Month&Year])
)

COUNTROWS vs. Virtual Table

Total Orders above 100 =
COUNTROWS(
FILTER(Sales, Sales[Revenue] > 100)
)

--

--

Vincent Tseng
Vincent Tseng

No responses yet