Forum Discussion

ajimenez's avatar
ajimenez
Frequent Visitor
9 years ago
Solved

Bad behavior dax subtotal

i everyone, I am trying to calculate the total for the field result of the following table: Year Quarter Line Total Days Average Days Total Items % Effectiveness Result 2016 3 ACA 1...
  • Vvelarde's avatar
    Vvelarde
    9 years ago

    ajimenez

     

    Hi, Try with this DAX

     

    Result =
    SUMX (
        SUMMARIZE (
            Table1;
            Table1[Line];
            "RESULTS"; [AverageDays] * [% Effectiveness]
        );
        [RESULTS]
    )

    Review Your Column in Summarize accord to your visual & Structure.