Place bacon in a large, deep skillet. Cook over medium high heat until it starts to brown. Stir in leeks and cook until just tender.
Toss potatoes with flour and stir into leek mixture, coating thoroughly. Pour in milk and stir in goat cheese. Cook until cheese is melted and mixture is bubbly. Pour into a 7x11 inch baking dish and sprinkle with Parmesan cheese.
Bake in preheated oven for 45 minutes, or until top is golden brown and potatoes are tender.