Hello Roy,
The following should work:
SELECT DISTINCT Publicatiejaar FROM Publicaties.Publicatie
However I see your offset is set to 100, this might cause the list to be empty, if the result is less then 100 rows.
I would recommend putting the OQL snippet (provided in the _USE_ME directory of the module) on a test page. Try and test the OQL Query there before putting it in a microflow.
Hi Roy,
I expect that the Publicatiejaar is part of the Publicaties.Publicatie entity.
If so, try the following query:
SELECT DISTINCT Pub.Publicatiejaar AS Pubjaar
FROM Publicaties.Publicatie AS Pub
Then you need to make sure that Pubjaar is an attribute in the return entity.
Cheers,
Jeffrey