Tableau 热图中颜色的开始、结束和中心设置

Tableau Start, end, and center settings for colors in heat map

我想我有一个简单的问题,但我想不出来。

我有一个显示百分比的度量。我想使用 "edit colors" 下的 'red-green-yellow diverging' 根据以下标准设置颜色:

0%-100% = green; 
100%-115% = yellow; 
greater than 115% = red

原来这么简单!我不知道如何使用 'edit colors' 中的 "start"、"end"、"center" 来实现上面我想要的。

需要写if条件才能得到结果

if field >=0% and field <100% 
then green
elseif field >=100% and field <115% 
then yellow
else
red

将公式置于颜色中,然后编辑颜色,然后为输出分配所需的颜色