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!View all the Fabric Data Days sessions on demand. View schedule
Hello - I am in powerbi desktop, working with a set of data where I need to sum the values of SKU by selecting the max across a few categories - export and account.
Example
account | export | sku
x | 123 | 1000
x | 124 | 1000
x | 125 | 1000
x | 126 | 1500
y | 459 | 1000
y | 458 | 1000
y | 457 | 1000
y | 456 | 2000
I am looking for a result of 3500 from above (sum of the max of account and export)
How can I do this?
Solved! Go to Solution.
Hi,
Write these measures
Measure = max(Data[sku])Measure 2 = SUMX(VALUES(Data[account]),[Measure])
Hope this helps.
Hi,
Write these measures
Measure = max(Data[sku])Measure 2 = SUMX(VALUES(Data[account]),[Measure])
Hope this helps.
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!