Forum Discussion
paulalmond91
Helper II
8 years agoIssue with totals on SUMX with GENERATE function
I have a calculation that determines the total value of a sale that falls inside a single month. There is an added complication in that I require this calculation to divide its total between the numb...
- 8 years agopaulalmond91,
Try this and see if it works (I’m assuming your date table has a month column):
Totals = SUMX(SUMMARIZE(‘Date’, Date[Month]), [Optimised Spread])
(Apologies if there is a bracket missing or some other syntax error; I’m typing this on a phone...)
PaulDBrown
Community Champion
8 years agopaulalmond91,
Try this and see if it works (I’m assuming your date table has a month column):
Totals = SUMX(SUMMARIZE(‘Date’, Date[Month]), [Optimised Spread])
(Apologies if there is a bracket missing or some other syntax error; I’m typing this on a phone...)
Try this and see if it works (I’m assuming your date table has a month column):
Totals = SUMX(SUMMARIZE(‘Date’, Date[Month]), [Optimised Spread])
(Apologies if there is a bracket missing or some other syntax error; I’m typing this on a phone...)
paulalmond91
Helper II
8 years agoThis is perfect!
Thank you so much!