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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
je__
Frequent Visitor

Want to see a one line chart for two different hour distribution columns

Hi,

 

Currntly I am working on making monthly hour distribution for a project. The project has many items and each item has different budget hours and start/end date. 

Project numberCategoryBudget hourProject startProject end
A12345A1193/1/20241/1/2026
A12345B2956/1/20241/1/2026
A12345C2002/1/20255/1/2026

 

As I want to make different hour distribution by periods, I added middle period by using start/end date.

 

Middle = If(Proejct[Category]="A",EDATE(Project[Project start],4),If(Proejct[Category]="B",EDATE(Project[Project start],3),IF(Proejct[Category]="C",EDATE(Project[Project start],6)))

 

Project numberCategoryBudget hourProject startMiddleProject end
A12345A1193/1/20247/1/20241/1/2026
A12345B2956/1/20249/1/20241/1/2026
A12345C2002/1/20258/1/20255/1/2026

 

Based on the above table, I want to distribuet budget hours.

1) From Project start to Middle, I want to distribute certain % of budget hours. In case of "A",  30% of budget distribution for those period. For "B", 40% of budget and 20% of budget in case of "C"

2) From Middle to Project end, I wast to distribute the remaining budget hours. 

3) Finally I want to see all budget distribution in one graph.

 

As I have much longer list, I would like to know how I could make query or new column.

 

Your support would be really appreciated!

 

1 ACCEPTED SOLUTION

Your calendar table needs to be contiguous. But you also need to indicate business days unless you want to distribute the hours across all days.

 

It may make sense to split your periods

From

lbendlin_0-1711380281538.png

to 

lbendlin_1-1711380414660.png

 

 

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

sounds good.  Please provide sample data that fully covers your issue - including the weighting.
Please show the expected outcome based on the sample data you provided.  How would your graph look like?

je__
Frequent Visitor

Dear Ibendlin,

 

Thank you for the message.

 

I attached one PBI for your reference. When you see the graph in the attachement, it is something that I would like to see but it is not perfect. For Y-asix, I also want to add 'Budget/Middle to End' so that it shows overall distribution by month and different budget hours. 

 

I would appreciate if you let let me know.

 

Thank you so much!

 

je___0-1711329987972.png

 

Your calendar table needs to be contiguous. But you also need to indicate business days unless you want to distribute the hours across all days.

 

It may make sense to split your periods

From

lbendlin_0-1711380281538.png

to 

lbendlin_1-1711380414660.png

 

 

je__
Frequent Visitor

Hi,

 

It works now! Thank you for your great idea!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.