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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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