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

inline table

i have 2 companies named QWERTY, ASDFG

in qwerty i have regions like bangalore, cochin, abc, def

in asdfg i have regions like abcs, xyz, mnc, defs

i have a inline table like

load  * inline

[

Incident zone, name

1, bangalore

2, cochin

3, abc

4, def

3s, abcs

5, xyz

6, mnc

4s, defs

];

and one more

Load* inline [

columnname, name, sheetname

qwerty , 1 , qwerty

asdfg , 2 , asdfg

Combined , 3 , both

];

so in dashboard i created a list box with fields

qwerty

asdfg

combined

so when i click on qwerty i should get only bangalore, cochin, abc, def in another list box

and when i click on asdfg i should get only abcs, xyz, mnc, defs

and when i click on combined i should get all the names in the list box.

so please help me as new to qlik.

6 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

First of all - there is no association between the companies and the zone names or regions. You need to create the associations before you can work meaningfully with this data model. Once that is in place, selecting a company will filter the region list box to the relevant regions.

Rather than creating a value of combined, consider no selection as "combined". This the normal QV design pattern and behaviour. If for some reason you absolutely must have a combined option in the list, you will need to add "Combined" to the "Region" associations.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
dineshm030
Creator III
Creator III

Hi,

You have a mapping issue in your data. Please provide the sample correct data

ramasaisaksoft

Hi Sona,

you can create only one Inline table

load  * inline

[

Incident zone, name,columnName

  

1, bangaloreqwerty
2, cochinqwerty
3, abcqwerty
4, defqwerty
3s, abcsasdfg
5, xyzasdfg
6, mncasdfg
4s, defsasdfg
1, bangalorecombined
2, cochincombined
3, abccombined
4, defcombined
3s, abcscombined
5, xyzcombined
6, mnccombined
4s, defscombined
dineshm030
Creator III
Creator III

Hi Sona,

I think you want like this result. Attached QVW file is for your reference.

I have used two inline tables. Just go throw it.

I hope this helps.

hemanthaanichet
Creator III
Creator III

Hi Sona,

There is no association between the companies and the zone names or regions. so u may have issue in get the desired results.

I make some changes in your data and worked on that

As per your requirement i showed it in the list box

i think this may helps you

attached the qvw for your reference


Regards

Hemanth


MK9885
Master II
Master II

When you select QWERTY, it will only show you Banglore as the Name field in both the tables are common as 1 for Banglore. But for Cochin, your Name field value is 2 in 2nd Inline, hence it will not show you Cochin.

Map the fields and values correctly so that you'll get a proper selection.

Thanks.