Forum Discussion
Summing Specific Rows by Quarters
Oh and the Column required for the above calc should be this
My Column = DATE(
'Table1'[Year],
(RIGHT('Table1'[Quarter],1) * 3) - 2,
1)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
- Brendan_19 years agoAdvocate I
Yeah, i saw your edits and included them, it still only sums up the SF under construction for each specific quarter.
I believe my formulas are the same as yours except i name My Column - "Column for Under Construction"
Column for Under Construction = DATE('Building Live Data'[LiveP_ConstructionCompletedDate].[Year],(RIGHT('Building Live Data'[LiveP_ConstructionCompletedDate].[Quarter],1)*3)-2,
1)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))Did i miss anything?