Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering QlikView
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering QlikView

Mastering QlikView

By : Stephen Redmond
4.5 (10)
close
close
Mastering QlikView

Mastering QlikView

4.5 (10)
By: Stephen Redmond

Overview of this book

If you are a business application developer or a system analyst who has learned QlikView and Qlik Sense and now want to take your learning to a higher level, then this book is for you. It is assumed that you are aware of the fundamentals of QlikView and have working knowledge of development and in-memory analytics.
Table of Contents (9 chapters)
close
close
8
Index

Counting records

There are two main functions used to count records during load: RecNo() and RowNo(). After the data has been loaded, we can use another couple of interesting functions: FieldValueCount() and NoOfRows(). There is also a useful function, NoOfFields(), that tells us how many columns there are in a table.

RecNo

The RecNo() function gives us the number of the rows in the source table. While the output of the RecNo function will always be guaranteed to be ordered, there might be gaps in the sequence because rows may be excluded due to a where clause, for example, this load statement:

Table1:
Load *, RecNo() As RecNo1
Where Field1<>'C';
Load * Inline [
Field1
A
B
C
D
];

Only three rows will be loaded from the source because the row with C as a value is excluded by the Where clause. This results in this table:

Field1

RecNo1

A

1

B

2

D

4

The value 3 is missing in the sequence as the third row was not loaded.

It should also be noted that an additional load from a new source, even...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY