For the following table I’m wanting to conditional format the Total HPPD column based on the target range in the Min/Max HPPD columns (ie. in the below Med - Respiratory would highly red, and Med - Neurology would highly blue).
The Min/Max HPPD are static ranges for each different Patient Type (~250 types) contained within a dimensions table, whilst the Total HPPD is a measure created from the main fact table (an export from the source system).
Now, select the measure “Total HPPD” and apply the conditional formatting using the “Field Value” option. Below is the screenshot of the conditional formatting as well as of the final results provided for the reference -