Closed achafetz closed 6 years ago
Did this in R and then realized it's probably best to do in Tableau (due to any potential aggregation?)
In Tableau, created 3 measures - TX_NEW, HTS_TST_POS, and then Linkage off of those two
//HTS_TST_POS
IF[Indicator] = "HTS_TST_POS" THEN [Result Wkly]
ELSE NULL
END
//TX_NEW
IF[Indicator] = "TX_NEW" THEN [Result Wkly]
ELSE NULL
END
//PROXY_LINKAGE
SUM([TX_NEW])/SUM([HTS_TST_POS])
LINKAGE = TX_NEW/HTS_TST_POS