Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

PIVOT GROUPING / AGGR / SET ANALYSIS

Hi All,

   I need a help here. I have a dataset as shown below. The data is coming from 2 diffrent source SYS1 and SYS2. The Column SOURCE tells where the record is coming from. and now i have to render this data in pivot table with extra colum as shown below (diagram2)

I.e what is want is if you see Column Output in diagram 2. It should show the from where the data is come from

Example:

   A E I S are presenet in both system so Output is SYS1 and SYS2

B G O U olny in SYS2 So output in SYS2

Would you please paste expression here as im not using license version.

   

SourceCol1Col2Col3Col4
Sys1AEIS
Sys2AEIS
Sys2AEMT
Sys1AFNU
Sys2BGOP
Sys1CHPW
Sys2CHPW
Sys1CHPX
Sys2CHPX
Sys2DIQY
Sys1DJRZ
Sys1DKRAA
Sys2DKRAA

   

Level1Level2Lev2l3Level4Output
AElSSys1, Sys2
MTSys1
FNUSys2
BGOVSys1
CHPWSys1,Sys2
CXSys1,Sys2
DIQYSys2
DJRZSys1
DKAASys1,Sys2
5 Replies
petter
Partner - Champion III
Partner - Champion III

This is a very straightforward Pivot table without the need for Aggr() nor set expressions:

2018-08-16 07_18_04-Microsoft Edge.png

The only thing that might be obvious is the existence of the very handy Concat() function that is a text aggregation function that allows you to take multiple values and aggregate them up to a single string with the selected delimiter.

Anonymous
Not applicable
Author

Thanks Petter, Ya it helped.

  Actually can i show in Popup when i mouse over column Level4?

petter
Partner - Champion III
Partner - Champion III

If you want a more compact layout and dont need to expand and collapse the levels a normal Table can be used... but you'll have to use a clever trick to format the text of the dimension as white and/or transparent to not get repeating dimension valus in the table....

balabhaskarqlik

This can possible like this: (By default, this cann't possible with pivot or straight tables).

[qlikview type=”exp”]=Customer & chr(10)

& aggr( EmailAddress & chr(10)

& Phone

,Customer )[/qlikview]

Check this: Cell Popups in Straight Table | Qlikview Cookbook

balabhaskarqlik

Other charts have this option: