Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I need assistance in displaying the number of in-process projects per month. Currently, I have 330 projects in process as of February 2025. I want to create a line chart that shows the number of in-process projects I had each month. For example, I had 356 projects as of November 2024 from the time the projects were created, 350 projects as of December 2024 where I had 10 projects completed and 4 projects newly created i.e. 356-10+4 = 350, and 338 projects as of January 2025. Please suggest a measure to share the line graph as I want to show the number of projects that were "in process" each month.
Thanks in advance.
Solved! Go to Solution.
Hi @chitti5 ,
According to your statement, I update the table and I think it should look like as below.
I suggest you to create a Calendar table to help calculation.
Calendar = ADDCOLUMNS(CALENDARAUTO(),"Year",YEAR([Date]),"Month",FORMAT([Date],"MMM"),"MonthSort",MONTH([Date]))
Measure:
Count Project in Process =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Project Name] ),
FILTER (
'Table',
'Table'[Project Created date] <= MAX ( 'Calendar'[Date] )
&& OR (
'Table'[Project Completed date] > MAX ( 'Calendar'[Date] ),
'Table'[Project Completed date] = BLANK ()
)
)
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@chitti5 you still didn't answer why Jan 2024 (project 11) is not getting included? Am I missing something?
11 | Monday, January 15, 2024 |
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@chitti5 also earlier you mentioned that completed projected should be included in-process in the completed month. check your previous posts.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@chitti5 row 11 - there is one in Jan 2024 as well.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k Apologies for the confusion, This is totally my mistake. That is January 2025 for Row 11. Also, I mentioned the count of completed projects should be subtracted from that month ( For example, one project started in September 2024 and was completed on February 1, 2025. This project should be shown as "in process" for the months of September, October, November, December 2024, and January 2025, but it should not be counted as in process for February 2025 as it got completed. - This is what I mentioned) Sorry for the confusion and thank you so much for trying to help me out.
Can you please share the correct measure by the above statement and below mentioned possible answers.
The ideal result should be:
Sep - 1
Oct - 7
Nov - 11
Dec - (11 from nov, +5 newly created Dec, - 2 projects completed in dec) = 14
Jan'25 - (14 from dec, +1 newly created in Jan, -3 projects completed in Jan) = 12
Hi @chitti5 ,
According to your statement, I update the table and I think it should look like as below.
I suggest you to create a Calendar table to help calculation.
Calendar = ADDCOLUMNS(CALENDARAUTO(),"Year",YEAR([Date]),"Month",FORMAT([Date],"MMM"),"MonthSort",MONTH([Date]))
Measure:
Count Project in Process =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Project Name] ),
FILTER (
'Table',
'Table'[Project Created date] <= MAX ( 'Calendar'[Date] )
&& OR (
'Table'[Project Completed date] > MAX ( 'Calendar'[Date] ),
'Table'[Project Completed date] = BLANK ()
)
)
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@chitti5 hello see attached, I assume this is what you are looking for. Tweak the solution as you see fit.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @parry2k Based on the report you provided, it appears that there is one project counted for each month from January 2024 to August 2024, even though my data starts from September 2024. Ideally, there should be only one project listed for September 2024, but I see two projects instead.
The ideal result should be:
Sep - 1
Oct - 7
Nov - 11
Dec - (11 from nov, +5 newly created Dec, - 2 projects completed in dec) = 14
Jan'25 - (14 from dec, +1 newly created in Jan, -3 projects completed in Jan) = 12
Please verify the data and suggest me the correct measure to apply for my data as I have more than 250 projects in my company.
Hi @rohit1991 . Thank you for responding. I tried those steps. But it didn't work out.
I need help visualizing project progress over time in Power BI. I have a table that includes 18 projects, each with Project Created dates and Project Completed dates. For example, one project started in September 2024 and was completed on February 1, 2025. This project should be shown as "in process" for the months of September, October, November, December 2024, and January 2025, but it should not be counted as in process for February 2025 as it got completed.
I want to create a measure or calculated column that shows the total count of "in process" projects for each month . This will be displayed in a line chart, with calendar months on the X-axis and the count of "in process" projects on the Y-axis.
Could you please provide a reference Power BI file that demonstrates how to achieve this using my data?
Thank you!
Project Name | Project Created date | Project Completed date |
1 | Monday, September 16, 2024 | Saturday, February 1, 2025 |
2 | Sunday, December 1, 2024 | |
4 | Wednesday, November 20, 2024 | |
5 | Saturday, October 12, 2024 | Friday, January 31, 2025 |
6 | Tuesday, October 15, 2024 | Monday, February 3, 2025 |
7 | Friday, December 20, 2024 | |
8 | Friday, December 20, 2024 | |
9 | Friday, December 20, 2024 | Wednesday, January 15, 2025 |
10 | Friday, December 20, 2024 | |
11 | Monday, January 15, 2024 | |
12 | Friday, November 15, 2024 | |
13 | Friday, November 15, 2024 | |
14 | Tuesday, October 15, 2024 | Sunday, December 15, 2024 |
15 | Tuesday, October 15, 2024 | Friday, January 31, 2025 |
16 | Tuesday, October 15, 2024 | |
17 | Tuesday, October 1, 2024 | Tuesday, December 17, 2024 |
18 | Saturday, November 2, 2024 |
Hi @chitti5 ,
To track the number of in-process projects per month, you need a measure that:
InProcessProjects =
VAR SelectedMonth = MAX('Calendar'[Date])
VAR CreatedProjects =
CALCULATE(
COUNTROWS('Projects'),
'Projects'[CreatedDate] <= SelectedMonth
)
VAR CompletedProjects =
CALCULATE(
COUNTROWS('Projects'),
'Projects'[CompletedDate] <= SelectedMonth
)
RETURN
CreatedProjects - CompletedProjects
This will dynamically show active in-process projects per month based on project creation and completion.
"The goal is to turn data into information, and information into insight." – Carly Fiorina
Need Power BI help? Connect on LinkedIn.
@chitti5 can you share the share of raw data to provide a solution?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @parry2k Thank you for responding. Here is the raw data you've asked for. Please share the solution.
I need help visualizing project progress over time in Power BI. I have a table that includes 18 projects, each with Project Created dates and Project Completed dates. For example, one project started in September 2024 and was completed on February 1, 2025. This project should be shown as "in process" for the months of September, October, November, December 2024, and January 2025, but it should not be counted as in process for February 2025 as it got completed.
I want to create a measure or calculated column that shows the total count of "in process" projects for each month . This will be displayed in a line chart, with calendar months on the X-axis and the count of "in process" projects on the Y-axis.
Could you please provide a reference Power BI file that demonstrates how to achieve this using my data?
Thank you!
Project Name | Project Created date | Project Completed date |
1 | Monday, September 16, 2024 | Saturday, February 1, 2025 |
2 | Sunday, December 1, 2024 | |
4 | Wednesday, November 20, 2024 | |
5 | Saturday, October 12, 2024 | Friday, January 31, 2025 |
6 | Tuesday, October 15, 2024 | Monday, February 3, 2025 |
7 | Friday, December 20, 2024 | |
8 | Friday, December 20, 2024 | |
9 | Friday, December 20, 2024 | Wednesday, January 15, 2025 |
10 | Friday, December 20, 2024 | |
11 | Monday, January 15, 2024 | |
12 | Friday, November 15, 2024 | |
13 | Friday, November 15, 2024 | |
14 | Tuesday, October 15, 2024 | Sunday, December 15, 2024 |
15 | Tuesday, October 15, 2024 | Friday, January 31, 2025 |
16 | Tuesday, October 15, 2024 | |
17 | Tuesday, October 1, 2024 | Tuesday, December 17, 2024 |
18 | Saturday, November 2, 2024 |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
62 | |
59 | |
56 |