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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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