I'm very new in MDX. Right know I'm using Mondrian MDX engine.
Is there a way to get the last non empty date from a cube?

I try to use the CurrentDateMember([Time], "[yyyy]\.[m]\.[dd]") to get the current date. But this an workaround and not answer to my question.

Exemple of MDX query:
select NON EMPTY {
NON EMPTY Crossjoin({CurrentDateMember([Time], "[yyyy]\.[m]\.[d]")}, {[NE].[All]}) ON ROWS

I read that LastNonEmpty, can be the answer, but I don't understant how to use it. But I think this is not the answer to my question.