Skip to main content
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 .

1 Solution

Accepted Solutions
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!

View solution in original post

14 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @Qlikuser09 ,

 

This can be done in multiple ways but let me know which approach you would like to use from below

Dou likes to make a static chart or you want to select Management or staff in any filter.

 

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

i want to rearrange my table, to work well with Qliksense, for now, I'm able to create only static charts. I want dynamic ones

abhijitnalekar
Specialist II
Specialist II

Hi @Qlikuser09 ,

Please follow the below steps

1. create a new dimension at the script level.  

if(match("Attributed fields",'Management','Manager','CIO')>1,'Management','Staff') as newDim,

2. GO to Master Items. Create New dimension as below

abhijitnalekar_0-1633347958607.png

 

3. Add Hierarchy in the table along with the measure.

 

Let me know if this solves your purpose.

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

if(match("Attributed fields",'Management','Manager','CIO')>1,'Management','Staff') as newDim, this should be added as a varialble or should be added in the data load editor

abhijitnalekar
Specialist II
Specialist II

Add in the Data load Editor.

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

if(match("Attributed fields",'Management','Manager','CIO')>1,'Management','Staff') as newDim, i tried adding this.  however I am  getting error after "if(match("Attributed fields",'Management','Manager','CIO')>1," 

abhijitnalekar
Specialist II
Specialist II

"Attributed fields" Is this your filed name in the real dataset?

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

yes , that's the field name, (management total and staff total) are the hierarchy   level 1 and (manager, CIO, It staff, Dev staff are the level 2 hierarchy)

abhijitnalekar
Specialist II
Specialist II

Can you share the exact error which you are getting after loading the script

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