There isn't really one single measure of inflation, despite what is often implied. There are many. The reason for that is that every measurement methodology distorts some aspect of the economy, so you (should) choose the measure that distorts the least for the aspect you care about.