BeastMode calculation - specifying "previous month"

I am using this formula to calculate terminated employees:
COUNT(DISTINCT CASE WHEN `WD Event Type`= 'Termination' AND `WD Record Type`= 'Activity' THEN `WD Employee ID` END)
I need to modify it so it will include a number for the PREVIOUS MONTH each time that I use it.
End goal: I plan to use this count in a drill path table to present ONLY terminated employees from last month. If you have a better idea on how to go about it I would greatly appreciate it!
Thank you in advance!
Best Answer
-
Do you have a date field being displayed on your card?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
Can you just use the Date Selector in your drill path chart to select Last Month?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
@GrantSmith It won't let me for some reason (on other cards as well)
0 -
Do you have a date field being displayed on your card?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
@GrantSmith ah I see what you're saying. The drill path itself shows all-time values, but if I click through the initial card - it does filter it by the date I set!
I am happy that this turned out to be a non-issue :) Thanks a lot!!!
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive