SELECT {[Measures].[Iznos]} ON COLUMNS,
NON EMPTY{[Skolska_godina].Members} ON ROWS
FROM Uplata

select sk.naziv, sum(iznos_uplate)
from skolska_godina sk, uplata u, upis up
where u.id_upis = up.id_upis and up.id_skolska_godina = sk.id
group by sk.id

SELECT {[Measures].[Iznos]} ON COLUMNS,
       {[Datum].Members} ON ROWS
FROM Uplata

select datum_uplate, sum(iznos_uplate)
from uplata
group by datum_uplate
