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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Adding fields to Table box control dynamically

Hello ,

I'm new to QlikView and need a help to add columns dynamically to Table Box Control. 

Below is the dataset : I need to show member and their participation sport. Say, Member M1 is participating in swimming and Skating and M2 in skating and Diving.

     

MemberSwimmingSkatingDiving
M1110
M2011
M3001

I have created stored procedure in sql server and calling in QV report. I am using a Table Box control to show above columns .

I need to accomplish the task that if a user add a new sport (say, Fencing) , a new column automatically gets added to QV report.

I am able to get the updated data set with new sport

 

   

MemberSwimmingSkatingDivingFencing
M11100
M20110
M30010

 

Could any one help me on this?

Thanks in advance!! will appreciate it

1 Reply
swuehl
MVP
MVP

Try to convert your table from a crosstable to a straight table using the CROSSTABLE LOAD prefix when loading your data:

The Crosstable Load

This will transform your sport categories into a single field which you can use as dimension in a pivot table, thus automatically adding new values (sport categories) when available.