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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
In this DAX query, the returned values for Rank by Sales column look strange. If the filter context from Sales table is commented, the result is correct. The same issue was found with SUMMARIZE too. As the moment, I can work around by nesting the column name and columns expression in ADDCOLUMNS expression, but I wanted to understand what's going wrong internally with SUMMARIZE or SUMMARIZECOLUMNS in this case? Could anyone help? Thanks!
EVALUATE SUMMARIZECOLUMNS ( 'Product'[Brand], Sales, "Total Sales", [Total Sales], "Rank by Sales", RANKX ( ALL ( 'Product'[Brand] ), [Total Sales] ) )
User | Count |
---|---|
8 | |
8 | |
5 | |
5 | |
3 |