cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jasprice Frequent Visitor
Frequent Visitor

Running Count of Companies By Month

Hello,

 

I am trying to create a measure that will allow me to count the number of companies in my data set after the company has reached a specific stage.   The data is based on a process flow and stage 3 is the final stage.

 

Pseudo code for calc would be:

 

Running Count = Count the number of [Company Name] by Month[Stage Date] where Stage = 3

 

Table fields are:

 

Company Name

Stage

Stage Date

 

I have seen a number of examples of running sums based but I am new to DAX and need a bit of assistance.

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Running Count of Companies By Month

With Month on rows you can use the following code that will give you the count of companies in stage 3 during that month

Running Count=
CALCULATE( COUNTROWS( TABLE ), TABLE[STAGE] = 3 )
3 REPLIES 3
Super User
Super User

Re: Running Count of Companies By Month

With Month on rows you can use the following code that will give you the count of companies in stage 3 during that month

Running Count=
CALCULATE( COUNTROWS( TABLE ), TABLE[STAGE] = 3 )
Super User
Super User

Re: Running Count of Companies By Month

Hi,

 

Share some data and show the expected result.

jasprice Frequent Visitor
Frequent Visitor

Re: Running Count of Companies By Month

Thank you!

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.

Users Online
Currently online: 304 members 3,213 guests
Please welcome our newest community members: