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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
All,
I have column1 where I want to create a new column while removing some characters.
So Column1: 123456789
I want to create a new column2: 1234
Any suggestions?
Solved! Go to Solution.
Hi, @aishak12 ;
You could create a column by dax.
Column2 = LEFT([Column1],4)
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @aishak12 ;
You could create a column by dax.
Column2 = LEFT([Column1],4)
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@aishak12 , You can use Text.Start in power query
If the column is Text
Text.Start([Column],4)
it that is number type column
Number.FromText(Text.Start(Number.ToText([Column]),4))