Forum Discussion

WNisti's avatar
WNisti
New Member
5 years ago
Solved

PBI - How to eliminate the word Error or Null from cells, without eliminating rows or columns

E.G., when I changed the data type to DATE, Error appeared in the cells without dates. I want to eliminate that word Error without replacing it with any other information. I just want to have a blank cell when there is no date. I would appreciate much if somebody could help me. Thanks a lot.

Wilson

 

  • WNistidon't include that column in #Changed Type , instead can you create a new column with the formula below

     

    try Date.From(datecolumn) otherwise null

     

     

3 Replies

  • smpa01's avatar
    smpa01
    Icon for Community Champion rankCommunity Champion

    WNistidon't include that column in #Changed Type , instead can you create a new column with the formula below

     

    try Date.From(datecolumn) otherwise null

     

     

    • WNisti's avatar
      WNisti
      New Member

      The fact is that I do not want the word Null, as well. Anyway, your suggestion was indeed good. I used "" instead of null. It worked out. Thanks a lot.

      • mahoneypat's avatar
        mahoneypat
        Icon for Microsoft Employee rankMicrosoft Employee

        FYI that you can also right click on the column header and choose Replace Errors to do the same.

        Pat