Forum Discussion

JSR's avatar
JSR
Icon for Helper II rankHelper II
3 years ago
Solved

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

Hi, I do have null values for EndDate, having a calculated colum like this, why Power BI complains with: Cannot convert value '' of type Text to type Number.   First part of the IF statmenet Not(...
  • NikhilChenna's avatar
    3 years ago

    Hi JSR , I thin kthe below is the solution,

     

    1. you need to go the power query editor and select the table where you have EndDate column.

    2. select the EndDate column and right click on the column and click on the option replace values and replace null to blanks.

    3. this will solve your issue.

     

    Regards,

    Nikhil Chenna

     

    Appreciate with a Kudos!! (Click the Thumbs Up Button)
    Did I answer your question? Mark my post as a solution!