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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Urgent help require on Simple data hierarchy

My tableis having three columns like Brand No, Brand Name and Mat Name.

I want to create a list box which will have Band(with '+' sign) and when i will click on that it will show all Mat name for that Brand

Bran No.BrandMat Name
1AlMasy
1Alkite
2BLpen
2BLpencil
2BLkart
2BLmask
2BLchart
2BLcap
3CLtoy
3CLgame
8 Replies
Not applicable
Author

i want in list box with data hieracchy..

rbecher
MVP
MVP

Hi,

just add a concatenated field for the hierarchy (see attachment):

data:

LOAD *, Brand & '/' & MatName as Hierarchy;

LOAD * INLINE [

    BranNo, Brand, MatName

    1, Al, Masy

    1, Al, kite

    2, BL, pen

    2, BL, pencil

    2, BL, kart

    2, BL, mask

    2, BL, chart

    2, BL, cap

    3, CL, toy

    3, CL, game

];

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Not applicable
Author

But in above example we are not able to select parent like AL, BL, We need to select data inside it?

Why is it so? Can we select Al, BL directly

nirav_bhimani
Partner - Specialist
Partner - Specialist

HI Kirti,

Please find the attchment which will help you to build hierarchy structure.

Regards,

Nirav Bhimani

Not applicable
Author

Hi Nirav,

Pl find attched application.

as per your example -In ths application parent is Short_Description and child is Material Type.

e.g.

Short_Description is grouped and when we press '+' sign it will show all corresponding Material Type

nirav_bhimani
Partner - Specialist
Partner - Specialist

HI Kirti,

Now whats the problem in creating a hierarcgy structure from it.

Remember in Hierarchy involve Parent code, Child code and Child name only.

Then make Transaction table which is having all the child data and which is map with your Hierarchy with Child Code.Hope this will help you.

Or else can you tell me what you want to do further. If possible then share your datafile so that I can help you further to build hierarchy structure.

Regards,

Nirav Bhimani

Not applicable
Author

i have already shared QVW.

Not applicable
Author

I have only 2 columns.i need data hierarchy. Pl Help

Short_DescMaterial_Name
Aerobid(DISC)AEROBID-M PLACEBO DISPLAY EACH
AerobidAEROBID-M SAMPLE(1 CAN X 7GM)  7GM  DISC
AerobidDISC AERO BRONCTREE MODEL      EACH
AerobidDISC AEROBID-M INHALER SYSTEM     7GM
AerobidDISC AEROBID-M PA SAMPLE (1 CAN x 3.5GM)
AerobidDISC AEROBID-M SAMPLE(1 CAN X 3.5 GM)
AerobidDISC AEROBID-PA SAMPLE (1 CAN x 3.5GM)
AerobidDISC AEROBID INHALER SYSTEM     7GM
AerobidDISC AEROBID SAMPLE (1 CAN X 3.5 GM)
AerobidDISC AEROBID SAMPLE(1 CAN X 7GM)    7 GM
AerobidDISC AEROCH. DEMO CTR W/MOUTHPCE BX 20
AerobidDO NOT USE * AEROBID-M PLACEBO -> 2489
AerobidDO NOT USE * AEROBID PLACEBO CAN&HOLDER
BenicarDISC Benicar 20/12.5mgHCT Sampl 7-bottle
BenicarDISC Benicar 20mg Sample (10307) 1X7
BenicarDISC Benicar 20mg Sample 7ct bottle each
BenicarDISC Benicar 20mg/12.5mg HCT 30ct EEP ea
BenicarDISC Benicar 40/12.5mgHCT Smpl 7-btl eac
BenicarDISC Benicar 40/25mgHCT Sample 7ct bottl
BenicarDISC Benicar 40mg Sample (#10407) 1X 7
BenicarDISC Benicar 40mg Sample 7ct bottle each
BenicarDISC Benicar 40mg/12.5mg HCT 30ct EEP ea
BenicarDISC Benicar JNC7 Goal Program
CelexaCELEXA                              1 OZ
CelexaCELEXA 20MG                           90
CelexaCELEXA 20MG                          500
CelexaCELEXA 20MG                         1000
CelexaCELEXA 20MG                         5000
CelexaCELEXA 40MG                           90
CelexaCELEXA 40MG                          500
CelexaCELEXA 40MG                         1000
CelexaCELEXA 40MG                         5000
CelexaCELEXA BULK 10MG TABLETS TRADE
CelexaCELEXA BULK 10MG TABLETS Validation
CelexaCELEXA BULK 20MG TABLETS TRADE
CelexaCELEXA BULK 40MG TABLETS TRADE
CelexaCELEXA TABLETS 10MG     100
CelexaCELEXA TABLETS 20MG     100
CelexaCELEXA TABLETS 20MG(CHALLENGE) 30  DISC
CelexaCELEXA TABLETS 40MG     100
CelexaCITALOPRAM HBR
CelexaDISC CELEXA-PA 20MG Sample 1X7    1 each
CelexaDISC CELEXA-PA 20mg STRTR KIT 1x14 1cd
CelexaDISC Celexa-PA Tablets 40mg     100
CelexaDISC CELEXA     4 OZ
CelexaDISC CELEXA  Liquid     8 OZ
CelexaDISC CELEXA 20MG      30
CelexaDISC CELEXA 20MG H.U.D.            10X10
CelexaDISC CELEXA 20MG SAMPL(1X7 W/O GRAV)1CRD
CelexaDISC CELEXA 20MG SAMPLE (1x7 TAB) 1 CARD
CelexaDISC CELEXA 20MG STRTR KIT(1x14TAB)1CARD
CelexaDISC CELEXA 20MG TABLET SAMPLES  BULK