To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Dear all,
my below formula is returning an error
This formula is invalid or incomplete: 'The expression is not valid or appears to be incomplete. Please review and correct the expression.
The end of the input was reached.
'.
Avg Fte=CALCULATE(SUM('Flash WTD'[Avg FTE]),FILTER('Flash WTD',MAX('Flash WTD'[Index]))
Solved! Go to Solution.
@vjnvinod You should try something like below and also you need to add one more bracket at the end to make it complete.
Avg Fte=CALCULATE(SUM('Flash WTD'[Avg FTE]),FILTER('Flash WTD','Flash WTD'[Index]=MAX('Flash WTD'[Index])))
@vjnvinod You should try something like below and also you need to add one more bracket at the end to make it complete.
Avg Fte=CALCULATE(SUM('Flash WTD'[Avg FTE]),FILTER('Flash WTD','Flash WTD'[Index]=MAX('Flash WTD'[Index])))
I think you need to change this.
MAX('Flash WTD'[Index]) = xxx
@vjnvinod , what are you trying here
one option
Avg Fte=CALCULATE(SUM('Flash WTD'[Avg FTE]),FILTER(allselected('Flash WTD') ,'Flash WTD'[Index] = MAX('Flash WTD'[Index])))
Second option
Avg Fte=
var _max = maxx(allselected('Flash WTD') ,'Flash WTD'[Index] )
return
CALCULATE(SUM('Flash WTD'[Avg FTE]),FILTER(('Flash WTD') ,'Flash WTD'[Index] = _max ))