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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Drill Down

I have  a Drilldown group called "GeoLevel" with fields Nation, REGION_ID, DISTRICT_ID and TERRITORY. I have another list box with field [Geography Level] that has Nation, Region, District and Territory in it. I want to control the selection in such a way that if i drill down to REGION_ID in the drilldown group the [Geography Level] list box should be at Nation level. similarly if i go to TERRITORY in drill down group, [Geography Level] should be at District level again if i come up to DISTRICT_ID in the drill down the [Geography Level] filter should be at Region Level.

For that i created a variable called vGeoLevel with its value as

GetCurrentField([GeoLevel])

Now in triggers i have provided action to the variable OnInput "Select in Field"

Field= [Geography level]

Search String=

if(GetCurrentField([GeoLevel])='REGION_ID','Nation',   
if(GetCurrentField(
[GeoLevel])='DISTRICT_ID','Region',    
if(GetCurrentField(
[GeoLevel])='TERRITORY','District')))

On change also i have given the same action. Ideally it should work because i have done the same thing once with cyclic group. But i dont know why it is not working

Labels (1)
4 Replies
v_iyyappan
Specialist
Specialist

Hi,

     Cau u attach a sample application ?

regards,

Iyyappan

sivarajs
Specialist II
Specialist II

use getselectedcount instead of getcurrentfield

Not applicable
Author

getselectedcount does not work.

sivarajs
Specialist II
Specialist II

Check the attached sample