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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Javid88
Contributor II
Contributor II

About sorting

Hello everybody,

 

I have a column named Con_TYPE in which there are multiple types of connections such fiberoptic, satellite, 3g etc.

and i want to sort them only into 2 rows    fiberoptic (for example) 5

                                                                                    and others                          115

can anybody help me?

Thanks in advance

Labels (3)
4 Replies
BrunPierre
Partner - Master II
Partner - Master II

Assuming its grouping you intend then maybe like this

In script:

IF(Match(Trim(Con_TYPE) ,'fiberoptic'), 'fiberoptic', 'others') as [Connection Type]

As a calculated dimension

IF(Match(Trim(Con_TYPE) ,'fiberoptic'), 'fiberoptic', 'others')

Javid88
Contributor II
Contributor II
Author

I tried it but not working ((((

BrunPierre
Partner - Master II
Partner - Master II

LOAD *,
IF(Match(Trim(Con_TYPE) ,'fiberoptic'), 'fiberoptic', 'others') as [Connection Type];

LOAD * Inline[
Con_TYPE,Number 
fiberoptic,5
satellite,15
3g,100];

O/P

BrunPierre_2-1664577834884.png

Javid88
Contributor II
Contributor II
Author

Thanks