To calculate the friction slope is incredibly easy. The simplest form of the formula is taking you flow rate or Q and divide that by your K. Then take that answer and square it. (Q/K)^2.
I am still working out the bugs on the pipe velocity. The pipe flow rate must be typed in for each of your pipe sections in the pipes properties. Next add your pipe friction slope to your pipe label style. Be sure to set your precision to .0001 (See image below)