Forum Discussion

Chihiro's avatar
Chihiro
Icon for Solution Sage rankSolution Sage
9 years ago
Solved

Duration calculation in query editor produces error message with no error row

Normally, I do my duration calcuation in DAX. But since I wanted to add custom bucket for duration, I attempted the calculation in Query Editor using M.   [closed] and [created] columns contain dat...
  • Chihiro's avatar
    Chihiro
    9 years ago

    Finally figured out what the issue was, though I still don't know "why".

     

    Turns out there is [SLA_updated_date] column in the table. Though this column isn't used in any calculation/measure/relationship etc... This column contained single invalid datetime value. I've asked DB admin to take care of this.

     

    Oddly enough, this did not show up in any of query steps in PowerBI and only found when I used another tool to query the database using JDBC and checked log.

     

    While I wait for the admin to fix the record, I excluded [SLA_updated_date] column from the query, and I was able to use all previously mentioned methods to calculate duration buckets.

     

    Regards,