Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
1. Quantity Sold>3 = CALCULATE( [Customer Sales], FILTER(ALL('Sales by Store'[quantity_sold]),'Sales by Store'[quantity_sold]>3))
2. Quantity Sold>3 = CALCULATE( [Customer Sales], FILTER('Sales by Store', 'Sales by Store'[quantity_sold]>3))
Which one the above DAX code is more optimized for performance?
Isn't option #1 more optimized for performance as it is only scanning the column Quantity sold and not the whole Sales by Store column?
Solved! Go to Solution.
In short, yes
In short, yes
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 32 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 70 | |
| 38 | |
| 27 | |
| 24 |