Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to add supplier info to scatter plot

Hello Everybody,

I am trying to solve the follwing problem.

I set up a scatter chart indicating price (y axis) and quantity purchased (x axis), as a dimension I use the article number.

Now I would like to add the information "supplier name" to the data point or highlight all data point from the same supplier with the same color. Goal is to visualize where the articles of the different suppliers are located in the scatter chart.

i.e. Supplier A: Down right (high quantity, low price) or Top left (low quantity, high price) etc.

Anybondy can help me?

Thanks much in advance.

Best Regards,

beat27-Dec-15 10-37-18 PM.jpg

1 Solution

Accepted Solutions
swuehl
MVP
MVP

For the background color attribute expression of the X axis expression, try something like (assuming Supplier as supplier field name):

=Color(FieldIndex('Supplier',Supplier))

View solution in original post

7 Replies
swuehl
MVP
MVP

For the background color attribute expression of the X axis expression, try something like (assuming Supplier as supplier field name):

=Color(FieldIndex('Supplier',Supplier))

HirisH_V7
Master
Master

Hi

Check out the Attachment.

Hope this Helps ,

Regards,

Hirish

HirisH
“Aspire to Inspire before we Expire!”
Not applicable
Author

Thank you guys for your answer.

When I put in the "=Color(FieldIndex('Supplier',Supplier))" using "Lieferantenname" as "Supplier. Now all data points (articles) turn black although in the underlying excel column (Lieferantename) there are a number of different supplier names.

I insert a screenshot. What am I doing wrong?

28-Dec-15 1-18-07 PM.jpg28-Dec-15 1-18-16 PM.jpg

HirisH_V7
Master
Master

Hi beat,

Did you got your desired Result!

-Hirish

HirisH
“Aspire to Inspire before we Expire!”
Not applicable
Author

Hi Hirish

Unfortunatly not yet, see my 2nd post above.

Can you think of a solution? or what I am doing wrong?

Thanks much in advance.

Best,

Beat

swuehl
MVP
MVP

If your field is named Lieferantenname, you should also use this as field name in FieldIndex() function:

=Color(FieldIndex('Lieferantenname', Lieferantenname))

Or what is the relation between Lieferant and Lieferantenname and are the field values the same?

Not applicable
Author

Perfect. Now it works. Thank you for your support.

Best,

Beat