Created
August 23, 2015 18:32
-
-
Save ralfbecher/512f42d5380a84a4acdf to your computer and use it in GitHub Desktop.
QlikView color code percentage of max value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=Replace( | |
ColorMix2 (if(rangemin(.90,rangemax( Sum(value) / Max({1} TOTAL value),.50))<.75,-Sqrt(-(rangemin(.90,rangemax( Sum(value) / Max({1} TOTAL value),.50))-.75)/(.75-.50)),Sqrt((rangemin(.90,rangemax( Sum(value) / Max({1} TOTAL value),.50))-.75)/(.90-.75))), RGB(255, 0, 0), RGB(0, 255, 0), RGB(255, 255, 0)) | |
,'ARGB(255,','RGB(') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment