This is coming out to be a date format beast mode. How can i change this to integer?

domoexpert
Member
in Beast Mode
Best Answers
-
use a DateDIFF to calculate the number of days between the dates!
0 -
Agreed on DATEDIFF(). Also, adding a *1 to a field will force it to a number:
Field
*1or
(CASE WHEN
Field
= 'Cat' THENID
END)*1If I solved your problem, please "accept" my answer as the solution
0
Answers
-
use a DateDIFF to calculate the number of days between the dates!
0 -
What would be the syntax with datediff?
0 -
Since its the same date column
0 -
Agreed on DATEDIFF(). Also, adding a *1 to a field will force it to a number:
Field
*1or
(CASE WHEN
Field
= 'Cat' THENID
END)*1If I solved your problem, please "accept" my answer as the solution
0 -
DATEDIFF(DATE, LAG(DATE) -1)
0 -
I cant use the window function with datediff
0
Categories
- All Categories
- 1.1K Product Ideas
- 1.1K Ideas Exchange
- 1.2K Connect
- 966 Connectors
- 254 Workbench
- Cloud Amplifier
- 1 Federated
- 2.4K Transform
- 75 SQL DataFlows
- 499 Datasets
- 1.8K Magic ETL
- 2.7K Visualize
- 2.2K Charting
- 360 Beast Mode
- 19 Variables
- 481 Automate
- 101 Apps
- 376 APIs & Domo Developer
- 6 Workflows
- 22 Predict
- 6 Jupyter Workspaces
- 16 R & Python Tiles
- 316 Distribute
- 64 Domo Everywhere
- 252 Scheduled Reports
- 59 Manage
- 59 Governance & Security
- 1 Product Release Questions
- 5K Community Forums
- 37 Getting Started
- 23 Community Member Introductions
- 63 Community Announcements
- 4.8K Archive