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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Extracting First 2 digit

Hi 

I have a column with 3 digit number value that i like to extract the first 2 digit to a new column, what query should i use?

Thanks! 

1 REPLY 1
Anonymous
Not applicable

Hi! I think just using "left" would solve your problem

Left("table", "numberofdigits")

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.