Create new functions that enable Last Non Empty querying similar to OLAP cubes to better handle semi additive measures.
Ex, If i have data set of Closing Balances at month level, i want to directly have a single master measure that if grouped by Year or Quarter or Period, and by any other Dimension, to directly show the last Date Period value available
Currenlty the only way to do this is a have a specific set expression per Calendar property ex for Year
Sum // YEAR LEVEL
(
Aggr
(
If
(
[Year Month Number] = Max(TOTAL <[Fiscal Year]> [Year Month Number]),
Sum(ClosingAmount)
),
[Fiscal Year], [Quarter Year], [Year Month Number], FACTTABLE_UNIQUE_KEY
)
)