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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
realme1
Regular Visitor

Trying to extract the first 6 digits of this column, without using power query, from this 10 digits

realme1_0-1699346013893.png

 

realme1_1-1699346098989.png

I have this is powerbi , the column is mentioned material, I only need the first 6 digit of that, not the last 4. How should I do it without powerquery 

 

How should I code this in DAX using measures/ columns

 

Thanks in advance

 

 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @realme1 ,

 

use the following formula 

 

Column = LEFT('YourTableName'[Material],6)

Idrissshatila_0-1699346867500.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

1 REPLY 1
Idrissshatila
Super User
Super User

Hello @realme1 ,

 

use the following formula 

 

Column = LEFT('YourTableName'[Material],6)

Idrissshatila_0-1699346867500.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors