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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Sri4
Contributor II
Contributor II

Add dimension to pivot table automatically by split fields from data manager

Hi ,

I have loaded table from the data manager .Sample data mentioned below. I split the filed into multiple fields by delimiter. I want to create a pivot table and add dimensions automatically into my pivot table if split fields increase from data manager.  

Table:

Path

C/forums/community

D/ Qliksense

D/Qliksense/ Sense/files/documents

 

Labels (3)
1 Reply
Or
MVP
MVP

I don't think there's a way to automatically add new dimensions to an existing object, barring use of Automation and/or API.

You might be able to work around this by creating dummy dimensions with a single value (e.g. Load 'Dummy' as Field6 autogenerate(1)), adding them to the pivot, and using a show/hide condition to only show the ones that have a value other than 'Dummy'. You could add an If statement in your script to only do this if e.g. Field6 does not exist yet, presumably, preventing the Dummy value from getting in the way of real values.