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
J_Mug
Helper I
Helper I

Alternative Solution to Substitute Word for Word Cloud

Hi,

 

I like to use the word cloud visual, but this time there are too many filler words, so much that they can't be removed with format options of the visual.

 

I use this formula with substitute to change words not wanted with blanks, but it's slow and I wonder if there might be something better performance-wise. Can someone recommend an alternate function/way or is this the only way?

 

Basically, I create a calculated column and use this function with as many substitutes as words:

 

Filtered comments =

Substitute(

Substitute(

Substitute(

'Table' [Coments Column],

"Word not wanted",""),

"Word not wanted",""),

"Word not wanted","")

 

Kind regards,

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

@J_Mug 

Select the comment column, and right click choose Replace Value, then replace unwanted words to nothing. You may have many words but this method should be faster than Substitute() in dax.


Vpazhenmsft_0-1632362615602.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

3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@J_Mug 

Select the comment column, and right click choose Replace Value, then replace unwanted words to nothing. You may have many words but this method should be faster than Substitute() in dax.


Vpazhenmsft_0-1632362615602.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.

amitchandak
Super User
Super User

@J_Mug , Why do you want to replace word, you do not wanted.

 

Remove them using filter or slicer

Because I want to use the Word Cloud visual which displays all words in a column that contains the open comments from people (So unrelated words that don't provide information need to be removed. Ej: the, most [¿The most what would be the question people would make if you display that], better, good, ok, etc).

 

The problem is it has limited word removal and so for thousands of inputs it needs more pruning, that's why I use that formula and why am asking if there is some other alternative.

 

Filter or slicer would remove the whole comment, which contains words I want in the word cloud.

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.