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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
janardhan
Creator
Creator

sorting

Hi Friends ,

I have two columns , like

Hours                         worksoft.hours

---------------------------------------------------------

orderning35,5             timelon 37,5

orderning37,5             timelon 35,5

I need Output like this :

Hours                         worksoft.hours

---------------------------------------------------------

orderning35,5             timelon 35,5

orderning37,5             timelon 37,5

Can Anyone help me how to sort

Thanks inAdvace

Janardhanreddy

1 Reply
jagan
Partner - Champion III
Partner - Champion III

Hi Janardhan,

Try this script below

Temp:

LOAD * INLINE [

Hours1,Hours2

"orderning35,5",             "timelon 37,5"

"orderning37,5",             "timelon 35,5"

];

Test:

LOAD

    RowNo() AS RowNo,

    Hours1

RESIDENT Temp

ORDER BY Hours1;

Test2:

LOAD

    RowNo() AS RowNo,

    Hours2

RESIDENT Temp

ORDER BY Hours2;

DROP Table Temp;

Hope this is what you are expecting.

Regards,

Jagan.