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

Announcements
Qlik Unveils New Agentic Capabilities Across Analytics, Data Engineering, and Trust: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Grouped Dimension: Employee Role

Hello,

The data table is a series of invoices as rows and has 4 columns identifying who is the Account Manager, Sales Rep, Tech Rep and Extra.

When I load the data I am presented with these 4 Dimensions but i wish to create one Dimension: "Employee", when the name is selected it will show all the rows where this employee is an Account Manager, Sales Rep, Tech Rep and/or Extra.

Let me know your thoughts,

Jarl.

Labels (1)
1 Solution

Accepted Solutions
pokassov
Specialist
Specialist

Hi!

You can create another table from your data table:

Employees:

load

     IDInvoice,

     [Account Manager]          as Employee,

     'Account Manager'          as Position

Resident

     DataTable;


concatenate (Employees)

load

     IDInvoice,

     [Sales Rep]               as Employee,

     'Sales Rep'               as Position

Resident

     DataTable;

...


delete fields [Account Manager], [Sales Rep] from DataTable;

Sergey

View solution in original post

3 Replies
stigchel
Partner - Master
Partner - Master

do a crosstable load of the 4 dimensions, something like

crosstable ( Type, Employee, 1)

I'd,

AccountManager as Account Manager,

DalesRep as Sales Rep,

..

See help for crosstable load

pokassov
Specialist
Specialist

Hi!

You can create another table from your data table:

Employees:

load

     IDInvoice,

     [Account Manager]          as Employee,

     'Account Manager'          as Position

Resident

     DataTable;


concatenate (Employees)

load

     IDInvoice,

     [Sales Rep]               as Employee,

     'Sales Rep'               as Position

Resident

     DataTable;

...


delete fields [Account Manager], [Sales Rep] from DataTable;

Sergey

Not applicable
Author

Thank Sergey and Piet.