Hi there,
I'm struggling to determine how I would convert the result from sentiment analysis of a piece of text, and display it as an emoji.
What I've tried:
On a selected Power Apps screen, in the advanced settings, OnVisible - Set(EmojiSad, false); Set(EmojiNeutral, false) etc.
In a separate label, which has the sentiment analysis text return "negative" for example.
Then, within the icon properties, specifically Visible, using: If(Label9.Text, "negative", true, EmojiSad = true).
The result:
The icon vanishes and a warning triangle appears above the icon.
The message: "Incompatible types for comparison. these types can't be compared: Text, Boolean."
Can anybody shed any light on how I can resolve this.
Thanks in advance
W