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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
MDS20
Regular Visitor

Resource Allocation Model with Multiple Gates and Durations

Intent is to visualize, by month, the total percent allocated for each project lead across all their projects. I'm struggling with how to take the data available to me and make it usable with a stacked bar chart. I've considered slicing the data into a table for each "D phase" and then appending them but that seems cumbersome given the cabilities within PowerBi

 

I've made a simplified bar chart in Excel for reference of the base level I'd be looking to achieve with the given data. 

 

Sample data set below.

 

MDS20_0-1745268010486.png

 

 

project nameLeadlead % D0D0 StartD0 Endlead % D1D1 StartD1 Endlead % D2D2 StartD2 Endlead % D3D3 StartD3 Endlead % D4D4 StartD4 Endlead % D5D5 Start D5 End
ABCCarl2%1/5/20252/2/20255%2/2/20252/27/202510%2/27/20254/8/202510%4/8/20257/7/202525%7/7/202510/10/20252%10/10/202510/10/2026
EFGEmily1%1/6/20253/1/20257%3/1/20253/26/20258%3/26/20255/5/202510%5/5/20258/3/202520%8/3/202511/6/20255%11/6/202511/6/2026
HIJZach2%12/5/20242/1/20251%2/1/20252/26/202510%2/26/20254/7/20259%4/7/20257/6/202515%7/6/202510/9/20252%10/9/202510/9/2026
KLMCarl2%2/6/20252/25/20255%2/25/20253/22/20255%3/22/20255/1/20258%5/1/20257/30/202525%7/30/202511/2/20255%11/2/202511/2/2026
NOPZach3%1/6/20252/10/20252%2/10/20253/7/20257%3/7/20254/16/202510%4/16/20257/15/202530%7/15/202510/18/20255%10/18/202510/18/2026
QRSEmily3%2/16/20253/25/20251%3/25/20254/19/20256%4/19/20255/29/202510%5/29/20258/27/202540%8/27/202511/30/20255%11/30/202511/30/2026
TUVMegan5%11/5/20241/2/20252%1/2/20251/27/202515%1/27/20253/8/202525%3/8/20256/6/202530%6/6/20259/9/20255%9/9/20259/9/2026
1 ACCEPTED SOLUTION
v-pgoloju
Community Support
Community Support

Hi @MDS20,

 

We wanted to kindly check in to see if everything is working as expected after trying the suggested solution. If there’s anything else we can assist with, please don’t hesitate to ask.

If the issue is resolved, we’d appreciate it if you could mark the helpful reply as Accepted Solution  it helps others who might face a similar issue.

 

Warm regards,

Prasanna Kumar

View solution in original post

4 REPLIES 4
MDS20
Regular Visitor

@v-pgoloju , the solution works given the sample data provided, thanks! I have since had to pivot from the source data and structure so I've had to take a different approach.

v-pgoloju
Community Support
Community Support

Hi @MDS20,

 

We wanted to kindly check in to see if everything is working as expected after trying the suggested solution. If there’s anything else we can assist with, please don’t hesitate to ask.

If the issue is resolved, we’d appreciate it if you could mark the helpful reply as Accepted Solution  it helps others who might face a similar issue.

 

Warm regards,

Prasanna Kumar

v-pgoloju
Community Support
Community Support

Hi @MDS20,

 

Just following up to see if the solution provided was helpful in resolving your issue. Please feel free to let us know if you need any further assistance.

If the response addressed your query, kindly mark it as Accepted Solution and click Yes if you found it helpful — this will benefit others in the community as well.

 

Best regards,

Prasanna Kumar

v-pgoloju
Community Support
Community Support

Hi @MDS20,

 

Thanks for reaching out to the Microsoft Fabric Forum Community.

 

To create a stacked bar chart in Power BI showing each lead’s percent allocation per month, you’ll need to Transform data. Here's how you can approach it.

1. Unpivot D0 to D5 columns in Power Query, so each phase becomes a row instead of a set of columns. This makes the data easier to work with.

2. Since each phase has a start and end date, you’ll want to expand these rows to include each individual day the lead is working on the project.

3. Create a date/calendar table in your model with columns like Date, Month, and Year. You’ll need this to summarize data by month.

4. Make sure the daily allocation table is connected to the calendar table through the date column. You can also connect it to a Lead table if you want better filtering.

 

If this helped, please mark the response as the accepted solution and give it a thumbs-up so others can benefit too.

 

Best regards,
Prasanna Kumar

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.