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.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive