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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Need Help Creating a Measure

Hi,

I need help with a measure.  My model is shown below.  I have the following tables...

1. Fact - Expense - Shows expense by Job

2. Fact - Units - Shows multiple units by job.  Units are defined by an account name.

3. Dim - Jobs table with hierarchy and attrributes

4. Dates Table

 

I have two measures that are relevant to my question...

 

1. Total Expense - Sums the Expense column in the Expense Fact Table

Total Expense = SUM('RM METRICS - EXPENSE'[EXPENSE])

 

2. Total CM Feet - Sums the Unit column for all rows where the Account Name = CM Feet

Total CM Feet = CALCULATE(SUM('RM METRICS - UNITS'[UNITS]),'RM METRICS - UNITS'[ACCT NAME] = "CM Feet")

 

I am trying to create a Measure that will calculate "Expense per CM Foot".  However, I only want the Numerator (Expense) to sum up expense on Jobs that have "CM Feet" in the Units Table.  (So not all jobs have amounts in all unit accounts.)  And then the denominator will be the "Total CM Feet" Measure.

 

Thanks for your advise!

 

image001-1.png

 

 

1 REPLY 1
amitchandak
Super User
Super User

You can try making RM Metric and Job join bi-direction.  It should allow you access to the units

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.