Reply
Highlighted
New Member
Posts: 1
Registered: ‎02-11-2019

Countrows - earlier date

Hi,

 

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

 

 

Capture.PNG

 

 

 

 

 

Thanks

 

 

 

Super User
Posts: 866
Registered: ‎06-23-2016

Re: Countrows - earlier date

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