If you look at the specs, you can see that is a 50k potentiometer.
That means that the maximum resistance is 50k. That is too large and turns the fan off.
The best way to control a fan is to use a fan controller.
This is an example.
http://www.svc.com/zazm1mufansp.html
Each channel is a voltage regulator, not a variable resistor (potentiometer). You can control multiple fans with this and it looks much nicer and it mounts as a drive and you will be able to control the fans without having to open the case.
However, if you want to do it with a resistor, you can too.
1- Find out the effective resistance of the fan you intend to control.
There are several ways to do that. One is to look at the label on the fan and see if it states the power consumption at 12V. If it does, divide 144 by the power. The result is the resistance.
It will be something in the approximate range of 20 to 100 Ohms.
Another way is to use a multimeter and measure the current through the fan when you apply 12V to it. Divide 12 by the measured current and that is the effective resistance.
2- Calculate the maximum resistance you need to place 5V across the fan. So, there will be 5V across the fan and 7V across the resistor (5V + 7V = 12V). Since you have the fan resistance, you can calculate the resistance value you need. R = 5 / 7 X Rfan.
Let's say the effective resistance of your fan is 40 Ohms (just an example). Then, R = 5 / 7 X 40 = 29 Ohms.
3- Calculate the maximum power consumed in the resistor.
That happens when the resistor value is set to be the same as the fan resistance. The power is V^2/R.
Or, 36/R.
For our example, the power is 36/29 = 1.24W.
4- Get a variable resistor (potentiometer) with a maximum value you calculated in 2 or less, and a maximum power capability you calculated in 3 or more.