Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Prabhu1204
Creator
Creator

Load data from Dynamic Path

Hello,

Happy New year !!

Please let me know if the below things is possible and how in Qliksense.

I have the below excel for fetching data from different path. Each country have around 10 excel files.

Prabhu1204_0-1609751682970.png

How to dynamically changes the path and fetch the files.

 

-Prabhu
1 Solution

Accepted Solutions
Anil_Babu_Samineni

Try like this..

Table:
Load Country, Path From Table;

LET a = NoOfRows('Table');

For i=0 to $(a)

Let vPath = Peek('Path', $(i), 'Table');
Load * From $(vPath) (ooxml, embedded labels, table is ALL);
Next i;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

5 Replies
Anil_Babu_Samineni

But I am not finding any excel path in second column?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Prabhu1204
Creator
Creator
Author

@Anil_Babu_Samineni 

Basically the excel will be from share point.. and i was given an example one

Prabhu1204_0-1609752781450.png

Is It possible

-Prabhu
Anil_Babu_Samineni

You meant to say the path for each country is sharepoint? 

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Prabhu1204
Creator
Creator
Author

Exaclty

-Prabhu
Anil_Babu_Samineni

Try like this..

Table:
Load Country, Path From Table;

LET a = NoOfRows('Table');

For i=0 to $(a)

Let vPath = Peek('Path', $(i), 'Table');
Load * From $(vPath) (ooxml, embedded labels, table is ALL);
Next i;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful