If you have an expressed power level in dB, basically dB and dBm are the same. dBm is simply the power level related to 1mW. In dB mark you can have a different reference level or the same and then it will be the same as dBm

the general formula you have is this:
P [dB] = 10log (P [W] / Po [W]) where: Po - reference power
i.e. appropriately for dBm you have
P [dBm] = 10log (P [W] / 1mW)
If the voltage level (current etc) was in decibels, then instead of 10log in the formula there is 20log.
I hope you understood some of this and that I was right

) - I knew it a year ago

)