@Brenden Kehren.. ya i changed StatisticsSiteID and NodeParentID.. I tried directly in my database. it is working fine.
Is there any change need to make in transformation? my query is
SELECT TOP 5 NodeName
FROM
(
SELECT SUM(HitsCount) AS TotalHitsCount, StatisticsObjectID
FROM Analytics_Statistics
INNER JOIN Analytics_YearHits ON StatisticsID = HitsStatisticsID
WHERE StatisticsSiteID = '4' AND StatisticsCode = 'pageviews'
GROUP BY StatisticsObjectID
) AS Hits
LEFT JOIN CMS_Tree ON NodeID = Hits.StatisticsObjectID
WHERE NodeParentID ='164'
ORDER BY TotalHitsCount DESC
and transformation is
Code <li><a href="<%# GetDocumentUrl() %>"><%#Eval("ArticleName", true) %></a></li> .
because it's article document type. Please guide me is any additional information needed in transformation??
Thanks
Sarat