Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I want to change all column types from text to currency.type except the column with the name "Date". The Column "Date" is the first column.
The idea is
Table.TransformColumnTypes(#"Neu angeordnete Spalten",List.Transform(List.Skip(Table.ColumnNames(#"Neu angeordnete Spalten"), [Date] ), each {_, Int64.Type}))
Thanks in advantage.
Julian
Solved! Go to Solution.
@Anonymous Use this:
let
Source = .....,
ColumnTypes =
List.Transform (
Table.ColumnNames ( Source ),
each
if _ = "Date"
then { _, type date }
else { _, Currency.Type }
),
ChangeType = Table.TransformColumnTypes ( RemovedColumns, ColumnTypes )
in
ChangeType
@Anonymous Use this:
let
Source = .....,
ColumnTypes =
List.Transform (
Table.ColumnNames ( Source ),
each
if _ = "Date"
then { _, type date }
else { _, Currency.Type }
),
ChangeType = Table.TransformColumnTypes ( RemovedColumns, ColumnTypes )
in
ChangeType
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |