Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Expression.Error: We cannot apply operator - to types Text and Text.

Hi BI Community,   This is my first time posting here. Need help with a lingering issue.   When i pivoted a column to create new columns, one of my new columns "Reason Code" contains error with: ...
  • Thingsclump's avatar
    4 years ago

    Hi Anonymous 

     

    Can you share a screenshot that shows all columns? It looks like List.Sum is causing issue in Pivot. May be PQ is throwing error trying to do a mathematical operation on text field.

     

    If possible share the PQ code after creating input table in PQ along with remaining steps. If not, share excel file removing sensitive information. This will be good for troubleshooting as well.

     

    Mark this solution as accepted if it solves your issue.

     

    Thanks

    thingsclump

    www.thingsclump.com