What is a Beast Mode to calculate days and months between dates?

I am trying to calculate days between dates; Current Date and Start Date. I need the length of assignment in days, and then eventually months.
I am using the below Beast Mode, but my Length of Assignment in Days is off. The current date is 4/8/2025 for all, but I cannot figure out what the problem is. Any ideas?
Best Answer
-
Yep! Values are doubling because you are summing them. Switch to MIN or MAX to fix
If I solved your problem, please select "yes" above
0
Answers
-
Bizzarre. Try:
DATEDIFF(CURRENT_DATE(),StartDate
)I am using your data and getting the correct results. Can you share what your card setup looks like in analyzer view? Curious to see the sorting and filters you are using.
If I solved your problem, please select "yes" above
0 -
That doesn't work either. I also tried the below. And I made sure my Date columns were not strings. Maybe I need to go to support?
DATEDIFF(
Current Date
,StartDate
,'DD')0 -
Can you share what your card setup looks like in analyzer view? Curious to see the sorting and filters you are using.
If I solved your problem, please select "yes" above
0 -
Does this help?
For the company name, I have selected one company, and the Match Status is Full Placement. The other filter is removing any matches that have ended already.
I have removed the names for confidentiality.
0 -
Yep! Values are doubling because you are summing them. Switch to MIN or MAX to fix
If I solved your problem, please select "yes" above
0 -
So easy! Thank you!!!!!!
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 7 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 655 Datasets
- 114 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 770 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 76 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 408 Distribute
- 119 Domo Everywhere
- 279 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