Text box is not populated by Beast Mode
So, I have a beast mode that generates a text block with some basic information about a helpdesk ticket dataset. Its purpose is just to let the user know how recent the data they're seeing is. In short, it tells (1) when the ETL was last run, and (2) the most recent ticket ID and date. Simple enough, I'd think.
If I add (1) the text is generated and the card works. If I add (2) nothing appears. There is no error message or overt indication of failure… there's just nothing there. Any suggestions what might be wrong? Here's the code of the beast mode:
CONCAT(
'SNOW Data Generated '
, DATE(Generation timestamp)
, ' at '
, HOUR(CONVERT_TZ(Generation timestamp,'+00:00','-05:00'))
, ':'
, RIGHT(LEFT(TIME(CONVERT_TZ(Generation timestamp,'+00:00','-05:00')),5),2)
, ' CDT\n'
, number
, ' is the most recent, opened on\n'
, DATE_FORMAT((opened_at), '%b %d %Y at %H:%i')
)
Best Answer
-
You need a way to select a single value. This beastmode will have a result for every row of data. I used your same beastmode but limited the card to 1 row of data and then sorted on the date field descending and the card worked as expected. You may have to do some ranking in ETL because you need the most recent of 2 different dates. If you had rankings you could use that for your sorting. You could also just add MAX() functions in your beastmode if you just need the most recent of each date.
If I solved your problem, please select "yes" above
2
Answers
-
You need a way to select a single value. This beastmode will have a result for every row of data. I used your same beastmode but limited the card to 1 row of data and then sorted on the date field descending and the card worked as expected. You may have to do some ranking in ETL because you need the most recent of 2 different dates. If you had rankings you could use that for your sorting. You could also just add MAX() functions in your beastmode if you just need the most recent of each date.
If I solved your problem, please select "yes" above
2 -
Apologies for not responding sooner. I had to move to another matter for a while. This worked. Thank you for the clear help.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 737 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive