The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |