Forum Discussion

ChemEnger's avatar
ChemEnger
Advocate V
1 year ago
Solved

Table.DuplicateColumn ColumnType ignored

I have used a Table.DuplicateColumn command to create a copy of a datetime column (Start DateTime), including specifying the type as date: #"Duplicated Start DateTime" = Table.DuplicateColumn(#"Prev...
  • lbendlin's avatar
    1 year ago

    Might be just a cosmetic issue, similar to what we had for the longest time with Table.AddColumn *

     

    Note: Specifying a Date column type is futile as Power BI doesn't actually have such a data type.  In Power BI everything is datetime behind the scenes.

     

    * on second thought you can replace Table.DuplicateColumn with Table.AddColumn.