We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to overlay dots and lines when the x-axis does not match exactly

christinaliu
6 - Meteoroid

Hi community, 

 

i have a table of data, a simplified example below. I would have 4 lines from 4 different columns, then dots from the last column. The x-axis for the dots and lines does not overlay 100%. Which would cause discountinuous lines in my graph. 

 

I wonder if there is a way to show continuous lines when the dot need to appear. 

 

Screenshot 2024-05-15 151739.png

 

many thanks

 

2 REPLIES 2
alexnajm
18 - Pollux
18 - Pollux

I am confused by the expected output - can you clarify?

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @christinaliu ,

It seems the line chart is cut where the data is null.

To make it continuous, you may want to impute a value so that the line looks straight.

I made a sample workflow.

(Please note it works only when the missing data does not appear side-by-side.)

 

I hope this helps.

 

Workflow

1273040_Workflow.png

Multi-Row Formula Expression

IF IsNull([Value])
THEN [Row-1:Value] + ([Row+1:Value] - [Row-1:Value]) / ([Row+1:month] - [Row-1:month]) * ([month] - [Row-1:month])
ELSE [Value]
ENDIF

 

Output

1273040_Chart.png

Labels
Top Solution Authors