Displaying dataset last refresh
Comments
-
When viewing a card you could see it at the bottom of the page. In a slideshow I'm not sure. The column that has that is Domo's default _BATCH_LAST_RUN_ but you can't use it as a summary number. I'm assuming you're talking about a publication when you saw slideshow so in that case I don't have a slick answer for you
**Make sure to like any users posts that helped you and accept the ones who solved your issue.**0 -
guitarhero23 ,
Thanks for the reply. Yes, I am referring to charts (not table cards where I can add _BATCH_LAST_RUN as a column). I understand you can’t display it as a summary number (just like you can’t display calculated fields, which would be a convenient way to do this). Thanks for confirming. Appreciate it. Maybe Domo can take this as a suggestion and allow calculated fields to be displayed in the summary.
0 -
Assuming you have the timestamp in your data you can put it in the summary number through use of the concat() function in a beast mode. Screenshot above. One thing to note is that you lose all formatting using the concat() function so you will see additional functions to format the numeric value with a comma.
Beastmode function below.
case
when sum(`daily_admissions`)>99999 then concat(left(sum(`daily_admissions`),3),',',right(sum(`daily_admissions`),length(sum(`daily_admissions`))-3),' Skier Visits<br><div style=''font-size:12px''>Last Updated: ',DATE_FORMAT(max(`lastupdated`), '%m/%d/%y %h:%i %p'),'</div>')
when sum(`daily_admissions`)>9999 then concat(left(sum(`daily_admissions`),2),',',right(sum(`daily_admissions`),length(sum(`daily_admissions`))-2),' Skier Visits<br><div style=''font-size:12px''>Last Updated: ',DATE_FORMAT(max(`lastupdated`), '%m/%d/%y %h:%i %p'),'</div>')
when sum(`daily_admissions`)>999 then concat(left(sum(`daily_admissions`),1),',',right(sum(`daily_admissions`),length(sum(`daily_admissions`))-1),' Skier Visits<br><div style=''font-size:12px''>Last Updated: ',DATE_FORMAT(max(`lastupdated`), '%m/%d/%y %h:%i %p'),'</div>')
else concat(sum(`daily_admissions`),' Skier Visits <br><div style=''font-size:12px''>Last Updated: ',DATE_FORMAT(max(`lastupdated`), '%m/%d/%y %h:%i %p'),'</div>')
end
-----------------
Chris3 -
Thanks! Appreciate the suggestion.
0
Categories
- All Categories
- 1.2K Product Ideas
- 1.2K Ideas Exchange
- 1.3K Connect
- 1.1K Connectors
- 273 Workbench
- 2 Cloud Amplifier
- 3 Federated
- 2.7K Transform
- 78 SQL DataFlows
- 525 Datasets
- 2.1K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 435 Beast Mode
- 22 Variables
- 513 Automate
- 115 Apps
- 390 APIs & Domo Developer
- 8 Workflows
- 26 Predict
- 10 Jupyter Workspaces
- 16 R & Python Tiles
- 332 Distribute
- 77 Domo Everywhere
- 255 Scheduled Reports
- 66 Manage
- 66 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 68 Community Announcements
- 4.8K Archive