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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 125 | |
| 108 | |
| 47 | |
| 30 | |
| 25 |