Forum Discussion
Summing Specific Rows by Quarters
Hi Brendan_1,
You lost Calculate() function in your measure. Please double check Brendan_1's measure:
Best Regards,
Qiuyun Yu
Sorry, I think I had a typo in the formula
Measure = CALCULATE(
SUM('Table1'[LiveP_SFInt]),
DATESINPERIOD(
Table1[My Column],
FIRSTDATE('Table1'[My Column])
,8,
QUARTER)
)- Phil_Seamark9 years agoMicrosoft Employee
Oh and the Column required for the above calc should be this
My Column = DATE( 'Table1'[Year], (RIGHT('Table1'[Quarter],1) * 3) - 2, 1)- Brendan_19 years agoAdvocate I
Phil,
Thanks for all your help. The formulas are calculating but it is returning the buildings that were just built in that quarter. It isn't adding the next eight quarters together. Here are my formulas. Am I doing something wrong?
Under Construction Calc = CALCULATE(SUM('Building Live Data'[LiveP_SFInt])
,DATESINPERIOD('Building Live Data'[Column for Under Construction]
,FIRSTDATE('Building Live Data'[Column for Under Construction])
,8,QUARTER))Column for Under Construction = DATE('Building Live Data'[LiveP_ConstructionCompletedDate].[Year],(RIGHT('Building Live Data'[LiveP_ConstructionCompletedDate].[Quarter],1)*3)-2,1)
- Phil_Seamark9 years agoMicrosoft Employee
Did you see my updates? I had some errors in the first post