Forum Discussion

graceste's avatar
graceste
Frequent Visitor
8 years ago
Solved

last available value

Hi, I'm having problem with a measure and hope you can help me.

I am receiving daily updates for different segments for example:

SegmentValueDate
A101.07.18
B201.07.18
C501.07.18
B705.07.18
C1005.07.18
C1210.07.18
A1001.08.18
B2001.08.18
C1501.08.18
B2505.08.18
C2005.08.18
C3010.08.18

 

I have Date in a Slicer and expected result if I choose 10.08.18 would be following:

SegmentValueLast avail.Value in month 
A 10last value from 1/8/18
B 25last value from 5/8/18
C3030 

 

and if choosen date in Slicer is 10.07.18, the result should be 

SegmentValueLast avail.Value in month 
A 1last value from 1/7/18
B 7last value from 5/7/18
C1212 

 

2 Replies