Forum Discussion
Anonymous
6 years agoNot applicable
Today()-7 datra in calculated column
Hi All, Can we convert this measure into Calculated column? Measure 3 = CALCULATE(MAX(Table1[Values]),FILTER(ALL(Table1),[Date]=MAX(Table1[Date])-7)) https://community.powerbi.com/t5/Desk...
- 6 years ago
Hi Anonymous ,
Column = VAR d = [Date] - 7 RETURN CALCULATE ( SUM ( 'Table'[value] ), FILTER ( 'Table', [Date] = d ) )
v-frfei-msft
Community Support
6 years agoHi Anonymous ,
Column =
VAR d = [Date] - 7
RETURN
CALCULATE ( SUM ( 'Table'[value] ), FILTER ( 'Table', [Date] = d ) )