Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
BKBO04
Frequent Visitor

Calculated performance indicator in table visual

Hi! As a total beginner to Power BI my problem is the following:

 

In my query I have several columns with revenues, costs and amounts for each month over several years and 2 scenarios (plan and forecast):

  • revenue electricity (€)
  • amount of electricity (MWh)
  • cost gas input (€)
  • amount of gas input (MWh)
  • ...

I added columns to calculate specific performance indicators that show the revenue/cost per amount, e.g. revenue electricity (€/MWh), cost gas input (€/MWh). Then I unpivoted all the revenue, cost and performance indicator columns and now have one column with all the indicators (calculated and base indicators). 

 

Now I want to build a table visual which shows me the calculated performance indicators in the rows and the value for plan and forecast in the columns:

 planFC
revenue electricity (€/MWh)12,3414,56
cost gas (€/MWh)5,673,34

 

I used two measures:

= calculate (average(indicators[value], indicators[scenario="plan")

= calculate (average(indicators[value], indicators[scenario="fc")

 

This works for one months, but I want the calculation to be for one year, e.g. choose 2020 or 2021 from a slicer above and the table should show total revenue electricity and total cost gas divided by the total electricity/gas amount for that year. As it is the measure returns the average of the 12 values for one year, which ist not the same as the total values divided by each other. How do I do this? I can create specific measures for each of the 4 performance indicators in the table above. But then I can't show them in one table...

 

I hope I have made myself clear enough.

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi , @BKBO04 

Do you have resolved it? If yes,you could share your own solution here.

For now, there is no content of description in the thread. If you still need help, please share more details to us.

 

Best Regards,
Community Support Team _ Eason

v-easonf-msft
Community Support
Community Support

Hi , @BKBO04 

It's difficult to grasp without seeing the entire model .

Please share a  sample data  in excel and  show the expected  result.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors