Unanswered Error free DAX formula can't be added to Excel PivotTable

  • 21 มีนาคม 2555 15:30
     
     

    Another issue from the consumate PowerPivot newbie;

    I add the following DAX measure:

    DirectOnlineSales:=CALCULATE(Sum('Query'[SaleAmount]),'Query'[SaleType] = "Direct-Online")

    Adding this both in PowerPivot, and Excel (separately as different tests) not only generates no error, but also displays a number next to the measure in PowerPivot.

    But when I try to add the measure to my PivotTable, I get:

    "Could not add the field "DirectOnlineSales" to the PivotTable because the formula is invalid."

    Am I doing something wrong here?

ตอบทั้งหมด