Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 46 | |
| 31 | |
| 29 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 57 | |
| 38 | |
| 21 | |
| 21 |