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

View all the Fabric Data Days sessions on demand. View schedule

Reply
PeakBizOpt
Regular Visitor

DIVIDE yields incorrect results with numerator and denomenator in separate tables

I have the below data model that utilizes the one-to-many relationship of the field 'Date" in red. I need the blue square to be the numerator and the green square to be the denominator. It's also worth noting that both fact tables have five entries for each date (one entry for each building). I'm using the following DAX: 

 

Avg Allocated Utilization % =
    DIVIDE(
        SUM('Utilization Report'[Average Person Count]),
        SUM('Capacity and Allocation'[Allocated]),
    0
    )

 

Data Model.png

Ultimately I need to show this and three other measures that are the same (different data such as capacity figures instead of allocation figures) in a clustered column chart. The chart is separated by the 'Building' field as shown below (I'm clipping off the building names at the bottom purposely.) My expectation is that this will show the entire aggregation of data, then I can use date filters such as month and/or day of the week to filter down to targeted data as needed.

 

My problem is that these values are incorrect by quite a bit. The Peaks should be showing anywhere from 50%-80% and the Averages should be 20%-40%. 

 

PeakBizOpt_1-1698089958506.png

 

The source data is clean and I've tried many different angles for the DAX with no luck. Thank you in advance for the guidance!

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Your data model is missing the building dimension.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Your data model is missing the building dimension.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors