Forum Discussion
ChirSidh
Helper II
3 years agoSum up to Project level from Sub project level - DAX
In my excel sheet i have Month, Project Num and Sub-Project Num. each project have multiple sub projects, i have revenue / cost = multplier for all the subprojects. I want to create a conditional column to calculate the same at project.
In the attachment i have shown the expected result, can somebody help me how to create DAX Formula
3 Replies
- ChirSidh
Helper II
i am not able to find option for attaching the excel file
- yakmFrequent Visitor
divide(revenue, cost), use measure not column
- ChirSidh
Helper II
I have used this formula but its not giving exactly right answer,Avg Multiplier = DIVIDE(CALCULATE(SUM('Multiplier Movement'[Current Forecast Gross Revenue]),'Multiplier Movement'[ Project] = EARLIER('Multiplier Movement'[ Project]),'Multiplier Movement'[Month] = EARLIER('Multiplier Movement'[Month])),CALCULATE(SUM('Multiplier Movement'[Current Forecast Direct Labour (SCR)]),'Multiplier Movement'[ Project] = EARLIER('Multiplier Movement'[ Project]),'Multiplier Movement'[Month] = EARLIER('Multiplier Movement'[Month])))