Year = current year
Comments
-
Some minor tweaks to your beast mode:
CASE WHEN YEAR(`Booking Year Nbr`)= YEAR(CURDATE()) THEN "CY" ELSE "PY" END
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**3 -
Hi @RajNadar
It would help to understand what format `Booking Year Nbr` is in.
CASE WHEN `Booking Year Nbr` = YEAR(CURDATE()) THEN 'CY' WHEN `Booking Year Nbr` = YEAR(CURDATE())-1 THEN 'PY' ELSE 'Other' END
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman2
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 468 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 173 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive