Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have an Excel data source that looks like follows:
Country | 2007-00-00-00 | 2008-00-00-00 | 2009-00-00-00 |
Bahrain | 8.3% | 6.2% | 2.5% |
Egypt, Arab Rep. | 7.1% | 7.2% | 4.7% |
I need to create a column called 'Year' so that I can use this field as a filter and dimension.
I would like my table to be loaded in as follows:
Country | Year | % |
Bahrain | 2007 | 8.3% |
Bahrain | 2008 | 6.2% |
Bahrain | 2009 | 2.5% |
Egypt, Arab Rep. | 2007 | 7.1% |
Egypt, Arab Rep. | 2008 | 7.2% |
Egypt, Arab Rep. | 2009 | 4.7% |
Without changing the data source, is there a way to achieve this in the load script?
Many thanks
Melissa
When you load table in script editor then in File wizard you will find Crosstable option. Using Crosstable you can bring year into one column.
When you load table in script editor then in File wizard you will find Crosstable option. Using Crosstable you can bring year into one column.
Please find a samle app attached.
That's brilliant, thanks QlikRajan!