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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
KBD
Helper II
Helper II

WordCloud

Hello:

 

I am trying to create a simple work cloud.

Can not get the effect I need.

 

My data is as follows:

Indicents contains details on incidents.  Date, time,  location,  description  

These are Slips , falls,  spills  etcs   Call this table Incidents.

 

Keys words this contains key words that management wants to track.

Slip, fall, oil,  Antifreeze, Extinguisher   etc..

 

There is no link between these tables.

 

I need a WordCloud that scans the Incident description for only the words in Key Words.

 

How do I do this?  I see postings that state I need to create a link betwwen Incidents and Key Words, 

But that make no sence.

 

Any assistance is appreciated.

 

KD

 

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

HI @KBD 

What you observed is correct. Since we don't have filtering options based on "contains" or list searches, in order to focus the Word Cloud on specific keywords, there must be a relationship between the tables.

To achieve this, you need to split the description into rows, so that each word appears in its own row.

You can make needed transformations from data source directly or with a power query.
From power query, you can follow these steps :

1. Duplicate the column of description :

Ritaf1983_0-1739079540258.png

2. Split the Description column into rows:

Ritaf1983_1-1739079634924.pngRitaf1983_2-1739079676455.png

After closing and applying you can create a relationship between keywords and incidents 

Ritaf1983_3-1739081166059.png

Now you can create the cloud :

Ritaf1983_4-1739081605950.png

The pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
KBD
Helper II
Helper II

Rita:

 

Thank, many thanks you lead me to a workable solution.

In a new table, I extracted the key words from the descriptive text to a new attribute, with corresponding counts.

Then put the word cloud on top of this new table.

Just a bit of Python code to get word list and count.

 

Thanks again.  KD

 

Ritaf1983
Super User
Super User

HI @KBD 

What you observed is correct. Since we don't have filtering options based on "contains" or list searches, in order to focus the Word Cloud on specific keywords, there must be a relationship between the tables.

To achieve this, you need to split the description into rows, so that each word appears in its own row.

You can make needed transformations from data source directly or with a power query.
From power query, you can follow these steps :

1. Duplicate the column of description :

Ritaf1983_0-1739079540258.png

2. Split the Description column into rows:

Ritaf1983_1-1739079634924.pngRitaf1983_2-1739079676455.png

After closing and applying you can create a relationship between keywords and incidents 

Ritaf1983_3-1739081166059.png

Now you can create the cloud :

Ritaf1983_4-1739081605950.png

The pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Ritaf:

 

do not understand why I cannot click on your posting as the accepted answer.

You should get the credit.

 

KD

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.