Hi everyone,
I have a question about calculated columns in reports.
I'm using a query similar to the one below:
SELECT
CASE
WHEN EXISTS (
SELECT 1
FROM TableA A
JOIN TableB B ON ...
JOIN TableC C ON ...
WHERE GETDATE() BETWEEN DateFrom AND DateTo
)
THEN 'YES'
ELSE 'NO'
END
Is it possible for the calculated column to refer to the current report row/element using a parameter or placeholder?
For example, something like:
WHERE WFD_ID = ##CURRENTID## or WHERE WFD_ID = ##WFD_ID##
Is there a supported parameter that represents the current element's ID in a calculated column, or is there another way to achieve this?
Thanks in advance!