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
Anonymous
Not applicable

Possible to divide each column value of a table by each column value of another table ?

Hi,

I have a table A with these columns: site_name, monthly_productibility. I also have a table B with these columns: site_name,monthly_production. I want to divide the column monthly_production (table B) by the column monthly_productibility (table A).

When I try the DIVIDE function (fast measure or DAX function):

DIVIDE(
    SUM('TABLE_B'[monthly_production]),
    COUNTA('TABLE_A'[monthly_productibility]))

The results are just so wrong, I tried different formulas but still doesn't work and I want to merge the tables only if I am obligated to do so (I am more into a generic approach).

Thank you by advance for your answer,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, 

 

Well this doesn't work, but I finally found out the answer.

 

DIVIDE(
    SUM('TABLE_B'[monthly_production]),
    AVERAGE('TABLE_A'[monthly_productibility]))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , You can create a common site table analyze against that, Why one is a sum and another is count

 

Try like

DIVIDE(
SUM('TABLE_B'[monthly_production]),
sum('TABLE_A'[monthly_productibility]))

 

Check for common table https://www.youtube.com/watch?v=Bkf35Roman8

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
Anonymous
Not applicable

Hi, 

 

Well this doesn't work, but I finally found out the answer.

 

DIVIDE(
    SUM('TABLE_B'[monthly_production]),
    AVERAGE('TABLE_A'[monthly_productibility]))

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric 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.

Users online (27)