Forum Discussion
Anonymous
7 years agoNot applicable
DAX
I have a Production table, DimDate table. I needed to display weekly sum which I was able to do using SUMMARIZE function. Output of SUMMARIZE function is in 'TableS' with 2 columns WeekNo, SumP. Now...
Anonymous
7 years agoNot applicable
Yeah updated picture of data.
parry2k
7 years agoSuper User
Anonymous just to confirm, is this what you are looking for? I Just did two weeks
- Anonymous7 years agoNot applicable
Yes correct. You got it what I am trying to do.
- parry2k7 years agoSuper User
Anonymous add following as a measure
SumP =
SUMX( 'DimDate',
IF( 'DimDate'[Day] = 7,
CALCULATE(
SUM( Table1[Production] ) ,
ALLEXCEPT( 'DimDate', 'DimDate'[WeekNo] )
)
)
)