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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Allocation of Cost by percentages and time intelligence with DAX

Hi All,

Is there a DAX formula that enables one to allocate different percentages of total cost to individual month. For example the rules are the project duration have to be divided into two. Cost allocated to the final month of each phase have to be 20% of that phase and the rest of the 80% allocated equally across the remaining months for that particular phase. The objective is to be able to determine cost per month for different projects 

Project No 

Start Date 

End Date 

Total Cost 

Project Duration 

Mid Point Date 

Cost Allocated/Phase 

001

01/01/2020

31/12/2020

200000

12

01/06/2020

100000

002

01/02/2020

01/09/2020

350000

7

01/06/2020

175000

003

01/05/2020

01/02/2021

300000

9

01/10/2020

150000

1 REPLY 1
JustJan
Responsive Resident
Responsive Resident

Hi @Anonymous, 

 

What is the expected result with the data provided?

 

Jan 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors