Hi @Harris,
You can also refer to below link where we have DAX calculation for hierarchy
How to do Conditional Format referring to group average - #9 by MK3010