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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Mburman-07
Helper I
Helper 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.