Forum Discussion
daxnoob
3 years agoFrequent Visitor
Include the min Date in Summarize
Hi, Is it possible to include the distinct min date value in a summarize measure? Here is my code: Countx( Summarize( 'Table', 'Table'[Name], ...
- 3 years ago
Is this what you are looking for?
Countx( FILTER( Summarize( 'Table', 'Table'[Name], 'Table'[Date]) 'Table'[Age]),'Table'[Date]=min('Table'[Date])), [Measure] ) ---------- or Countx( FILTER( Summarize( 'Table', 'Table'[Name], 'Table'[Date]) 'Table'[Age]),'Table'[Date]=STARTOFMONTH('Table'[Date],0)), [Measure] )
Ahmedx
Super User
3 years agoIs this what you are looking for?
Countx( FILTER(
Summarize(
'Table',
'Table'[Name],
'Table'[Date])
'Table'[Age]),'Table'[Date]=min('Table'[Date])),
[Measure]
)
----------
or
Countx( FILTER(
Summarize(
'Table',
'Table'[Name],
'Table'[Date])
'Table'[Age]),'Table'[Date]=STARTOFMONTH('Table'[Date],0)),
[Measure]
)