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

block input

Hi

I am having some issues with the dataflow while i am practising the tutorial

In the president.data, i blocked the input fields: lnam and fname,

but i got error messages.

I aslo found out the i have to change the schema name for the output file with delimited schema from upstream output

I know that the purpose of expressor is to re-use the qlikview information, but all these can be done with in qlikview, I wonder what can't be done in qlikview and expressor can do?

Thanks!

1 Solution

Accepted Solutions
Not applicable

Yes, if you use the same schema for the Write File operator asthe Read File operator, you will not be able to block lname and fname.

You must create a new schema for the Write File operator.

First complete the coding in the Transform operator.  Then on the Write File properties window, click the Action button next to the schema drop down control and select New Delimited Schema from Upstream Output.  This will allow you to create a schema that matches the output of the Transform operator.

View solution in original post

6 Replies
Not applicable

Yes, if you use the same schema for the Write File operator asthe Read File operator, you will not be able to block lname and fname.

You must create a new schema for the Write File operator.

First complete the coding in the Transform operator.  Then on the Write File properties window, click the Action button next to the schema drop down control and select New Delimited Schema from Upstream Output.  This will allow you to create a schema that matches the output of the Transform operator.

alexpanjhc
Specialist
Specialist
Author

if i do not use the block input, this is fine and this worked, but if i used block input, it is not working.

Michael_Tarallo
Employee
Employee

Hello alexpanjhc

This occurs because the output schema - must match the up stream attributes that are coming from the transform operator. If you block attributes in a Transform Operator - and attempt to use the same schema as you defined in the Input - these errors will occur because that schema is referencing attributes that are no longer in the stream.

Please take a look at the following article(s) and video(s) that can clarify your error and other questions:

http://community.qlik.com/message/259203#259203

http://community.qlik.com/docs/DOC-3382

Regards,

Michael T

Regards,
Mike Tarallo
Qlik
Michael_Tarallo
Employee
Employee

Hello alexpanjhc

Please see my response below.

Mike

Regards,
Mike Tarallo
Qlik
alexpanjhc
Specialist
Specialist
Author

OK

I see that I need to create another new schema if i use block input. Thanks

Michael_Tarallo
Employee
Employee

Input Schemas and Output Schemas usually are different. Refer to this video and document to see how it is used in action. http://community.qlik.com/docs/DOC-3382

Reusability comes into play when you are creating multiple projects with similar data. You can store a Schema or a Semantic type in the project or library or repository and reference later for other projects.

Hope this helps

Mike

Regards,
Mike Tarallo
Qlik