Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
louise119
Creator III
Creator III

Plot two types of data in one scatterplot

Is it possible to draw two types of data in one scatter plot with different plot colors?

Labels (6)
9 Replies
ogster1974
Partner - Master II
Partner - Master II

Perhaps mock-up what your ask is and we can assist you better.

louise119
Creator III
Creator III
Author

I want to create a scatterplot like the attached image with Qlik.

scatterplot.png

ogster1974
Partner - Master II
Partner - Master II

Not sure if this is doing what you ask but I have

2 measures qty and sales

by product 

coloured by product group.

Is that the capability you are looking for?

ogster1974_0-1674553092860.png

 

louise119
Creator III
Creator III
Author

Thank you so much.That is what I want to make.
But the "product" part wants to fetch two items from another table.
For example, I want to use the same measures(2 measures qty and sales) for data a in table A and data b in table B.

ogster1974
Partner - Master II
Partner - Master II

You can add alternative dimensions to your chart to analyse more through the exploration panel.  In my case having the option of switching between Invoices and Products using the same measures.

ogster1974_0-1674554190174.png

 

louise119
Creator III
Creator III
Author

Thank you so much. I am currently using Qlik Sense for development.
I would like to display data from two tables by default, is that difficult?

ogster1974
Partner - Master II
Partner - Master II

its inbuilt in the chart capability itself as an alternate dimension working off the underlying data model so are long as your data model works the chart will function as expected.

louise119
Creator III
Creator III
Author

Does that mean I can't plot data from two tables at once in a scatterplot?

ogster1974
Partner - Master II
Partner - Master II

I think if I get your question then for the extra dimension you can either select it as an alternate or use it to color your bubbles if appropriate.

but no you can't have 2 dimension points in the same scatter chart at the same time.  you can either:

1. use 2nd dimension as an alternative

2. colour the point by the 2nd dimension

3. size the point by a 3rd measure