Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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,
Solved! Go to Solution.
Hi,
Well this doesn't work, but I finally found out the answer.
DIVIDE(
SUM('TABLE_B'[monthly_production]),
AVERAGE('TABLE_A'[monthly_productibility]))
Hi,
Well this doesn't work, but I finally found out the answer.
DIVIDE(
SUM('TABLE_B'[monthly_production]),
AVERAGE('TABLE_A'[monthly_productibility]))
@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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |