Forum Discussion
VoltesDev
2 years agoHelper V
DIsplay string value as icon
Hi, How to display string value as icon wihtout the need to create new field ? In my table, I have data with value of "neutral / positive / negative" . While I still want to display the original ...
- 2 years ago
I see in that case you can use unicode characters.
SentimentIcon = VAR _SelectedSentiment = MAX(Sentiment[Sentiment]) RETURN SWITCH( TRUE(), _SelectedSentiment = "Positive", UNICHAR(128578), _SelectedSentiment = "Negative", UNICHAR(128545), _SelectedSentiment = "Neutral", UNICHAR(128528) )
ajohnso2
2 years agoSolution Supplier
I see in that case you can use unicode characters.
SentimentIcon =
VAR _SelectedSentiment = MAX(Sentiment[Sentiment])
RETURN
SWITCH(
TRUE(),
_SelectedSentiment = "Positive", UNICHAR(128578),
_SelectedSentiment = "Negative", UNICHAR(128545),
_SelectedSentiment = "Neutral", UNICHAR(128528)
)
VoltesDev
2 years agoHelper V
Thank you.
It also means we have to create new measure, then. 😉
Thanks again.