I am sure that you hooked up +12v and a ground to the
power terminals on the gage. Hope you didn't get the two sets of terminals confused. I would never do anything like that, nor have I.
Otherwise, bad gage, or bad shunt, or broken wire in the run to the shunt.