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.
Hello dear Community
If I have a table with 1000 long form answers (sentences), and I create a table with stopwords. How do I setup key columns to link the two tables? The table inherently don't have any relationship to each other."
Cheers
qwertzuiop
Solved! Go to Solution.
I tried to do this with Word Cloud and was surprised it didn't accept columns from unrelated tables. Two ways around this.
1. Make a relationship between your column containing the long text and the one with your stopwords. Doesn't matter what kind of relationship, or if there are no matches.
2. Make a new blank query where you force those two columns in the same table with something like this.
= Table.FromColumns({StopWords[StopWords], TextTable[TextColumn]})
Then use the columns from this new table in your visual.
#1 is easier, but I came up with #2 first so sharing both.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
I tried to do this with Word Cloud and was surprised it didn't accept columns from unrelated tables. Two ways around this.
1. Make a relationship between your column containing the long text and the one with your stopwords. Doesn't matter what kind of relationship, or if there are no matches.
2. Make a new blank query where you force those two columns in the same table with something like this.
= Table.FromColumns({StopWords[StopWords], TextTable[TextColumn]})
Then use the columns from this new table in your visual.
#1 is easier, but I came up with #2 first so sharing both.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@qwertzuiop , Can you share sample data and sample output in a table format?
You can have measure like
calculate([measure], filter(Table,not( Table[word] in values(table2[stop word]))))
or
calculate([measure], filter(Table,not( Table[word] in allselected(table2[stop word]))))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |