Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Sum All Values in an If Statement

Hi,  I created an if statment to use as a measure in a table, the column is 'Proj Sales Total' (See Full Table). However, when the sum at the bottom is only totaling the 1st two rows (where the s...
  • parry2k's avatar
    6 years ago

    Anonymous try this measure

     

    Total Proj Sales = 
    SUMX ( VALUES ( Table[Fund Day] ), If( [WrittenSales] > 0, [WrittenSales] * .9, [ForecastCalculation]) )