Question about CPI consumer price index

Hi anyone out there can help me with this
An increasing of CPI of a country is better or decreasing. Or is better to hit the forecast rate ?
When a country has a decrease CPI what will affect the forex