Forum Discussion
ClemFandango
Advocate II
3 years agoHow to count distinct rows in DAX custom column?
Hellloooo I have the following DAX formula that counts the number of rows based where the date ‘MMYYDD’ (in my calendar table) falls between the min and max dates (table1). Count = COUNTROWS ( ...
- 3 years ago
VAR __tab = filter(SUMMARIZE('Table1',[column1],...), ...)
RETURN
countrows(__tab)
think that this virtual table is like a pivot so you get 1 line by accnum
marcl1
Helper II
3 years agoHi,
you can create a VAR virtual table with the function summarize
then you make the countrows on this virtual table...