Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to count bits or bytes of source text file characters

Hi friends can anyone help on How to validate Errors in QlikView My case we will get .txt file as source while loading we need to validate the bit count for each row.

Eg:Our case we get Source .txt file without any comma or column name based on standard mapping doucument need to find column dimensions and measures.

  1. 00102014060102050002100B10500171200000è38 bits

001-Office(3 bits),

0201406-Period(7 bits)

01020500021-Ship Id(11 bits)

00B105-Code(6 bits)

001-Currency(3 bits)

71200000-Amount(8 bits)

My main Requirement solution I need is always to check record bits size whether it is same or else corrupted with spaces or special characters

  Is it possible to validate null or blank spaces in key columns


13 Replies
saumyashah90
Specialist
Specialist

To count no. of rows add one more column RecNo()

like

load * ,

RowNo() as Rows from XYZ;

Max(Rows) will show you total number of rows

saumyashah90
Specialist
Specialist

This may help you

Anonymous
Not applicable
Author

Thanx for solution but neet to know bits for attached code as based on Bits precession Facts or Dimensions names are given.

Anonymous
Not applicable
Author

please can any one  help on this Issue attached Qvw.