Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

conditional column on the basis of drilldown

i have one straight table, in which one column is dril down group.

currently i have 3 columns name,gross,net,allowances.

Name is drilldown group upto 3 levels- say manager,teal lead,employee

Now i want to show 5th column as month when i drii down upto 3rd level as employee.

meaning when i select 3rd level-employee month column should be added in column

before-

Name(manager/teamlead)  gross  net  allowances

when I drill down to level emplyee,table will show month column

Name(employee)  month gross net allowances

I tried using getcurrentselection(), but gives me whole hierarchy when go to 3rd level like (manaer:(manager name:) |Teal Lead: (Team lead name) | employee:(employee name))
how can i check that i have selected employee now ???

1 Solution

Accepted Solutions
mahesh_agrawal
Creator
Creator

Hi,

You have to use the GetCurrentFields() in the Conditional box for that column.

Please find the attached QVW(Don't Reload the doc).

View solution in original post

4 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

What about:

     GetSelectedCount(employee) = 1

for the condition?

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Its drilldown group dimension


mahesh_agrawal
Creator
Creator

Hi,

You have to use the GetCurrentFields() in the Conditional box for that column.

Please find the attached QVW(Don't Reload the doc).

Not applicable
Author

Mahesh, its correct, its working now