Forum Discussion

brunoctesser's avatar
brunoctesser
Helper I
3 years ago
Solved

Leading zeros getting lost in dataflow

I am developing a Power BI Desktop report connected to a dataflow via DirectQuery. One of my dimension tables has a column (Item) with the following values (greatly reduced for demonstration purposes...
  • edhans's avatar
    3 years ago

    Somewhere these values are being changed to numbers and the leading zeros are dropping. They must be forced to be strings in the dataflow itself. If you let it detect the datatype when storing, it will use a numerical type.