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
HI,
I have a relatively simple dataset copied below where I am seeking to replicate SUMPRODUCT from Excel by working out the difference between sub asset classes between two dates and applying a weighting. I have been able to create the measure but it is displaying oddly in the Matrix visual in Power BI desktop so I am hoping someone can point me in the direction of what I need to add:
| BB Summary | Sub AA | Attribute | Value | Weight |
| Gilts | Gilt Long | 30 June 2021 | 3941.19 | 0.25 |
| Gilts | Gilt Long | 31 May 2021 | 3912.91 | 0.25 |
| Gilts | Gilt Short | 30 June 2021 | 305.48 | 0.75 |
| Gilts | Gilt Short | 31 May 2021 | 304.78 | 0.75 |
The table is called "Benchmark Performance (GBP)" and I have been able to create a measure as follows:
In the above example, I would expect the output to be Gilts 0.18+0.17% = 0.35%
Any pointers greatly appreciated
Solved! Go to Solution.
Hi @danakajoel
try it
test= SUMX(VALUES('Benchmark Performance (GBP)'[Sub AA]),[Value % difference from Period Start GBP])
Hi @danakajoel
try it
test= SUMX(VALUES('Benchmark Performance (GBP)'[Sub AA]),[Value % difference from Period Start GBP])
Hi Vera. Absolutely perfect. Thank you. I'd spent hours investigating and trying ISINSCOPE etc to no avail. I'll need to read up on the VALUES function to better my understanding but problem solved 🙂
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!