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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
crawmike81
Frequent Visitor

Sum By Week only have Start and End Date

Hi, 

 

I am trying to create a chart that will show totals by week but I only have start and end dates for each proposal. 

 

Below is my small sample of data. The start and finish come from proposal table and headcount and subunit come from proposal log detail table. They are linked by proposal id. I need to a chart that will sum the total headcounts by weekending. Below is example from excel. I know how to do it in exel using sumifs and creating but I cannot figure out how to do in powerbi. 

 

Manpower Chart.JPG

 
 

 

ProposalID  Start             Finish         Headcount  SubUnit ID

P20-06818/4/20208/4/20201103
P20-06818/4/20208/4/20201104
P20-06818/4/20208/4/20201133
P20-06528/17/20209/14/20201101
P20-06528/17/20209/14/20201102
P20-06528/17/20209/14/20201133
P20-06728/21/202011/20/20201133
P20-06728/21/202011/20/20202106
P20-06728/21/202011/20/2020

36

103
P20-06578/24/202010/5/20201101
P20-06578/24/202010/5/20201109
P20-06578/24/202010/5/20201112
P20-06578/24/202010/5/20201130
P20-06578/24/202010/5/20201131
P20-06578/24/202010/5/20201133
P20-06578/24/202010/5/20202102
P20-07518/31/20209/14/20201101
P20-07528/31/20209/14/20201101
P20-07518/31/20209/14/20201112
P20-07528/31/20209/14/20201112
P20-07518/31/20209/14/20201133
P20-07528/31/20209/14/20201133
P20-07518/31/20209/14/20202102
P20-07528/31/20209/14/20202102
P20-07318/31/20209/28/20201101
P20-07318/31/20209/28/20201112
P20-07318/31/20209/28/20201133
P20-07318/31/20209/28/20202102

 

Thanks, 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @crawmike81,

It seems like a common analyst requirement between multiple date ranges, maybe you can take a look at the following link to create a expand bridge table then your records can be aggregated based on relationship:

Spread revenue across period based on start and end date, slice and dase this using different dates 

In addition, you can take a look at the below blog 'start date', 'end date' part to know more methods to handle this requirement.

Before You Post, Read This - trying to know how many of something you have on all of the dates betwe... 

Regards,

Xiaxoin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @crawmike81,

It seems like a common analyst requirement between multiple date ranges, maybe you can take a look at the following link to create a expand bridge table then your records can be aggregated based on relationship:

Spread revenue across period based on start and end date, slice and dase this using different dates 

In addition, you can take a look at the below blog 'start date', 'end date' part to know more methods to handle this requirement.

Before You Post, Read This - trying to know how many of something you have on all of the dates betwe... 

Regards,

Xiaxoin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.