Below should work for you
public JsonResult GetCategorys(int rgLevelId, int PGID, int PItemID, int lbuId, int subCountryId)
{
SELECT sum(T.T_TS )as Target,sum(T.A_TS) as Actual,T.latitude as Latitude
FROM OCF.TempData T
WHERE
( T.PG_Id=PGID OR PGID = 0)
AND T.YearOfAss=2016
AND (T.PGItem_Id=1 OR PItemID = 0)
AND ( T.OL_Id= rgLevelId OR rgLevelId = 0)
AND T.Country_Id=58
AND ( T.InnerCountry_Id=subCountryId OR subCountryId = 0)
GROUP BY T.latitude
}