All,
I need to implement vertical analysis to my PnL statement.
My DAX query to calcualte the percentage is as follows:
Vertical = 'Profit & Loss Measures 1 Company'[Profit & Loss Value]/(CALCULATE(SUM('Profit & Loss Statement'[Profit & Loss Balance]),FILTER('Profit & Loss Statement','Profit & Loss Statement'[Profit & Loss Account Number]=1)))
End result of the above expression is:
So a lot of NaN and Infinity entries.
However, if I replace the second part of the expression (calculate.....) with a static number, say 2010 Revenue value 128,218, the the Vertical expression get evaluated correctly and correct percentages are displayed.
Any idea how to resolve this with the CALCUALTE function? I need this to be a dynamic value.
Thanks.