Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to get the Fieldname?

I want to get the Fieldname from document as values into a field.

For example, when I load data from an Excel file, it can load all field's name as a new field from this .xls file as well.

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hello,

You can create a new listbox with $Field as field. It's a system field and it's available in any document with some tables loaded.

Hope this helps.

View solution in original post

4 Replies
Miguel_Angel_Baeyens

Hello,

You can create a new listbox with $Field as field. It's a system field and it's available in any document with some tables loaded.

Hope this helps.

tresesco
MVP
MVP

Hi,

For this you have to create an ODBC/OLEDB connection. and then you can use command -"SQLColumns" to get the names of the fileds under the field COLUMN_NAME. for detail understanding you can refer to the following link : http://community.qlik.com/blogs/qlikviewblogs/archive/2008/09/29/loading-multiple-excel-sheets.aspx

regards, tresesco

guytzumer
Partner - Contributor III
Partner - Contributor III

Or jest use the crosstable function ... Depends what you need

Anonymous
Not applicable
Author

Thank you everybody, using $Field is just OK for me.