02-11-2019 11:07 AM
I have column "Test" and column "Completed" and I want to add column "Test left".
Forumla for Test left: =COUNTIF($G$4:$G$11;">"&G4).
$G$4:$G$11 = Completed Column, G4 = first column under Completed
try this syntax
Column = VAR __CurrentDate = Table1[Completed] VAR __TableFiltered = FILTER(Table1, Table1[Completed]>__CurrentDate) RETURN COUNTROWS(__TableFiltered)
it returns null instead of 0 so you may want to add +0 at the end if that makes difference for you