Forum Discussion
identifying themes and doing sentiment analysis in text analytics using Power BI
- 9 years ago
In this case, try to create a calculated column. If the real data is not as cleaning as the sample, you may need some extra data cleaning work(not in Power BI). The best option would be classifying the comment when inputing, eg using some droplist having the themes and save the themes along with comment.
themes = SWITCH ( TRUE (), TRUE () && SEARCH ( "manager", Table[Comment],, 0 ) > 0, "manager", TRUE () && SEARCH ( "infrastructure", Table[Comment],, 0 ) > 0, "infrastructure", TRUE () && SEARCH ( "R&D", Table[Comment],, 0 ) > 0, "R&D" ) - 9 years ago
You can download the WordCloud visual.
In this case, try to create a calculated column. If the real data is not as cleaning as the sample, you may need some extra data cleaning work(not in Power BI). The best option would be classifying the comment when inputing, eg using some droplist having the themes and save the themes along with comment.
themes =
SWITCH (
TRUE (),
TRUE ()
&& SEARCH ( "manager", Table[Comment],, 0 ) > 0, "manager",
TRUE ()
&& SEARCH ( "infrastructure", Table[Comment],, 0 ) > 0, "infrastructure",
TRUE ()
&& SEARCH ( "R&D", Table[Comment],, 0 ) > 0, "R&D"
)
Hi Eric,
Thanks a lot for your help!.. This works.:) Excited....Also can you please let me know if it is possible to create Word clouds in Power BI..
Thanks,
Arun
- Eric_Zhang9 years ago
Microsoft Employee
You can download the WordCloud visual.