Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
gabrieldiogenis
Regular Visitor

COUNTROWS over time Problem

Hi,

 

So basically I have two columns containing dates that sometimes repeat for each project. The first column is the end date of a project and the other one is the end date on the schedule.

 

 

Project - End Date - End Date on Schedule

1 - 15/03/2016 - 25/05/2017

2 - 02/07/2017 - 21/10/2017

3 - 06/05/2016 - 24/11/2016

 

I wanted to count how many projects have the end date smaller than the max date in the schedule but I need to do it cumulatively and in order of date so I can show it in the bar chart. I don't need a new column with the number of projects, I just need the bar chart. I don't know if I can use another and better formula than countrows, so please tell me if there is a better way to solve my problem.

 

For example:

End Date - Number of projects

15/03 - 11 diferents projects
16/03 - 3 projects + 11 from the day before
17/03 - 5 projects + 14 from the days before

 

 

1 REPLY 1
v-huizhn-msft
Employee
Employee

Hi @gabrieldiogenis,

>>I wanted to count how many projects have the end date smaller than the max date in the schedule but I need to do it cumulatively and in order of date so I can show it in the bar chart.

For each project, there are several schedule data, calculate the max date for each project? Or the max date is the max date of all projects schedual date? Could you please post more details?

For example, for 15/03, there are 11 diferents projects,how to calculate 11?

Best Regards,
Angelia

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.