SELECT t1.*, t2.Directions
FROM (SELECT category, groups, timeId, SUM(SignedData) SumSignedData, Source, I_PISTE, M_Account, M_Satasrc, Pistes, SubTables
FROM tblFactMGMTAPP
GROUP BY category, groups, timeId, Source, I_PISTE, M_Account, M_Satasrc, Pistes, SubTables
) t1
JOIN (SELECT top 1 Category, M_account, Directions FROM tblFactMGMTAPP) t2
ON t1.category = t2.category AND t1.m_account = t2.m_account
--
Chandu