Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Updated: 3/2/2023 @ 250PM
Hi,
I have an issue I ran into with using a quick measure for weighted average. I listed my formula below. But basically realized my issue is that the "Value" formula only brings over unique values. So when I have two entries that are both 95. The weighted average should be 95, as they are both the same... but it gives me 190. Is there a different forumula I should use other than Values to give me all values, not just unique?
Sample Table (all value do not change. Once inputed they never change):
UPB LTV
A 300,000 95.00
B 100,000 95.00
C 200,000 80.00
Note: I simply use slicers to filter out with loans I am analzying together. So scorecard with this measure below shows weighted avgerage or is supposed to. Does not work properly as discribed below.
Current Formula:
Solved! Go to Solution.
@azale2407 , Try like
Divide(SUMX('Sample Table','Sample Table'[LTV] * 'Sample Table'[UPB]), calculate( SUM('Sample Table'[UPB]), allselected()))
@azale2407 , Try like
Divide(SUMX('Sample Table','Sample Table'[LTV] * 'Sample Table'[UPB]), calculate( SUM('Sample Table'[UPB]), allselected()))
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 39 |