Unit conversion: dBμV to dBm, including measured frequency
The "dBm" is a unit of power where 0 dBm = 1 milliwatt. The dB\$\mu\$V is a unit of voltage where 0 dB\$\mu\$V is 1 microvolt. If you know the resistance of the circuit (often called the impedance) you can convert 10 dB\$\mu\$V to 3.162 \$\mu\$V and square it then divide by resistance (often 50 \$\Omega\$) to get power.

So assuming the resistance is 50 \$\Omega\$, 3.162 \$\mu\$V produces a power of 0.2 picowatts and this converts to -97 dBm.


  how to include frequency into that formulas.


It isn't included unless you are leaving some important information out of your question.