Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
prees959
Creator II
Creator II

Loading a Dynamic Excel File

Hi,

I need to load a table from excel where the column headings are dates, but the each month the dates roll along...

          

Unit SavingsOct-17Nov-17Dec-17Jan-18Feb-18Mar-18Apr-18May-18Jun-18Jul-18Aug-18Sep-18
Finance87%87%86.60%86.90%87.20%87.20%86.60%86.90%86.70%86.10%85.40%71.40%
Production91%92%91.4%91.20%91.30%91.30%91.40%91.30%90.70%89.70%89.20%88.50%
Personnel89%89%88.6%89.30%89.80%89.70%90.20%90.10%89.10%88.80%88.10%87.10%
Estates94%94%92.80%93.40%92.40%90.80%90.80%91.20%91.10%91.00%91.30%90.60%
Directors82%83%82.6%82.80%83.20%83.30%83.10%82.90%82.60%81.80%81.90%82.30%

Manufacturing

80%80%81.0%81.30%82.50%81.70%81.30%80.70%80.60%79.00%79.10%78.80%

So the next Month I will have the same dataset with the following headings :

Unit SavingsNov-17Dec-17Jan-18Feb-18Mar-18Apr-18May-18Jun-18Jul-18Aug-18Sep-18Oct-18

What would be the correct way to load this data and set the fieldnames to the corresponding column header?

something like

Load

         'Unit Savings'

         ColumnB as 'ColumnB Value',

         ColumnC as 'ColumnC Value',

          ColumnD as 'ColumnD Value'

etc etc

Thanks for any advice

Phil

1 Reply
Gysbert_Wassenaar

Use the CrossTable function:

CrossTable(Month, Value)

LOAD * FROM ....


talk is cheap, supply exceeds demand