Ryan Robinson Posted September 11, 2023 Share Posted September 11, 2023 Hi I have a scatter plot. I want to connect points only for specific data. How do I do this?I tried writing a custom expression but its not working. In the screenshot attached I want to only see the blue and red line. Is this possible?Thank you Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted September 11, 2023 Share Posted September 11, 2023 You might try creating a new column to use as your Line Connection setting. Something like:case when [current column]="yes" then [current column] end as [new column]This will fill in the values you want, and leave the rest blank. Then you can use this new column under Line Connection Link to comment Share on other sites More sharing options...
Ryan Robinson Posted September 11, 2023 Author Share Posted September 11, 2023 Hi KristenI tried what you recommended and thought that it would work but it does not. See the Screenshots maybe I did something wrong.Thank you! Link to comment Share on other sites More sharing options...
Ryan Robinson Posted September 11, 2023 Author Share Posted September 11, 2023 The last picture shows that the dots are connected for multiple "Fields" and not just the one on which I flagged with the Case When statement. Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted September 11, 2023 Share Posted September 11, 2023 Would it be possible for you to provide your DXP file with data embedded/stored? That will be helpful for us to determine how to resolve the issue. Link to comment Share on other sites More sharing options...
Ryan Robinson Posted September 11, 2023 Author Share Posted September 11, 2023 Here it is. See what you think. Thank you! Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted September 12, 2023 Share Posted September 12, 2023 Try setting the "Order each line by" to the same column to get what you're looking for. Link to comment Share on other sites More sharing options...
Ryan Robinson Posted September 12, 2023 Author Share Posted September 12, 2023 Yes I tired that. and it works only for one field. But it does not work if I want to add one more field. The "Order each line by" only accepts one column and not multiple columns. If I put one flag for more than one field in the same column in this example "Machuhske_Flag" then it connects both fields together. Do you know if this is a bug that "Draw a separate line per value in" does weird things?Thank you for looking at it for me! Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted September 12, 2023 Share Posted September 12, 2023 You might want to vote for this suggestion in our Ideas Portal:https://ideas.tibco.com/ideas/TS-I-6561I think this covers what you are attempting to do. 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