Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |