Forum Discussion
Matt22365
6 years agoResolver III
calculate Date filter
Hi,
I hope someone can help
I am using a measure to filter data in a table by a date column, however the filter is not working
I want to count the amount of rows in a table where one column is "criteria 1" and another date colum is "this year". The formula accurately seperates "criteria 1" but does not filter by year
Count No Opened = CALCULATE(COUNTROWS('DataBase'),'DataBase'[Criteria]="Criteria 1",Year('DataBase'[Date Opened]=YEAR(TODAY())))
Can someone help me correct the 2nd filter section of the formula please?
Thanks
Matt