Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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)
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 14 | |
| 11 | |
| 10 | |
| 9 |