Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Cannot convert value '' of type Text to type Number.

Hello, I have create a calendar date to coincide with fiscal year. It was recently working and just broke with a new upload of monthly data. Wondering how to fix this? 

 

9 Replies

  • Hi Anonymous 

    It appears you are using the result of RIGHT() (text type) as a number in the calculation.

    Try replacing:

         RIGHT( Query[Fiscal Year], 2)

    with:

         VALUE( RIGHT( Query[Fiscal Year], 2) )

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello,

       

      Unfortunately that did not work. It is still showing as error.

      • grantsamborn's avatar
        grantsamborn
        Icon for Solution Sage rankSolution Sage

        Is it still the same error?

        Did you do the replacement in both places?

        Is Query[Month_Number] numeric?