Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Limit dimension values inside Load script using Inline Table

Hi,

I am trying to create an inline table (TESTTABLE) that will have select sales order values from table Delivery, field VGBEL. The table will also have a new field column named exclusion. I am trying to do this inside the load script, but whenever I reload the script and create the inline table, I end up with all 8,000 sales orders rather than the select few that I wanted. The other issue is that the sales orders inside my new table are not connecting to field VGBEL inside the delivery table.

Dimension:VGBEL

Table: Delivery

Below is my code

UNQUALIFY*;

TESTTABLE:

LOAD * INLINE [

     VGBEL,Exclusion

     801543678, X

     801564593, X

    

     ];

QUALIFY*;

11 Replies
vinieme12
Champion III
Champion III

This way you are only limiting rows shown in that particular tablebox not your QVW!

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
rahulpawarb
Specialist III
Specialist III

Hello Omar,

Thank you for considering my suggestion.

If you want to use JOIN or KEEP to get only two records from TESTTABLE table then you have to have INNER JOIN/RIGHT JOIN/INNER KEEP/RIGHT KEEP options by selecting TESTTABLE table in right side (for RIGHT KEEP/RIGHT JOIN). This will lead to filtration of records in the Delivery table. In this case Delivery table will only contain 2 records which are there in TESTTABLE table. Other records won't be available in Qlik. If this doesn't impact on your solution then go ahead and implement the JOIN/KEEP else go ahead natural JOIN option (stated in my prior comments).


Hope this makes sense.


Regards!

Rahul