i have a measures :
sum(nonempty([Time].[Year - Trimester - Month - Date].currentmember.lastchild,[Measures].[Cantidad]),
[Measures].[stock])
and [Measures].[stock] is :
Sum(
PeriodsToDate([Time].[Year - Trimester - Month - Date].[(All)]
,[Time].[Year - Trimester - Month - Date].currentmember),
[Measures].[Cantidad]
)
my problem is when i have a time filter by date (day) in browser and in columns is the Months , the stock is the last stock nonempty of month and i want if i have a filter 15 september that is the stock of 15 septiembre and not 31 septiembre.
thanks