Table Functions - Qlik - A Quick Overview With Examples
Table Functions - Qlik - A Quick Overview With Examples
Functions
With Examples
Follow
These Table Functions Are Script Functions And Can Not Be Used
! As Chart Functions.
1 Cities
City_ID City
1 USA
2 Germany
3 UK
2 Customers
Customer_ID Customer
1 John
2 Doe
1 NoOfTables()
Returns The Number Of Tables Previously Loaded.
2 TableName(table_Number)
Returns The Name Of The Table With The Specified Number.
! The First Table Has Number 0.
3 TableNumber(table_Name)
Returns The Number Of The Specified Table.
! The First Table Has Number 0.
1 Cities
2 Customers
City_ID City Customer_ID Customer
1 USA 1 John
Tables loaded 2 Germany 2 Doe
earlier 3 UK
4 FieldName (field_Number ,table_Name)
Returns The Name Of A Field In A Table You Loaded Before.
Cities
Table loaded City_ID City
earlier 1 USA
2 Germany
3 UK
6 NoOfFields(table_name)
Returns The Number Of Fields In A Previously Loaded Table.
7 NoOfRows(table_name)
Returns The Number Of Rows (Records) In A Previously Loaded Table.
Cities
Table loaded City_ID City
earlier 1 USA
2 Germany
3 UK
Special Variables : $Table, $Field and $Fields
You Can Also Use The Following Special Variables Within A
Frontend Table As Dimensions To Represent Tables And
Fields That Were Previously Loaded:
• $Table
• $Fields
• $Field
1 Cities
2 Customers
City_ID City Customer_ID Customer
1 USA 1 John
Tables loaded 2 Germany 2 Doe
earlier 3 UK
• Feel Free To Use The Script Provided In
The Comment Section.
Follow
@Abdulhasib_Masri