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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

parent child relation

HI All,

I have a issue,please see the below table:

parentchildpersonsubpersonsales
1-a-10
222bc10
223bb20
224bb30
333de40
4-f-40
555cd20
556cc25
557ce35
666ff55
667fb50
668fa40

I have the data based on parent child relation and i have person and subperson based on the parent child relation sample data is the above one.

My requirement is

1.Now i want to display person and subperson as a single field.

2.If i will select any person it should show the value of that person only ex:if i will select b value is 100,c=35,a=50.

3.If i will select parent it should show that parent sales ex:2=60,4=40,5=80,6=145.

can some one help me on this...

thanks in advance,

regards,

baru

5 Replies
Not applicable
Author

HI All,

I have a issue,please see the below table:

parentchildpersonsubpersonsales
1-a-10
222bc10
223bb20
224bb30
333de40
4-f-40
555cd20
556cc25
557ce35
666ff55
667fb50
668fa40

I have the data based on parent child relation and i have person and subperson based on the parent child relation sample data is the above one.

My requirement is

1.Now i want to display person and subperson as a single field.

2.If i will select any person it should show the value of that person only ex:if i will select b value is 100,c=35,a=50.

3.If i will select parent it should show that parent sales ex:2=60,4=40,5=80,6=145.

can some one help me on this...

thanks in advance,

regards,

baru

Not applicable
Author

can any help in this...

Not applicable
Author

Hi,

can anyone know how to resolve this......

michael_maeuser
Partner Ambassador
Partner Ambassador

1. just load person & subperson as field...

2, 3. qlikview does that usually always, if you do a sum(sales)

MarcoWedel

Hi,

like this?:

tabSales:

LOAD parent,

    child,

    person,

    subperson,

    sales

FROM [http://community.qlik.com/thread/127519]

(html, codepage is 1252, embedded labels, table is @2);

QlikCommunity_Thread_127519_Pic1.JPG.jpg

QlikCommunity_Thread_127519_Pic2.JPG.jpg

QlikCommunity_Thread_127519_Pic3.JPG.jpg

QlikCommunity_Thread_127519_Pic4.JPG.jpg

QlikCommunity_Thread_127519_Pic5.JPG.jpg

hope this helps

regards

Marco