Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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!
Solved! Go to Solution.
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" )
)
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" )
)
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
Do you need the NOI to be in the same column as your monthly income? Or, could it be in a second column?
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 35 | |
| 28 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 59 | |
| 57 | |
| 40 | |
| 22 | |
| 20 |