How can I create Quater to date measure through fiscal calendar
QTD =
CALCULATE (
[Total Amount],
FILTER (
ALLEXCEPT ( 'Calendar', 'Calendar'[FiscalYear] ),
'Calendar'[FiscalQuarter] = MIN ( 'Calendar'[FiscalQuarter] )
&& 'Calendar'[Date] <= MAX ( 'Calendar'[Date] )
)
)
And this particular formula is not working and how can i resolve this