DAX code
Sales % of Selected =
DIVIDE([Total Sales], CALCULATE([Total Sales], ALLSELECTED('Product')))
Compares sales for the current row against the total across everything the user has selected on slicers, ignoring visual-level filters like the row itself.
Type your table and column names once. Every measure below updates.
Sales % of Selected =
DIVIDE([Total Sales], CALCULATE([Total Sales], ALLSELECTED('Product')))
ALLSELECTED differs from ALL: it respects the report's slicers but ignores filters coming from the visual itself (like the current table row).
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Sales for Selected Items vs All (ALLSELECTED).