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
I have two datasets that were pulled together (via append). I had to append instead of make a measure, etc to make other calculations work.
Ex Dataset looks something like this:
I have multiple Opportunity IDs but I'm trying to get the SUM of DISTINCT VALUES so used the calc below. It works as expected at the row level but goes wonky when it gets to the subtotal value.
Total Sales_SUMx/DISTINCT =
SUMX (
(DISTINCT('Sales'[Opportunity ID])) , MAX('Sales'[Total Sales Amount])
)
Solved! Go to Solution.
Hi @Pam ,
You can create a new measure to be placed on the visual object instead of the old measure.
NewMeasure = SUMX(VALUES('Sales'[Opportunity ID]),[Total Sales_SUMx/DISTINCT])
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
Neeko Tang,
That did it! Thank you for your help, I really appreciate it!
Hi @Pam ,
You can create a new measure to be placed on the visual object instead of the old measure.
NewMeasure = SUMX(VALUES('Sales'[Opportunity ID]),[Total Sales_SUMx/DISTINCT])
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |