c p Posted December 9, 2020 Share Posted December 9, 2020 I have created a graphical table in spotfire I havecolumns 'Group', 'Score', 'Pass/Fail' I want to setup Alert Icon(Pass/Fail column) red or green circle base on Score. But pass-fail criteria is different for different groups. let say for group1 is 35%and group2 is 40% How can I write a customer expression for this I cannot see the Group or Score as column to select in the "Customer Expression" window. I see only Axis.Icon in the 'Column' section I was thinking of using something like this below in the icon setting custom expression case WHEN [Group] = 'Group1' and [score] Link to comment Share on other sites More sharing options...
Fabian Duerr Posted December 9, 2020 Share Posted December 9, 2020 I think you should do the following: Create a calculated column [PorF] that describes the current state of your groups (Pass/Fail) Then setup two rules for your icons using 'starts with' The result is shown here and the dxp file is attached. (My rule in this example: If last value of a group >= 9 then Pass else Fail) Link to comment Share on other sites More sharing options...
c p Posted December 10, 2020 Author Share Posted December 10, 2020 Thanks a ton. That worked Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now