Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
saniyask
Creator
Creator

how do i arrange feilds according to the given data

table1

   

RegionSubRegionData
R1SB11
R1SB25
R1SB37
R2SB49
R3SB510
R4SB67
R4SB78
R5SB89

OUTPUT

 

SB11
SB25
SB37
R113
SB49
R29
SB510
R310

HOW WILL I GET THE DESIRED OUTPUT

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached example.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

See attached example.


talk is cheap, supply exceeds demand
sunny_talwar

May be this:

Table:

LOAD * Inline [

Region,     SubRegion,      Data

R1,               SB1,                    1

R1,               SB2,                    5

R1,               SB3,                    7

R2,               SB4,                    9

R3,               SB5,                    10

R4,               SB6,                    7

R4,               SB7,                    8

R5,               SB8,                    9

];

Concatenate(Table)

LOAD Region as SubRegion,

           Sum(Data) as Data

Resident Table

Group By Region;