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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jadewind
Advocate I
Advocate I

categorize free text field

Hi everyone,

 

My data has a free text field and I hope to categorize this field to be able to analyze it. 

 

Currently I am developing a conditional column to do it one by one. For example if the value of the free text field contains certain keywords, then they belong to category A, if it contains some other keywords, then they belong to category B etc. I am still developing my categories as I go. I expect there will be at least 10-20 categories. There are a few thousand records in the data source. Since there can be multiple keywords that can be matched into one category, I have already had about 20 conditions in my conditiona column, and still going. 

 

I just wonder if there is a more efficient way to do it, eg. is it possible to develop a keyword-category table and link this table to the data source somehow, then if the free text field of a record has a keyword then it will be linked to the corresponding category?

 

Any thoughts?

 

Thanks in advance!

3 REPLIES 3
Phil_Seamark
Microsoft Employee
Microsoft Employee

There are several blogs that describe using AzureML to categorise text data such as this.  But requires shelling out to AzureML & cortana?

 

Otherwise you can take advantage of R to perform an onthe fly categorisation over your text column.  

 

How much data to you have in terms of rows?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Can you link to a few of these please? im also interested in doing exactly this. 

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.

Top Solution Authors