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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

Unstructured  Data Word Count

Hello Community,

Please review below and provide your guidance.

My data table has unstructured  data and also Look up table.

Requirements:If lookup table words matches with Data Table then if should count words in a new table or in Data Table.

I am not able to figure it out how to procedd?

Once i have word count it is going to use on bar chart (Example:Bar for Financail Analysis=2,Food Analysis=1)

Data Table

Comments

Financial Analysis & Health Analysis is very Important

Food Analysis & Financial Analysis is very Important

 

Lookup Table

Financial Analysis

Health Analysis

Food Analysis



Result Table

Column_1

Word_Count

Financail Analysis

2

Health Analysis

1

Food Analysis

1

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @tejapowerbi123 

add a measure into your Lookup Table

Measure = 
var _lookupValue = MAX('Lookup Table'[Lookup Column])
RETURN
CALCULATE(SUMX('Data Table', IF(SEARCH(_lookupValue,'Data Table'[Comments],,0) > 0, 1, 0)))

 

Снимок.PNG


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @tejapowerbi123 

add a measure into your Lookup Table

Measure = 
var _lookupValue = MAX('Lookup Table'[Lookup Column])
RETURN
CALCULATE(SUMX('Data Table', IF(SEARCH(_lookupValue,'Data Table'[Comments],,0) > 0, 1, 0)))

 

Снимок.PNG


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Wow,Thank you so much for your awesome suggestions.I was trying on Data Table.Thank Again

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.