Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Transpose

Hi All,

I need to transpose the Metric field  values to column vise any suggestion.

Labels (1)
1 Solution

Accepted Solutions
avinashelite
MVP
MVP

Please find the attachment for the same

View solution in original post

6 Replies
sunny_talwar
MVP
MVP

Transpose them on the front end or the script?

sunny_talwar
MVP
MVP

For front end option, you can do like this:

  • Create a straight table
  • Add Metric Name, Project ID, Project Name, Updated On, Value Before Update as Dimensions
  • Create 1 as expression
  • On Presentation tab Hide 1 as expression and select Horizontal check box (attaching a screenshot for this one)

Capture.PNG

Output:

Capture.PNG

HTH

Best,

Sunny

Not applicable
Author

Thankyou,

It need to be hardcoded in script Level.

Expected result is

Capture.PNG

avinashelite
MVP
MVP

Please find the attachment for the same

petter
Partner - Champion III
Partner - Champion III

If you are looking for a solution where you transpose (un-pivot) the table in the load script then this could be a solution for you:

2015-07-14 #1.PNG

I had to make your XLSX-sample conformant with your expected results so I attached a new XLSX-file too...

Not applicable
Author

Hi Petter,

if i have multiple entries for same metric for same project the logic used is not working for straight table. am looking for result in straight table.1.PNG