I am using the lookup function to place data into my main report. I have 9 additional datasets and everything is working fine. However when I added my 10 dataset I need to sort the data so that just the last date would show on the report. I wrote the query as
SELECT [Task_Type], [Status_Change_Date],[SourcingEvent]
from [ContractsWorkflowReport$]
ORDER BY
[SourcingEvent],[Task_Type], [Status_Change_Date]
and now I am getting the error that I placed in the subject line. I have tried
SELECT *
from [ContractsWorkflowReport$]
ORDER BY
[SourcingEvent],[Task_Type], [Status_Change_Date]
with the same error.
If I just use the query
SELECT *
from [ContractsWorkflowReport$]
the report will run fine. However without the sort I am not getting the right dates.
Any help is appreciated.
SELECT [Task_Type], [Status_Change_Date],[SourcingEvent]
from [ContractsWorkflowReport$]
ORDER BY
[SourcingEvent],[Task_Type], [Status_Change_Date]
and now I am getting the error that I placed in the subject line. I have tried
SELECT *
from [ContractsWorkflowReport$]
ORDER BY
[SourcingEvent],[Task_Type], [Status_Change_Date]
with the same error.
If I just use the query
SELECT *
from [ContractsWorkflowReport$]
the report will run fine. However without the sort I am not getting the right dates.
Any help is appreciated.