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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.