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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

extract special strings to a calculated column

Hi

Can any one help me in solving the below scenario

 

how to extract  promition ids ftom the below scenario in a calculated colimn

101

102

103prm1

104prm2

106

107prm

 

needs answer as

103prm1

104prm2

107prm

needs the answer in a calculated column

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

@Anonymous Please try to create a calculated column as per below

Result = 
VAR isalphanumeric = IFERROR(VALUE(Test[Column]),0)
RETURN IF(isalphanumeric=0,Test[Column])

View solution in original post

Hi @Anonymous ,

 

You can create calculated column like below:

Output = if(SEARCH("prm",Table2[Values],1,0)>0,Table2[Values])
 
See the expected output in below screen shot:
Capture.JPG
 
Please give KUDOS for support and also mark it as a SOLUTION if it helps you! 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Anonymous Please try to create a calculated column as per below

Result = 
VAR isalphanumeric = IFERROR(VALUE(Test[Column]),0)
RETURN IF(isalphanumeric=0,Test[Column])

Hi @Anonymous ,

 

You can create calculated column like below:

Output = if(SEARCH("prm",Table2[Values],1,0)>0,Table2[Values])
 
See the expected output in below screen shot:
Capture.JPG
 
Please give KUDOS for support and also mark it as a SOLUTION if it helps you! 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

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.

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
Top Kudoed Authors