Forum Discussion
Anonymous
6 years agoNot applicable
Sum per group (with PBI example file)
Hi guys, i have a table looking like this and i want to create the Group sum in each row for each article. So basically i want to add the numbers in the red circle as a measure to the table: ...
- 6 years ago
So I would think:
Measure = VAR __Group = MAX('Table'[Article Group]) VAR __Table = FILTER(ALL('Table'),[Article Group] = __Group) RETURN SUMX(__Table,[Stock reach days])
Greg_Deckler
Community Champion
6 years agoSo I would think:
Measure =
VAR __Group = MAX('Table'[Article Group])
VAR __Table = FILTER(ALL('Table'),[Article Group] = __Group)
RETURN
SUMX(__Table,[Stock reach days])Anonymous
6 years agoNot applicable
Perfect it works! Thansk alot