Or in case of Repeater with custom query you need to return your columns in Select clause
SELECT DISTINCT DATEADD(MM,DATEDIFF(MM,0, [NewsDate] ),0) AS
[YearMonth],DocumentCanBePublished,DocumentPublishFrom,DocumentPublishFrom FROM mysite_newsroom
WHERE ##WHERE## ORDER BY DATEADD(MM,DATEDIFF(MM,0, [NewsDate] ),0) DESC;