Forum Discussion
Calculating ARR
zameenakarmali , Create a measure using
DAX
ARR =
VAR SelectedMonthYear = SELECTEDVALUE(Dim_Date[Month-Year])
VAR SelectedDate = MAX(Dim_Date[Date])
RETURN
CALCULATE(
SUM(Contract[ACV]),
FILTER(
Contract,
Contract[Month Added] <= SelectedMonthYear &&
Contract[End Quarter] >= SelectedMonthYear
)
)
Create a Slicer: Add a slicer to your report using the Month-Year column from the Dim_Date table. This will allow you to select a specific month-year.
Thank you for this,
I got the following error:
any ideas?
- bhanu_gautam1 year agoSuper User
zameenakarmali , This is data type error
Try using
dax
ARR =
VAR SelectedDate = MAX(Dim_Date[Date])
RETURN
CALCULATE(
SUM(Contract[ACV]),
FILTER(
Contract,
Contract[Month Added] <= SelectedDate &&
Contract[End Quarter] >= SelectedDate
)
)- zameenakarmali1 year agoHelper I
The issue is that we are comparing the Quarters which is a text field to Month-Year which is a date column