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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Find a selected word in a sentence in another table

I have a table with a word listing and product,  I have survey free text answers in 4 separate tables based on product and survey time so I created a word frequency based on the the # of times a word is used in the sentences and I would like for the user to select that word from a visual and then see all the responses that contain that word in a new table visual.  The tables have no joins.  Is this possible?  I tried to play with selected values and contain and nothing worked.

Capture.PNG

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@Anonymous 

I created a short example, please check the pbix for detail.

 

Keyword = IF(SEARCH(SELECTEDVALUE('Table (2)'[Key words]),MIN('Table'[Sentence]),,0)>0,SELECTEDVALUE('Table (2)'[Key words]))

 

V-pazhen-msft_0-1612251401823.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@Anonymous 

I created a short example, please check the pbix for detail.

 

Keyword = IF(SEARCH(SELECTEDVALUE('Table (2)'[Key words]),MIN('Table'[Sentence]),,0)>0,SELECTEDVALUE('Table (2)'[Key words]))

 

V-pazhen-msft_0-1612251401823.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

VijayP
Super User
Super User

@Anonymous 

Using TREATAS Function and CONTAINSSTRING Funciton you can achieve this. Try that, mean time if any sample data can help give more concrete answer




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.