LogoLogo
Version 1.56
Version 1.56
  • nedyx
  • Welcome to nedyx
  • ๐Ÿš€Getting started
    • Preparation
    • Basic widget formatting
    • The first formula
    • More formulas
    • Combine several tables
    • Add a new page
    • Widget references across pages
    • Add a chart widget
    • Further adjustments
  • ๐Ÿ–Š๏ธWorking with nedyx
    • Apps
    • Live and Edit mode
    • The Header bar
    • Pages
    • Widgets
      • Widget types
      • Adding widgets
      • Widget selection
      • Widget positioning
      • Style tab
      • Settings tab
      • Cell styles
      • Chart content
      • Chart properties
      • Undo / redo
    • Databases
      • Connect to a database
      • Get external data
    • File management
  • ๐Ÿ“–ClearLines Functions
    • General Aspects
      • Formula structure
      • The formula editor
      • Actions
      • Calculated widget properties
        • Content
        • Chart labels
        • Column widths and Row heights
        • Connection
        • Editable
        • MinY and MaxY
        • Style
        • Tooltips
        • Visible
      • Ranges
      • Widget references
      • Widget cell references
      • Menu widget synchronization
    • Action functions
      • ACTIONCOLUMN
      • ACTIONCONTENT
      • ACTIONROW
      • CLICK
    • Database functions
      • CALLURL
      • EXECUTE
      • GETDATA
      • GETDBCOLUMNNAMES
      • GETSTATEMENT
    • Date functions
      • CREATEDATE
      • DATE
      • DATETOTEXT
      • DAY
      • GETTIMEZONEOFFSET
      • HOUR
      • MILLISECOND
      • MINUTE
      • MONTH
      • SECOND
      • TODAY
      • WEEKDAY
      • YEAR
    • Import / export functions
      • DOWNLOAD
      • DELETEFILE
      • DOWNLOADEXCEL
      • DOWNLOADFILE
      • DOWNLOADPDF
      • EXCELCREATE
      • GETFILELIST
      • PDFCREATE
      • POSTMESSAGE
      • SCANCODE
      • SENDEMAIL
      • UPLOAD
      • UPLOADFILE
    • Logical functions
      • AND
      • IF
      • ISEMPTY
      • ISUSERACTION
      • LOOP
      • NOT
      • OR
    • Mathematical functions
      • ABS
      • DECTOHEX
      • EXP
      • LN
      • LOG
      • MAX
      • MIN
      • MOD
      • MROUND
      • NUMBER
      • PI
      • RAND
      • ROUND
      • SQRT
      • SUM
    • Navigation functions
      • CLOSE
      • GETPAGES
      • GETURLPARAM
      • MESSAGE
      • OPEN
      • OPENWEBPAGE
      • PAGE
      • QUESTION
    • Range functions
      • AGGREGATE
      • CELL
      • CELLREF
      • CLEAR
      • COLUMN
      • COLUMNS
      • COMBINE
      • CONVERT
      • COUNT
      • CSVTORANGE
      • CUMULATE
      • DIFF
      • EMPTY
      • FILTER
      • GETTYPE
      • INSERTRANGE
      • INTERSECTION
      • LOOKUP
      • PIVOT
      • RANGE
      • RANGETOCSV
      • RANGETOHIERARCHY
      • RANGETOROW
      • RANGETOJSON
      • JSONTORANGE
      • ROW
      • ROWS
      • ROWTORANGE
      • SEQUENCE
      • SORT
      • TRANSPOSE
      • UNIQUE
      • UNPIVOT
      • VISIBLEHIERARCHY
    • Text functions
      • CHAR
      • CODE
      • CREATEMEMBER
      • FIND
      • HIDDENTEXT
      • HTMLTOJSONTEXT
      • LEFT
      • LEN
      • LOWER
      • MID
      • RIGHT
      • SUBSTITUTE
      • TEXT
      • TRIM
      • UPPER
    • User management functions
      • APPLIST
      • ADDUSER
      • APPSHARELIST
      • REMOVEUSER
      • SHAREAPP
      • UPDATEUSER
      • USERLIST
      • USERNAME
    • Widget functions
      • GETSELECTION
      • LOADWIDGETCONTENT
      • NAME
      • SETSELECTION
      • STOREWIDGETCONTENT
      • UPDATE
  • ๐Ÿ”Security
    • User Management
      • Workspaces
      • Workspace Roles
      • Adding Users to a Workspace
      • App Roles
      • Share an App with Other Users
      • Guest Access
      • Change Password
  • Appendix
    • Keyboard shortcuts
    • Error handling
    • Feature preview
    • Supported browsers
    • System requirements for on-premises installations
Powered by GitBook
On this page
  1. ClearLines Functions
  2. Range functions

UNPIVOT

Converts a column-based range of values to a row-based range of values.

Last updated 6 months ago

Syntax

UNPIVOT(range; headerRange; numRowElements)

  1. range - the range whose content should be converted from a pivot structure into a row-based structure - Value type: a range of any data

  2. headerRange - a range containing the column attributes of the pivot range - Value type: a range of any data

  3. numRowElements - specifies how many starting columns from range should be used for the rows of the result range - Value type: integer (optional, default value: 1)

Remark

  • The function converts the pivot structure of range into a row-based structure, with the help of the attribute names of headerRange.

Examples

Example 1 - UNPIVOT with one attribute row and one attribute column (in the #header widget). The cell โ€œCountryโ€ in the header is ignored, because it is assigned to the row attribute.

Example 2 - UNPIVOT with two row attributes.

๐Ÿ“–