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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Hansss
Frequent Visitor

Transform Start/End date to Stacked Area timeline?

Hi,
I have a number of projects with start date and end date stated.

I would like to visualize how many projects are active each month, in a stacked area chart or similar.
Any input on how I should go about this?

Thanks!

1 ACCEPTED SOLUTION

Hi @Hansss 

 

You can first add a Calendar (Date) table to the model, then create the following measure. 

Active Projects = 
CALCULATE (
    COUNT ( 'Table'[Project] ),
    'Table'[Start_Date] <= MIN ( 'Calendar'[Date] ),
    'Table'[Finish_date] >= MAX ( 'Calendar'[Date] )
)

Use Calendar's Month column on the X-axis of the stacked area chart. 

vjingzhang_0-1661222035892.png

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
Hansss
Frequent Visitor

I'll try to give some examples to better explain what I'm looking for.

 

Project 1

ProjectStart_DateFinish_dateStrategy
P12022-01-012022-09-01S1
P22022-02-012022-09-01S1
P32022-03-012022-10-01S2

 

With this information I want to create a graph over how many projects are active each month.

Hansss_0-1660913236312.png

Later on I want to divive them by Strategy and make a stacked area chart, but that's step 2 I guess..

Hi @Hansss 

 

You can first add a Calendar (Date) table to the model, then create the following measure. 

Active Projects = 
CALCULATE (
    COUNT ( 'Table'[Project] ),
    'Table'[Start_Date] <= MIN ( 'Calendar'[Date] ),
    'Table'[Finish_date] >= MAX ( 'Calendar'[Date] )
)

Use Calendar's Month column on the X-axis of the stacked area chart. 

vjingzhang_0-1661222035892.png

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors