Forum Discussion

paulalmond91's avatar
paulalmond91
Icon for Helper II rankHelper II
8 years ago
Solved

Issue 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...
  • PaulDBrown's avatar
    PaulDBrown
    8 years ago
    paulalmond91,

    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...)