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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!