Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
elakkians
Partner - Contributor III
Partner - Contributor III

Reduce and Distribute to different folder

Hi ,

I need to reduce a single application into 3 applications and distribute to 3 folders .

for eg:

i have a application contains data's of 3 country's (INDIA, US , CANADA) . now i need to distribute each country's data into 3 folders. so that the application will have the same name but 3 different data.

could any one help me out with this requirement .

1 Solution

Accepted Solutions
elakkians
Partner - Contributor III
Partner - Contributor III
Author

here is a way to get this working by using only one Task.

- Manage the Foldernames as a DocumentField in the Data Model

- Reduce by Field Foldername with a Publisher Task. Reduced Document Name is something like :

%DocumentField,Foldername%\%SourceDocumentName% %DocumentField,Foldername%

- Distribute PDF or qvw  to a Folder that contains all Foldernames of the DocumentField as subfolders

That is all.

View solution in original post

7 Replies
PrashantSangle

Hi,

you can reduce it in where clause

try like

India:

Load *

from TableName

where Country='India';

Store India into ../India/app.qvd;

Drop table India;

US:

Load *

from TableName

where Country='US';

Store India into ../US/app.qvd;

Drop table US;

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
elakkians
Partner - Contributor III
Partner - Contributor III
Author

i am not looking to store the data i am using publisher to distribute the application .

elakkians
Partner - Contributor III
Partner - Contributor III
Author

this video shows how to distribute to the same folder with different names .

my requirement is to distribute to different folders but same name .

Bill_Britt
Former Employee
Former Employee

HI,

You can do this with publisher, but it will require three task to do it. Each task would do the distribution to a different folder

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Anonymous
Not applicable

HI,

Maybe Create the new fields(for each value of country) on the data model ,

Next create different tasks in QMC to distribute the files into different folders.

Regards

Neetha

elakkians
Partner - Contributor III
Partner - Contributor III
Author

here is a way to get this working by using only one Task.

- Manage the Foldernames as a DocumentField in the Data Model

- Reduce by Field Foldername with a Publisher Task. Reduced Document Name is something like :

%DocumentField,Foldername%\%SourceDocumentName% %DocumentField,Foldername%

- Distribute PDF or qvw  to a Folder that contains all Foldernames of the DocumentField as subfolders

That is all.