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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Reetz
Helper II
Helper II

Calculate percentage based on values in multiple tables

I am new to DAX.

 

I have 2 tables: Order Table and Hospital Table, that I am trying to calculate a usage rate. The problem is that I won't always have data for every month in one table that corresponds to the same month in the other table.

 

I only want to perform the calculation when I have corresponding data, by month, in both tables. 

 

I am also connected live to my dataset. Is that the same thing as Direct query?

 

I need to perform 2 calculations:
1. Usage rate by month for those months where we have matching data in both tables
2. Total average usage rate for those months where we have matching data in both tables.

The usage rate calculation is Order Table[order history]/ Hospital Table[PT days]

 

Capture.PNG

0 REPLIES 0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.