Create a card/text field that simply says the last month on a dashboard

NathanDorsch
Member
in Charting
I have a dashboard set up to review the last month. Is there a way to simply get a header or text box in the dashboard that identifies the last month? (each month, it will automatically change - so today, it should say February 2021 and on April 1, it will say March 2021).
0
Best Answers
-
Single Value card with a beast mode will get you what you're looking for for the current date:
DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL '1' MONTH), '%M %Y')
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2 -
@NathanDorsch in the Limit Rows box, set that to 1.
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.2
Answers
-
Single Value card with a beast mode will get you what you're looking for for the current date:
DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL '1' MONTH), '%M %Y')
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2 -
Thanks... I got it to work, but it is displaying a "Warning: Not all the data is shown." message.. How do I get rid of that?
0 -
@NathanDorsch in the Limit Rows box, set that to 1.
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.2
Categories
- 10.5K All Categories
- 3 Connect
- 913 Connectors
- 250 Workbench
- 458 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 182 Visualize
- 249 Beast Mode
- 2.1K Charting
- 11 Variables
- 16 Automate
- 354 APIs & Domo Developer
- 88 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 245 Distribute
- 62 Domo Everywhere
- 242 Scheduled Reports
- 20 Manage
- 41 Governance & Security
- 168 Product Ideas
- 1.2K Ideas Exchange
- 9 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive