Forum Discussion
Anonymous
6 years agoNot applicable
If Statement Aggregation
Hi, I wrote a measure to calculate job costs utilizing different accounting methods based on time intelligence. My example code is below: Estimated Final Cost =
VAR CurrentDate = TODAY()
VAR...
lbendlin
Super User
6 years agoYou are not showing enough details. The definitions of
[Field Estimate Amount]
[AFE Amount]
[Adjusted Lateral Length]may or may not impact your calculations.
- Anonymous6 years agoNot applicable
No Problem
Accounting Actual = CALCULATE ( SUM ( vwSpotfire_CAPEX[SumAmount] ), USERELATIONSHIP ( vwSpotfire_CAPEX[CategoryName], 'Expense Classification Bridge'[CategoryName] ) )AFE Amount = CALCULATE ( SUM ( AFE_Budget_All[AFEBudget] ), USERELATIONSHIP ( AFE_Budget_All[CategoryName], 'Expense Classification Bridge'[CategoryName] ) )Field Estimate Amount = CALCULATE ( SUM ( vwSpotfire_CAPEX_Estimated_Expense[EstimatedExpenses] ), USERELATIONSHIP ( vwSpotfire_CAPEX_Estimated_Expense[CategoryName], 'Expense Classification Bridge'[CategoryName] ) )Adjusted Lateral Length = CALCULATE(SUM('MDM WELL'[Lateral Length]))