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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
hello,
kinldy i have very simple sumx calculation
it iterates agients 3 million row in a table and about 300 rows in another table;
the code is
| Date | Net Sales Value | |
| 1/1/2019 | 10 | |
| 1/1/2019 | 20 | |
| 1/1/2019 | 45 | |
| 1/2/2019 | 67 | |
| 1/2/2019 | 87 | |
| 1/3/2019 | 45 | |
| 1/4/2019 | 44 |
| 1/1/2019 | 4 | |
| 1/2/2019 | 5 | |
| 1/3/2019 | 5 | |
| 1/3/2019 | 5 |
Solved! Go to Solution.
For your reference.
I use ’SUM’ instead of 'SUMX'.
Step 1: I make a calendar table and add 2 relationships.
Step 2: I make a measure below.
Measure = DIVIDE(SUM('Table'[Net Sales Value]),AVERAGE('RateDate'[USD Price]))
Step 3: I make a matrix below.
For your reference.
I use ’SUM’ instead of 'SUMX'.
Step 1: I make a calendar table and add 2 relationships.
Step 2: I make a measure below.
Measure = DIVIDE(SUM('Table'[Net Sales Value]),AVERAGE('RateDate'[USD Price]))
Step 3: I make a matrix below.
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!