I'm trying to run the following query and getting an error. I'm new to Analytics but experienced in SQL
SELECT TOP 1000 [Risk].[Date Created],
DATEDIFF([Risk].[Date Created], {TODAY}, "Day")
FROM [current_dw].[Risk] AS [Risk]
Hi Nick,
It looks like you're querying a Jira Align Enterprise Insights data source, is that correct? It's a SQL Server database in the backend, so you will need to use SQL Server functions and syntax.
The datediff function in your query can be edited to the following: DATEDIFF(day, [Risk].[Date Created], {TODAY})
Let me know if that works for you.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.