Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Folks.
Trying to do the following:
- search for column headers ending with '_time'
- duplicate, or AddColumns, column and change type.
existing table
table after change
Thank you in advance...
Solved! Go to Solution.
it will be easier to process this in PowerQuery
NewStep=Table.FromRecords(Table.TransformRows(PreviousStepName,each Record.TransformFields(_,List.Transform(List.Select(Record.FieldNames(_),each Text.EndsWith(_,"_time")),(x)=>{x&"_copy",(y)=>Time.From(Record.Field(_,x))}),2)))
it will be easier to process this in PowerQuery
NewStep=Table.FromRecords(Table.TransformRows(PreviousStepName,each Record.TransformFields(_,List.Transform(List.Select(Record.FieldNames(_),each Text.EndsWith(_,"_time")),(x)=>{x&"_copy",(y)=>Time.From(Record.Field(_,x))}),2)))
Thank you very much!
User | Count |
---|---|
52 | |
33 | |
19 | |
16 | |
15 |
User | Count |
---|---|
94 | |
84 | |
37 | |
22 | |
18 |