Most of the coal mined in North Dakota is burned in North Dakota. It is lower grade lignite that doesn't bear the cost of transit. The electric power generated is then sent to Minnesota.
Much of the coal burned by utilities elsewhere in the upper Midwest is from the Powder River Basin which transits through the Dakotas.