Forum Discussion
Mic1979
1 year agoPost Partisan
Dynamic transformation and rounding
Hello all, I need to change the type only on the columns with $ in the header. I have the following code: TransformDollars = Table.TransformColumnTypes( renameColumns, List.Transform( ...
- 1 year ago
RoundDollars = Table.TransformColumns ( TransformDollars, List.Transform ( Dollars_Columns_Selected, // each {_, Number.Round(_, 3), type number})) >> this is wrong, must be each {_, (x) => Number.Round(x, 3), type number} ) )
lbendlin
1 year agoSuper User
sounds like a mixup between column names and column values.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523