Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
marcel_olmo
Partner Ambassador
Partner Ambassador

How to make numbers from a range

Hi guys,

I have a table like this :

Code

08000-08042

08060

08061

And I'd like to get this result :

Code

08000

08001

08002

08003

...

08042

08060

08061

How could I get that?

Regards, Marcel.

1 Reply
sunny_talwar

Try this

Table:

LOAD *,

Start + IterNo() - 1 as NewCode

While Start + IterNo() - 1 <= End;

LOAD Code,

SubField(Code&'-', '-', 1) as Start,

SubField('-' & Code, '-', -1) as End;

LOAD * INLINE [

    Code

    08000-08042

    08060

    08061

];