Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All
My COMPANY_NAME field now 40 charater , i like to recode this field to 13 charater.
For example :- TDS Technology (S) Pte Ltd
recode to TDS Technology (13 charater)
Paul Yeo
Solved! Go to Solution.
since your sample data is too less, not sure if the solution fits your real data. maybe you can try this
Column =
VAR _num=13-len(SUBSTITUTE(left('Table'[company_name],13)," ",""))
return left('Table'[company_name],13+_num)
Proud to be a Super User!
since your sample data is too less, not sure if the solution fits your real data. maybe you can try this
Column =
VAR _num=13-len(SUBSTITUTE(left('Table'[company_name],13)," ",""))
return left('Table'[company_name],13+_num)
Proud to be a Super User!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.