Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217137

PnL: Vertical Analysis % issue

$
0
0

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:

pnl capture 1.PNG

 

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.

 

pnl capture 2.PNG

 

Any idea how to resolve this with the CALCUALTE function? I need this to be a dynamic value.

 

Thanks.

 

 

 


Viewing all articles
Browse latest Browse all 217137

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>