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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
Mburman-07
Advocate I
Advocate I

Recreating calculation as a measure

Hi All,

 

Currently I have the following calculation in a table visual 

CF = [Sum of ENERGY_GENERATION_VOLUME]/([Capacity_]*[Days in Month]*24)

The items in the visual are:
Days In month which is a column in my calendar table
Energy Generation Volume which is a column in the Meter Volume Table
Capacity__ which is a measure consisting of the Capcaity column in my Sites Table * 1000

I want to try and recreate this calculation as a measure so that I can use it in a bar chart like the below. 
Mburman07_0-1728308919019.png

 

1 REPLY 1
bhanu_gautam
Super User
Super User

@Mburman-07  , First create a measure for Capacity 

Capacity__ = SUM(Sites[Capacity]) * 1000

 

Then create the measure for CF

 

CF =
DIVIDE(
SUM(MeterVolume[ENERGY_GENERATION_VOLUME]),
[Capacity__] * SUM(Calendar[Days in Month]) * 24
)

 

This measure can now be used in your bar chart in Power BI.

 

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.