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
Anonymous
Not applicable

Power Query AI Text Analtyics

Hi

 

I need assistance please. I used text analytics for a comments field and instead of extracting just one key word it extracts multiple key words and increases in rows. How can I configure this to be one key per row and not multiple and increase row size

3 REPLIES 3
jesor
Microsoft Employee
Microsoft Employee

I'm doing the same, you can split that row by deliminator, may it be a space or however you see fit into more rows.  Unfortunately, to extract you would have to create more rows to get each word by itself.  In your visualizations just make sure you are using your key identifiers to ensure you are reporting on the parent rows before you did the expansion to multiple rows, so you would have 1 row, with lots of keywords.

Anonymous
Not applicable

Hi

 

Thank you make sense. The parent row would be the first word extracted in the comments? if I apply row delimiter I can extract first word to ensure visualization as "one word" per record?

 

Thanks

jesor
Microsoft Employee
Microsoft Employee

If you wanted only the first word per each row, you can do the row delimination based on what deliminator you have, to get only the first word of the comments field you would need to just do at the left most occurance of the deliminator.  If you are only extracting 1 word, then it is ok to just use the column versus row.  If you are trying to get all of the words, you would split by each occurance of the deliminator.  All you need to do is right click the column where you want to extract the data, then the extract choice.

 

If you are attempting the extraction of all of the words, I would go with rows, if it's just the first word, I would go column, because you would only get 1 column.  The reason for going with rows for the full text extraction, is that you would only get 1 column with all of the words, so you can use that for visualizations and counting, if you split into columns and your comment field in one row had 10 words, and another row had 5, you would still expand your table to the highest number which is 10, where the rest would be blank.  It's also hard to do analysis on frequency and such if you split into columns because now your data is scattered and contains blanks.

 

2020_05_04_09_31_12_.png

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors