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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.