Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Calculation error SUMX in table

Hello all,     I want to create a measure to calculate the Current Ticket  based on the following code:   Current Ticket = var currentDate = MAX(OWK_CI_INCIDENTS[IDT_STARTDATUM].[Date]) return S...
  • v-huizhn-msft's avatar
    9 years ago

    Hi Anonymous,

    The error message display clearly that SUM evaluates to numbers or dates, but it can't work with type string. In your resouce table, the data type for REMEDYTICKET_NUMBER is Text, so it return the error. 

    I create sample table similar like yours, but the datatype is number, it works fine.



    Best regards,
    Angelia