Chart from table lagging when one argument has multiple values
Asked by Kai Winter:

Hello allmighty Experts,

I have a problem!

I need to a plot showing that Value is in Spec for each Set.

| Character | Set | Value | Spec Max | Spec Min |
|-----------|-----|-------|----------|----------|
| A         | 1   | 0.6   | 1        | -1       |
| B         | 2   | -0.2  | 1        | -1       |
| C         | 3   | 1.5   | 1        | -1       |
| D         | 4   | -0.3  | 1        | -1       |

Spec is always the same, so should show up as a horizontal line.

![2023-06-09 14_50_01-dvfdvdfvd - WINTER Kai - IMS Nanofabrication GmbH Servicewiki Confluence ? Mozil.png](/t5/image/serverpage/image-id/262389i8B5466FE079B566C/image-size/large?v=v2&px=999 "2023-06-09 14_50_01-dvfdvdfvd - WINTER Kai - IMS Nanofabrication GmbH Servicewiki Confluence ? Mozil.png")

However, when I have two rows corresponding to the same Set my Spec line is broken.

| Character |  Set  | Value | Spec Max | Spec Min |
|-----------|-------|-------|----------|----------|
| A         | 1     | 0.6   | 1        | -1       |
| B         | **2** | -0.2  | 1        | -1       |
| C         | **2** | 1.5   | 1        | -1       |
| D         | 3     | -0.3  | 1        | -1       |

![2023-06-09 14_48_18-dvfdvdfvd - WINTER Kai - IMS Nanofabrication GmbH Servicewiki Confluence ? Mozil.png](/t5/image/serverpage/image-id/262387iEEE476931369C768/image-size/large?v=v2&px=999 "2023-06-09 14_48_18-dvfdvdfvd - WINTER Kai - IMS Nanofabrication GmbH Servicewiki Confluence ? Mozil.png")

Anyone has an idea how I could solve this? I often have multiple values corresponding to the same set.

Cheers

Kai


Answers:
author: Stiltsoft support
body: Hi [@Kai Winter](/t5/user/viewprofilepage/user-id/4856145) ,

Seems that the behavior is correct: you can't have two identical numbers (values) on the axis. The graph is confused which "two" from which row we need to take.

In your Character column all your values are unique, maybe you can take them for X-axis instead of the Set column?

![Fri 9-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/262415i074F3D6B7ACCDD28/image-size/large?v=v2&px=999 "Fri 9-1.png")

comments: author: Kai Winter
body: The same happens if I call my Set a different way

![2023-06-09 16_10_43-dvfdvdfvd - WINTER Kai - IMS Nanofabrication GmbH Servicewiki Confluence ? Mozil.png](https://community.atlassian.com/t5/image/serverpage/image-id/262419i07A04C118B6E23E7/image-size/large?v=v2&px=999 "2023-06-09 16_10_43-dvfdvdfvd - WINTER Kai - IMS Nanofabrication GmbH Servicewiki Confluence ? Mozil.png")

Also Spec Min takes the value -2, which doesn't exist in the table.


author: Kai Winter
body: Is there a way to plot horizontal lines in a line plot additonaly to the main data?

In Gantt chart there is an option of using 2 tables under one Chart from table macro:

![2023-06-09 16_28_56-07.06.2023 TV Project Alignment_ Backup Team - Evaluation and Tuning - IMS Nanof.png](https://community.atlassian.com/t5/image/serverpage/image-id/262429i9616A1196A630C31/image-size/large?v=v2&px=999 "2023-06-09 16_28_56-07.06.2023 TV Project Alignment_ Backup Team - Evaluation and Tuning - IMS Nanof.png")


author: Stiltsoft support
body: Your idea to plot horizontal lines for the line chart is correct: just to use additional columns with the same values.

What concerns the Gantt chart, it is possible to use three tables under one Chart from Table macro: with projects, with milestones, with events.

Please check our [step-by-step guide](https://docs.stiltsoft.com/tfac/dc-server/gantt-chart-type-42239634.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) regarding this chart type.


Tags: chart

confluence-server

filter

ms-excel

server

table