Forum Discussion
Calculation with Slicer
Hello,
I have the below date table (called Value Date) which is linked to a slicer on the right.
I would like to calculate the difference between a chosen slicer date's total and the total on the last day of the recent end of the month.
I have already created measures for them (below) but for some reason finding it hard to create a measure linking the first measure to the slicer.
Total on last day of most recent EOM:
Value in GBP on last day of Month (Last Month) V1 =
VAR __LastMonthDate = EOMONTH(TODAY(),-1)
VAR __LastMonth = MAXX(FILTER('Value Date',[Date]=__LastMonthDate),[Total Portfolio Balance in GBP])
RETURN
__LastMonth
Anonymous , for last day of recent month when slicer have some other value selected
calculate([Total Portfolio Balance in GBP ], filter(all('Value Date'), 'Value Date'[Date] = eomonth(today(),-1) ) )
assuming Value Date is a date table
1 Reply
- amitchandakSuper User
Anonymous , for last day of recent month when slicer have some other value selected
calculate([Total Portfolio Balance in GBP ], filter(all('Value Date'), 'Value Date'[Date] = eomonth(today(),-1) ) )
assuming Value Date is a date table