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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Microsoft Employee
Microsoft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors