Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Sequential number output using dash

andrewplaice
8 - Asteroid

Hi all,

 

It's been a few months since I posted so I must be learning something!  I am, however, stumped on this.  I have table data that I concatenated to combine rows, but would like to make the concatenated data even more concise.  Rather than listing sequential data, I'd like to use a dash, when appropriate, but I am not sure the best way to approach this.  My data currently looks like the Delay Period data, but would like it to look like Revised Delay Period data.

 

Appreciate your help as always!

 

Delay PeriodRevised Delay Period
1, 21-2
5, 6, 7, 10, 11, 12, 15, 16, 17, 20, 21, 225-7, 10-12, 15-17, 20-22
5, 105, 10
6, 66, 126, 186, 2466, 66, 126, 186, 246
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 121-12
3 REPLIES 3
OllieClarke
15 - Aurora
15 - Aurora

@andrewplaice That was a fun challenge! Here's what I came up with:

OllieClarke_0-1602862694280.png

 

Greg_Murray
12 - Quasar

@andrewplaice 

 

here you go! 

Greg_Murray_0-1602862671636.png

 

andrewplaice
8 - Asteroid

That's awesome!  Thanks!

Labels