Forum Discussion

ChiRomeu's avatar
ChiRomeu
Icon for Helper I rankHelper I
3 years ago
Solved

Subtotal in column problem in table

Dear members,  Please kindly help for the following problem.  I have the following dax filtered by date, the results were correct but the total not, I would like a sum of the results.  Is there an...
  • devanshi's avatar
    3 years ago

    FilteredResult = CALCULATE(SUM('Table'[Value]), 'Table'[Date] >= MIN('Table'[StartDate]), 'Table'[Date] <= MAX('Table'[EndDate]))

    FilteredResultsTotal = SUMX(VALUES('Table'), [FilteredResult])