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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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