Forum Discussion
Anonymous
9 years agoNot applicable
DAX SQL window function equivalent
Hello, I would like to create a calculated column that returns a total row count per customer, as below. http://imgur.com/WJ2MzJS To do this with SQL, one approach would be to use a windo...
- 9 years ago
Anonymous
Check
Column = COUNTAX ( FILTER ( 'Table', EARLIER ( 'Table'[Customer No.] ) = 'Table'[Customer No.] ), 'Table'[Product Purchased] )A good site for your reference.
Eric_Zhang
9 years agoMicrosoft Employee
Anonymous
Check
Column =
COUNTAX (
FILTER ( 'Table', EARLIER ( 'Table'[Customer No.] ) = 'Table'[Customer No.] ),
'Table'[Product Purchased]
)
A good site for your reference.
- Shmidtk8 years agoNew Member
What if we have unsorted list of Customer No.? They this formula shouldn't work, yes?
- Anonymous9 years agoNot applicable
Lovely, thanks very much.