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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
viveksasi94
Helper I
Helper I

How to extract required values from a text

Hi everyone,

 

I have a dataset in which one column is in text data type. I need to extract the Intent and its corresponding score from each row.

Please take a look at the sample dataset.

Input

Input.PNG

 

Required Output

Output.PNG

Thanks in advance 🙂

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @viveksasi94

 

You may try to use 'split column' and 'pivot column' in query editor. Attached the sample file for your reference.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @viveksasi94

 

You may try to use 'split column' and 'pivot column' in query editor. Attached the sample file for your reference.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your suggestion, but splitting the columns is not working for me as the order of intents may change. This leads to adding other intents also into the column. For example in the 1st row it starts with Admin, but in second row it started with PTO.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.