Hello,
first the pot is only for the digital output, it has no effect on the analog one.
second, check your wiring, the analog should always report something, make sure the analog you use in the sketch is the one wired ... basic mistake... same for the 5V and ground.
there is also a led on the board, if the board is correctly powered at some moment the led should turn up.