1. Replace a filter
A simple filter argument overrides any existing filter on that column.
Revenue France = CALCULATE ( [Revenue], Customer[Country] = "France" )
In a matrix by country, every row shows France: the slicer on Country is replaced.
2. Keep the existing filter
Revenue France (kept) = CALCULATE ( [Revenue], KEEPFILTERS ( Customer[Country] = "France" ) )
Now only the France row has a value; other countries are blank.
3. Remove a filter to compute a share
Share of total =
DIVIDE ( [Revenue], CALCULATE ( [Revenue], REMOVEFILTERS ( Customer[Country] ) ) )