Forum Discussion
bchandl7
9 years agoFrequent Visitor
YTD Measure not working properly
Hello, I am very new to Microsoft BI, and I have a problem I am trying to solve. I have a measure that I have created to calulate sales amounts based off a fiscal year column: FY15 Sales Amt ...
v-ljerr-msft
9 years agoMicrosoft Employee
Hi bchandl7,
Have you tried the formula below to see if it works? :smileyhappy:
FYTD15 Sales =
TOTALYTD (
SUM ( 'Sales'[Sales Amt] ),
dCalendar[Date],
FILTER (
ALL ( 'Sales' ),
'Sales'[Fiscal_Year]
= ( MAX ( 'Sales'[Fiscal_Year] ) - 2 )
),
"6/30"
)
Regards