There was a need to find in the membrane the most common expression of a certain measure. It is necessary to calculate it in the membrane, since the period may be different and the value should be recalculated accordingly.
If the following code
select [Measures].[Umsatz VK Brutto CM] on 0, non empty ( [Datum].[Monat Key Name].&[201601], [Artikel].[BasVanr Char Name].children, [Hypermarkt].[SBWID].&[67005901] ) on 1 from [GlobusUser] returns
201601 - A - GM67005901 - 10 ัััะบ 201601 - B - GM67005901 - 20 ัััะบ 201601 - C - GM67005901 - 30 ัััะบ 201601 - D - GM67005901 - 30 ัััะบ 201601 - E - GM67005901 - 40 ัััะบ then the member should return the value 30
select top 1 x, count(*) from ( ...) group by x order by 2 desc- nick_n_a