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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
OsmanEmi
Frequent Visitor

Triming Numbers from a column using measure

I have a table that has a column with values such as hte one below. Is there anyway using a measure to only have the last 4 letters/numbers?

 

Names
Oscar
Jeff
Komal
James
Rick
Ismet
Agency12
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@OsmanEmi , You can have measure like

right(max(table[Names]),4)

 

But you have use it with name in visual

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@OsmanEmi , You can have measure like

right(max(table[Names]),4)

 

But you have use it with name in visual

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

Top Solution Authors