cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AugustoGMAraujo Frequent Visitor
Frequent Visitor

Power query create columns base on date range

Hi dear comuunity.

 

I have a situation to solve but I could not find  a solution after many attempts .

 

I need to create one column for each month based on the date range. For example: I have one row with a start date on 15/jan/2019 and end date as 28/dec/2019 that has 120 man days as value. The top row would be the largest date interval.

My desired out put would be 12 columns with the first month day as header and 120 divided by number of months in the date range.

For the others row I need the same calculation considering the correct column position depending on the specific month.

 

 

HelpPlease.png

Thanks a lot.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 53 members 1,164 guests
Please welcome our newest community members: