IMO I agree with HighCore that this seems over complicated. However, if this must be done like you have it (which I would guess is possible to do) then, just a guess, try a relative source bind like:
Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}}, Path=DataContext.ShowProfileMappingCommand}"
Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}}, Path=DataContext.HideProfileMappingCommand}"
Idk if this xaml is in a usercontrol or page, you will have to change the ancestorType to the type of control your using here. This may or may not help.
Setting inline: Command="{Binding Path=ShowProfileMappingCommand}" may potentially cause problems too at the same time using datatriggers.