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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlikuser09
Creator II
Creator II

creating a drill down data using in Qliksense data load editor

I had a pivot table kind of data. i did a cross table and now I have a table with three rows like this.

Sample data

Company codeAttributed fieldsCount
AAManager2
AACIO1
AAIT Staff1
AADev Staff1
AAManagement Total3
AAStaff Total2
ABManager5
ABCIO2
ABIT Staff3
ABDev Staff2
ABManagement Total7
ABStaff Total5

 

Interpretation of the data

Management total - (Manager + CIO)

Staff Total(IT Staff+Dev Staff).

I have to make the tables function well with the front end, such that, if I select the management total, the other chart should display the details with the Manager and CIO. 

Any ideas/suggestions on how to separate the data fields .

14 Replies
abhijitnalekar
Specialist II
Specialist II

Can you share sample data? I can provide you the QVF file with the solution.  

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
Qlikuser09
Creator II
Creator II
Author

Sample Data:

Company codeAttributed fieldsCount
AAManager2
AACIO1
AAIT Staff1
AADev Staff1
AAManagement Total3
AAStaff Total2
ABManager5
ABCIO2
ABIT Staff3
ABDev Staff2
ABManagement Total7
ABStaff Total5
abhijitnalekar
Specialist II
Specialist II

Hi @Qlikuser09 ,

 

Please find attached QVF .

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
Qlikuser09
Creator II
Creator II
Author

thanks, @abhijitnalekar , thus actually worked, however, I don't want to create a new field called Manager and staff, since we already have an existing management total and staff total in the table itself. is it possible that I list the fields manager, CIO under the already existing management total and IT staff, Dev staff under the already existing staff total field without breaking the logic? 

abhijitnalekar
Specialist II
Specialist II

Hi @Qlikuser09 ,

Change the logic in the script as below.

if(WildMatch([Attributed fields],'Manager','CIO')>=1,'Management',
if(WildMatch([Attributed fields],'Staff*')>=1,
'Staff')) as newDim,

and uncheck the checkbox of Include null values of Hierarchy

 

abhijitnalekar_0-1633418152410.png

 

 

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!