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 any way to do that please?

 

Best regards 

 

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

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

1 Reply

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

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