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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
SilvioPerchia
Regular Visitor

Efficient way to create time series

Dear Team,

 

I am working on a visual to understand resources utilization over time. I have replicated a simple scenario where I have projects data with start and end date and some metrics I want to aggregate based on the time range.

This is my starting data:

 

SilvioPerchia_0-1663880326211.png

 

I could not find a visual that would do it automatically, so I ended up doign the following:

 

1. create new table with list of dates

SilvioPerchia_1-1663880429955.png

 

2. cross join the two tables and add custom columns that calculate resource usage if project was active on that date

SilvioPerchia_2-1663880567528.png

 

3. plot with a simple line chart

SilvioPerchia_3-1663880609319.png

 

I am wondering is this the expected way to go about it or is there some smarter/faster way to do it. Thank you for any advice on this.

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
SilvioPerchia
Regular Visitor

Thank you very much, your approach definitely feels cleaner

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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