QuantityVariableDimensions
QuantityVariableDimensions[quantityvariable] returns a list of base dimensions associated with the specified quantityvariable.
Examples
Get the dimensions of a quantity variable:
QuantityVariableDimensions["Length"]
(* {"LengthUnit"} *)Please visit the official Wolfram Language Reference for more details.