cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
krimol91 New Member
New Member

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

 

 

 

1 REPLY 1
Highlighted
Stachu Super Contributor
Super Contributor

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

Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

Helpful resources

Announcements
Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 205 members 2,643 guests
Please welcome our newest community members: