Forum Discussion

kg4u's avatar
kg4u
Icon for Helper II rankHelper II
2 years ago
Solved

PBI Report is throwing this error during a refresh The type of the value does not match the type of

I am trying to refresh a PBI report and I am getting this error.

    pairs = List.Transform(List.Positions(fieldNames), (i) => {fieldNames{i}, (v) => if v = null or Value.Is(v, fieldTypes{i}) then v else error [Message = "The type of the value does not match the type of the column.", Detail = v], fieldTypes{i}})

in

    Table.TransformColumns(Source, pairs)

 

I do not know how to fix this, can you please suggest a way to allow me to refresh my report. 

1 Reply