Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
dirk_fischer
Creator II
Creator II

How to limit the number of loaded rows in a straight table

Hi Experts,

this is probably a pure newbie question, but still I need to ask it anyway.

I have to do an application for investigating serial numbers, which are by nature distinct values. The amount of serial numbers is in the range of 250 million up to 1 billion and they are normally alphanumeric values. For investigating, a straight table (only dimensions) is more than sufficient for doing the investigation, but the amount of data creates the problem.

If I load the data, the application is in the range of 30 to 80 GB in the memory and the rendering of the table takes verylong. Filtering with the search field just doesn't work, because if finally get your results, the system will not mark them but do very strange things.

Since I learned, that the renderig is done on client computer, I want to try to limit the number of rows loaded into my table object to 50'0000. I thought I could try this with a parameter of maxrows or limiting the dimension of my table, But the property for limiting the dimensions is locked, so I can't use it.

Is this property locked, because I don't have a KPI in my table or am I doing something wrong?

I have seen some discussion, where a setting of default filtering criteria is suggested, but I would prefer if simply limiting the number of loaded datasets was possible.

If somebody has a suggestion how to solve this problem, I would appreciate it very much.

Thank you very much for your help.

Best regards

Dirk

12 Replies
stantrolav
Partner - Creator II
Partner - Creator II

Try something like this:

if(Rank(ITEM_NUMBER) > 100, ITEM_NUMBER)

Use this function in calculations. See how Rank() works.

If you are developing your App and you need some data to your tables from big DataWarehouse try loading with this script

Sample 0.1 Load

Sample prefix load percentage of data from Source. 0.1 means 10% of records. They would be not FIRST, They'll be Random.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Dirk,

I meant using the Calculation Condition (as shown in the picture), not the Dimension Limitation.  See attached app for a working example.

You probably can't do a filter search from 250M values.  I suggest using some other fields to do the filtering.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

2017-04-28_11-34-28.png

2017-04-28_11-38-39.png

dirk_fischer
Creator II
Creator II
Author

Hi Rob,

thank's a lot for your great example. The trick with creating intervals to reduce the number of datasets to a manageable number is just awesome.

That's exactly what I was looking for.

Thank you very much and best regards

Dirk