Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Thiviya
Regular Visitor

Employee id same length

Hi,

 

How do I update the employee id to have the same length as other employee i.e 6 characters ?

Thiviya_0-1709786490040.png

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

=Table.TransformColumns(PreviousStepName,{"Manager ID",each Text.PadStart(Text.From(_),6,"0")})

View solution in original post

4 REPLIES 4
Thiviya
Regular Visitor

Is it how should be ?

 

Thiviya
Regular Visitor

= Table.TransformColumnTypes(AddedCustom,{"Manager ID", each Text.PadStart(Text.From(_),6,"0"}})

Hi @Thiviya 

 

It should be Table.TransformColumns rather than Table.TransformColumnTypes. 

wdx223_Daniel
Super User
Super User

=Table.TransformColumns(PreviousStepName,{"Manager ID",each Text.PadStart(Text.From(_),6,"0")})

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors