Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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 text, I also want to display as an icon.
I know there is Conditional Formatting to do this, but if I add again the same field, so there will be 2 same fields. After I set conditional formatting of the 2nd field to display as icon, the other also changed.
May I know how to achieve this ? original text and the one with display as icon side by side in a table.
Thanks
Solved! Go to Solution.
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)
)
Are you referring to clickable buttons?
I have achieved this by using the new Slicer visual no fancy tricks.
You could also create something like below by creating a static table in power query and creating some icons with SVG's.
Also using the new slicer visual
Hi,
No, I mean inside a table. Something like this :
Thanks
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)
)
Thank you.
It also means we have to create new measure, then. 😉
Thanks again.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
28 | |
28 | |
23 | |
22 | |
18 |
User | Count |
---|---|
52 | |
34 | |
28 | |
24 | |
21 |