Beast Mode Summary Number HTML for filled Gauge

Hi All,
Reading other post, it appears you can format summary numbers via beast mode. I have done so and my beast output for my number is correct but it is stripping out my style tag when implementing. I can change the span to a div or other html element and I can see that reflected in the UI but it always removes my style tag. This is for a filled gauge if that makes a difference
Beast Mode Calc.
CONCAT('<span style="color: ##004387; font-size: 32px; font-weight: bold;">', Percent Scheduled Before Discharge
- Goal
, '</span>')
End Result when inspecting element:
<span>My Number Here</span>
Any tips on what I am doing wrong here?
Best Answer
-
Have you saved the card and viewed it on the page? I can't see any HTML styling in the analyzer, but I can when the card is displayed. I was able to get your beast mode to format a summary number:
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0
Answers
-
Have you saved the card and viewed it on the page? I can't see any HTML styling in the analyzer, but I can when the card is displayed. I was able to get your beast mode to format a summary number:
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0 -
Thanks David. That was exactly what was happening. I was not seeing it reflected in the analyzer so I never saved it to view the displayed card.
1
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 666 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 145 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive