Forum Discussion
Calculation
This may be a real simple calculation, but I am having trouble gettting it. Perhaps, because it's a Monday.
What I want to do is calculate the Net Operating Income as a % of Revenue for each month. I know I want to do Net Operating Income / Revenue, but how do I create the measure with the data set up this way?
Thanks!
You may create a measure as shown below.
Measure = DIVIDE ( CALCULATE ( SUM ( Table1[Actual] ), Table1[Metric] = "Net Operating Income" ), CALCULATE ( SUM ( Table1[Actual] ), Table1[Metric] = "Revenue" ) )
4 Replies
- TomMartensSuper User
Hey,
the easiest way to achieve what you want is to pivot your table in Power Query and create two metric colums with the value
And than the result looks like this
From here you can simply your measure, without pivoting your Metric column can can become very difficult to find the proper lines.
Hope this helps
- v-chuncz-msftCommunity Support
You may create a measure as shown below.
Measure = DIVIDE ( CALCULATE ( SUM ( Table1[Actual] ), Table1[Metric] = "Net Operating Income" ), CALCULATE ( SUM ( Table1[Actual] ), Table1[Metric] = "Revenue" ) ) - corodyneFrequent Visitor
Do you need the NOI to be in the same column as your monthly income? Or, could it be in a second column?
- RsanjuanAdvocate III