How do I replace text with unicode
Hello,
I'm trying to replace some characters in my table using Unicode Characters such as :white_heavy_check_mark: and with :cross_mark:
This is the code I typed into the Beast Mode but it's not displaying it and instead only showed the literal '✅', could anyone please help?
Case when `Last Week Actual` - `Last Week Target` >= -9999 then
'✅'
when `Last Week Actual` - `Last Week Target` >= 0.001 then
'❌'
else '' End
Thanks in advance.
Comments
-
Here is a knowledge base article with some other examples.
0 -
Hello there,
Thanks for your response. I tried it however it only gave me this result instead (see attachment)
This is the new code I used.
Case when `Last Week Actual` - `Last Week Target` >= -9999 then
CONCAT('<div style="">', '✅', ' Hello ', '</div>' )
when `Last Week Actual` - `Last Week Target` >= 0.001 then
CONCAT('<div style="">', '✅', ' Hello ', '</div>' )
else '' EndBy the way, I couldn't see the photo you attached. Could you attach it again please?
0 -
@suwandy To see the image you have to download, for some reason they do not show just by clicking on it (could be computer security settings). I did not realize you were trying to get it in a table; the code I provided was for a summary number. I think to put it in a table you will want to use an image rather than the Unicode. In the link I provided in my last message, there is a section for how to add images to a table. I went ahead and did an example. Here is my code:
Case
when `Entered Hours` > 0 then CONCAT('<div style="text-align:center"><img alt="UP" height="20px" src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-12/256/white-heavy-check-mark.png">','</div>')when `Entered Hours` <=0 then CONCAT('<div style="text-align:center"><img alt="UP" height="20px" src="https://banner2.kisspng.com/20180715/klo/kisspng-check-mark-emojipedia-computer-icons-symbol-cek-5b4bdef7a0b662.6919404015316989356583.jpg">','</div>')
else ''
End
Download the image to see what it made.
1 -
To get the links I just searched up the emoji and then right clicked on an image and selected copy image address
0
Categories
- All Categories
- 1.1K Product Ideas
- 1.1K Ideas Exchange
- 1.2K Connect
- 968 Connectors
- 255 Workbench
- Cloud Amplifier
- 1 Federated
- 2.4K Transform
- 76 SQL DataFlows
- 500 Datasets
- 1.8K Magic ETL
- 2.7K Visualize
- 2.2K Charting
- 360 Beast Mode
- 19 Variables
- 483 Automate
- 101 Apps
- 378 APIs & Domo Developer
- 6 Workflows
- 22 Predict
- 6 Jupyter Workspaces
- 16 R & Python Tiles
- 316 Distribute
- 64 Domo Everywhere
- 252 Scheduled Reports
- 59 Manage
- 59 Governance & Security
- 1 Product Release Questions
- 5K Community Forums
- 37 Getting Started
- 23 Community Member Introductions
- 63 Community Announcements
- 4.8K Archive