I am coming across an issue while dividing two measures "Spend running total" and "Total Invoiced Amount", which are calculated as :
Spend running total (numerator)= VAR InvoicedAmount = CALCULATE ( SUM ( [Invoiced Amount]) ) RETURN CALCULATE ( SUM ( [Invoiced Amount] ), FILTER ( ALL ( [Vendor name] ), CALCULATE ( SUM ( [Invoiced Amount] ) >= InvoicedAmount ) ) )
Total Invoiced Amount(Denominator) = SUM([Invoiced Amount])
The division is not evaluated and I don't see a line for that in the chart, but when I replace it with the hard coded value, it evaluates and can be seen in the chart.
Am I missing something? Would really appreciate any help.