Using field parameters and calculation groups for conditional formatting

How to apply conditional formatting on measures picked from a slicer and implemented using two techniques: field parameters and calculation groups.