The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I'm using the following DAX to calculate the weighted average of two columns. I have a large matrix table and using the below formula on several columns and just changing the values range each time.
18 Onshore Temps NHT =
IF( Divide (
SUMX( OpsLeaders, [6 Onshore Queued Volumes] * [18 Onshore Temps] ),
SUMX( OpsLeaders, [6 Onshore Queued Volumes] ))
= BLANK(), 0,
Divide (
SUMX( OpsLeaders, [6 Onshore Queued Volumes] * [18 Onshore Temps] ),
SUMX( OpsLeaders, [6 Onshore Queued Volumes] )))
Solved! Go to Solution.
@bassmaninaus_PB , simply try like this
Divide (
SUMX( OpsLeaders, [6 Onshore Queued Volumes] * [18 Onshore Temps] ),
SUMX( OpsLeaders, [6 Onshore Queued Volumes] ),0)
@bassmaninaus_PB , simply try like this
Divide (
SUMX( OpsLeaders, [6 Onshore Queued Volumes] * [18 Onshore Temps] ),
SUMX( OpsLeaders, [6 Onshore Queued Volumes] ),0)