Forum Discussion
ELW
Advocate II
4 years agoDAX Distinct dates, filtered before today
I have a table with dates in it. I want to create a new table from a unique list of dates, but have it filtered for dates before today. I am able to get the new table with = DISTINCT('Date'[Date]) ...
- 4 years ago
[Your Table] = var tooday = TODAY() return FILTER( DISTINCT( T[Date] ), T[Date] <= tooday )