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

window title change based on drill down group switch

Hi Gurus,

i have 2 groups.

1._DD

2.group2

If i select Year from used dimensions list window title showing Inspections By year.its fine

if i select region it should show Inspections by region

i have expression like below for window Title:

='Inspections '

&pick( WildMatch(GetCurrentField(_DD)

,'*Year*','*Region*','*Health Authority*','*Site*','*GXP Area*','*Site Type*','*Phase*')

  ,'by Year'

  ,'by Region'

  ,'by Health Authority'

  ,'by Site'

  ,'by GXP Area'

  ,'by Site Type'

  ,'by Phase'

  )

I want the same to implement for Group 2 Drilldown if user selects Region field.

Please find the attached application

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Maybe something like this :

='Inspections by ' &

if ( SubStringCount(Concat(DimFlag,'|'),1) ,

GetCurrentField(_DD) ,

GetCurrentField(Group2)

)

View solution in original post

9 Replies
Not applicable
Author

Hi,

Try using the below code in expression for Windows title:

='Inspections by '

&if(not match([Used Dimensions],'Category','Assessment','Department'),[Used Dimensions])

Anonymous
Not applicable
Author

if i click Year from Used dimensions List ,_DD Drilldown will Activate.

if i select Region from Used dimensions List ,Group 2 Drilldown will Activate.

same window title should swith between _DD& Group2 Drilldowns Based on Selected one

Problem is how to include Group 2 Drill down name in the same expression

Anonymous
Not applicable
Author

... or maybe even just :

     ='Inspections by ' & [Used Dimensions]

I suspect there are other issues in the qvw.

Anonymous
Not applicable
Author

can u suggest if there are any other issues.

I tried ur suggestion    ='Inspections by ' & [Used Dimensions]

if i use above ,if i select year -> after i will drill down to Region->after i will drilldown to health Authority.

so, window title not matching with regions,health Authority

Anonymous
Not applicable
Author

Maybe something like this :

='Inspections by ' &

if ( SubStringCount(Concat(DimFlag,'|'),1) ,

GetCurrentField(_DD) ,

GetCurrentField(Group2)

)

Not applicable
Author

Will this be ok:

='Inspections '

&if(DimFlag=1,pick( WildMatch(GetCurrentField(_DD)

,'*Year*','*Region*','*Health Authority*','*Site*','*GXP Area*','*Site Type*','*Phase*')

  ,'by Year'

  ,'by Region'

  ,'by Health Authority'

  ,'by Site'

  ,'by GXP Area'

  ,'by Site Type'

  ,'by Phase'

  ),

if(DimFlag=2,pick( WildMatch(GetCurrentField(Group2)

,'*Region*','*Health Authority*','*Site*','*GXP Area*','*Site Type*','*Phase*')

  ,'by Region'

  ,'by Health Authority'

  ,'by Site'

  ,'by GXP Area'

  ,'by Site Type'

  ,'by Phase'

  )

  ))

Anonymous
Not applicable
Author

Hi Bill,

Thanks for Your Time.

Its worked for me.let me test once again .

Thanks you very much.

Anonymous
Not applicable
Author

... and don't forget to tag replies as Helpful / Correct.

Anonymous
Not applicable
Author

Hi Jemimah,

Thanks for your Time.

Your solution also working fine .

Thank you very Much.