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: 
Not applicable

xls file with multiple header row

Hello all,

I need your help to solve my issue. I have a excel file with a multiple header row like this :header.png

so what i would doing is : when i went to loaded this excel file, and add may be some script to define that the first header week it contains the second header so the values 27, and 28. and the third header contains d1, d2, d3, d4 and d5 for the value 27.

i need to have something like this : when i click on week, it appears 27 and 28 and when i click on 27 i can see the days for the week number 27 ( d1,d2, d3,...).

Thank you !

Bonjour à tous,

J'ai besoin de votre aide pour résoudre mon problème. J'ai un fichier excel qui contient plusieurs entêtes, et ce que je voudrais faire c'est d'indiquer peut être à l'aide d'un script que l’entête week contient l’entête 27 et 28 qui correspond au numéro de week, et les numéros de week contiennent les jours. Plus précisément je voudrais quand je clique sur week, ça m'affiche  27 et 28 et quand je choisi une valeur entre les 2, ça m'affiche d1, d2,d3,d4,d5 dans le cas de week 27, et d6, d7,d8,... dans le cas de 28.


Merci de m'aider à résoudre mon souci.

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Ok. Try this.

Attached your xlsx file and script.

Xlsx file and qvw file in same folder.

Check the Relative path

View solution in original post

26 Replies
mohamed_ahid
Partner - Specialist
Partner - Specialist

Salut

as tu essayer de penser à pivoter ton tableau ?

de facon a avoir une colonne week qui aura toujours week, une jour qui aura 27 et 28  et une autre jour qui sera de d1 jusqu'a d8 .

en pivotant qlik fera automatiquement le croisement avec les autres colonnes du headers 3  .

Not applicable
Author

si j'ai essayé au moment de chargement de fichier dans assistant de fichier--> Options, de choisir comme préfixe tableau croisé mais j'ai pas réussi à le faire correctement. Vous pouvez m'expliquer comment je peux le faire?

mohamed_ahid
Partner - Specialist
Partner - Specialist

envoyer moi le fichier excel ou sinon un exemple de fichier excel .

settu_periasamy
Master III
Master III

May be the below link will helps

multi_header_pivot_import.qvw

Not applicable
Author

Voici un exemple de fichier excel.

Not applicable
Author

thank you , I will check the link.

Not applicable
Author

pleaaaaase I need your help to solve my problem

settu_periasamy
Master III
Master III

Hi,

Check the Below attachement.. with the help of gwassenaar multi_header_pivot_import.qvw

You can create the chart however you want..

Capture.JPG

settu_periasamy
Master III
Master III

Hi,

May be like this?

Capture.JPG